Giter VIP home page Giter VIP logo

codvote-b3-plugin's Introduction

# Codvote-B3-plugin
Vote plugin for Call of Duty Servers

Note: Requires B3 v1.10.x

Usage:
!vote map <map name> - will immediately change map to <map name>
!vote nextmap <map name> - will change the next map in rotation to <map name> 
!vote kick <player> - kick <player> from server (admins cannot be kicked by vote)
!vote maprestart - clear all scores and reset time on map
!vote maprotate - cycle to next map on rotation
!vote killcam <on/off> - turn killcam on or off (can also use 1 or 0)
!vote timelimit <number> - change length of time until map ends to <number>
!vote scorelimit <number> - Change score needed for victory to <number>
!vote roundlength <number> - Change length of rounds to <number> in ctf and sd modes
!vote roundlimit <number> - change amount of rounds game will go on for in ctf and sd modes to <number>
!vote maps - Show the maps that can be voted on.
!veto - Cancels the vote in progress


Plugin behavior:
- A vote will remain active for "votetime" specified in config. The vote will fail if not enough players vote within that time.
  An extra 5 seconds for players to read what they are voting for will be added.

- Only players that were in the server at the time the vote was called will be able to vote.
   If anyone enters the server after vote is initiated will not be allowed to vote.

- Admin at level 20 and up will not be affected by a kick vote. The plugin will refuse to initiate the vote against an admin.

- There must be more than 1 players in game for vote to work. Unless vote is called by superadmin.


Installation:
1) Place "codvote.py" in "b3/extplugins" folder
2) Place "codvote.ini" in "b3/extplugins/conf" folder
3) If you are using b3.ini for config add this to plugin section:
    codvote: @b3/extplugins/conf/codvote.ini
   
   If you are using b3.xml for config, add this to plugin section:
    <plugin config="@b3/extplugins/conf/codvote.ini" name="codvote" />

4) Restart B3  
  

codvote-b3-plugin's People

Contributors

ph03n1x9000 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

vstol zwambro

codvote-b3-plugin's Issues

Vote already in progress, but it's not...

I have this plugin setup and running on my Big Brother Bot version 1.10.8 in combination with COD4, but it keeps telling me 'Vote already in progress' while there really isn't... I can't seem to figure out why it thinks that there's already a vote in progress. What am I doing wrong?

Here is my logfile with the loglevel set to 8 after a fresh restart of B3: http://pastebin.com/rC8QuwJD

Many thanks!

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.