Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

danielepantaleone/b3-plugin-callvote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Callvote Plugin for BigBrotherBot BigBrotherBot

Description

A BigBrotherBot plugin which provides advanced features related to the Urban Terror 4.2 callvotes. With this plugin is possible to specify which B3 group has access to specific callvotes. Moreover there is the possibility to specify a special maps list so that only a certain group of users can issue callvote for map/nextmap if the level is in the special maps list. Since there is a bit of delay between a /callvote command being issued on the server and the b3 generating the corresponding event, is not possible to handle everything. As an example think about this situation:

Bob  - Team Red
Tom  - Team Spectator
Lisa - Team Spectator

If Bob issue a /callvote command, the callvote will end as soon as the countdown starts since he's the only active player. Because of this we will perform checks on a callvote being issued on the server just if there is more than 1 player being able to vote.


NOTE: since B3 v1.10.1 beta this plugin has been included in the standard plugins set, thus all patches and updates will be performed in the official B3 repository.


Download

Latest version available here.

Installation

  • copy the callvote.py file into b3/extplugins

  • copy the plugin_callvote.ini file in b3/extplugins/conf

  • add to the plugins section of your b3.xml config file:

    <plugin name="callvote" config="@b3/extplugins/conf/plugin_callvote.ini" />

Requirements

  • Urban Terror 4.2 server [g_modversion >= 4.2.015]
  • B3 [version >= 1.10dev]

In-game user guide

  • !lastvote - display the last callvote issued on the server
  • !veto - cancel the current callvote

Support

If you have found a bug or have a suggestion for this plugin, please report it on the B3 forums.

Build Status

About

A BigBrotherBot plugin which provides advanced features related to the Urban Terror 4.2 callvotes.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages