Giter VIP home page Giter VIP logo

b3-plugin-callvote's Introduction

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

b3-plugin-callvote's People

Watchers

James Cloos avatar Frank Harris avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.