promotional bannermobile promotional banner

RealVotes

Fully featured voting system : vote for commands

RealVotes

Voting system that allow users to execute commands using simple votes.
Server admin can configure votes for any command that can be typed in server console !

Sample votes :

  • /vote sun to vote for sun
  • /vote day to vote for day
  • /vote ban player to vote for ban of a player when moderators are away
  • /vote op to vote for the asking player to become op
  • /vote anything : server admin can configure any wanted vote

Installation

  • Download the RealVotes.jar file
  • Create your plugins/RealVotes/config.txt file
  • If you want to translate or customize your messages, create your plugins/RealVotes/messages.txt file

Permissions

generic permissions

  • vote.list : can /vote (without args, for listing)
  • vote.yes : player can /yes
  • vote.no : player can /no
  • vote.reload : player can /votereload your customized permissions :
  • vote.votename : replace votename with vote id as defined into the configuration file

Configuration file

You MUST create this file in plugins/RealVotes/config.txt

day/night/sun votes of this default configuration files need Essentials to be installed !

Sample file :

time=15
reminders=2
ban:
  command=/ban $1
  answer=3
  answer=51%
  yes=3
  yes=80%
  time=30
  reminders=5
day:
  command=/time day $world
  answer=1%
  yes=100%
night:
  command=/time night $world
  answer=33%
  yes=100%
op:
  command=/op $player
  answer=10
  answer=100%
  yes=100%
sun:
  command=/weather $world sun
  answer=1%
  yes=100%

What does this example configuration ?

  • day : Vote for day in current world
    Vote is valid if at least 1% of players answer to the vote and 100% of voting players vote "yes".
    Result is that if 1 player says "no", then the day will not come.
    Default time players have to give their answer is 15 seconds, and 2 reminders will be displayed during the vote.
  • sun : Vote for sun in current world
    Same as for day.
  • night : Vote for night in current world
    Vote is valid if at least 33% of players answer to the vote and 100% of voting players vote "yes".
  • ban : Vote for banning a player
    First voter must use this command like this : /vote ban player.
    Vote is valid if at least 3 players answer to the vote AND at least 51% of players answer AND at least 3 players vote "yes" AND at least 80% vote "yes".
    Time players have to give their answer is 30 seconds, and 5 reminders will be displayed during the vote.
  • op : Vote for a player becomming admin of the server
    Vote is valid if at least 10 players answer to the vote AND 100% of the connected players answer yes.

Messages file

You may create this file in plugins/RealVotes/messages.txt

Sample file (french translation) :

+player votes for +vote: +remain seconds left=+player vote pour +vote: +remain secondes pour voter
Only players can vote=Seuls les joueurs peuvent voter
Unknown vote +vote=Vote inconnu +vote
Vote for +vote: +remain seconds left=Vote pour +vote: +remain secondes pour voter
Vote for +vote had no enough answers: only +count / +total=Vote pour +vote n'a pas assez de réponses: +count / +total
Vote for +vote had no enough yes: only +count / +total=Vote pour +vote n'a pas assez de votes pour: +count / +total
Vote for +vote in progress. You can't start another vote=Vote +vote en cours. Impossible de démarrer un autre vote
Vote for +vote result is yes=Vote pour +vote accepté
You can vote for +votes=Vous pouvez voter pour +votes
You can vote with /yes or /no=Vous pouvez voter avec /yes ou /no
You have nothing to vote for=Aucun vote en cours
You vote no for +vote=Vous votez non pour +vote
You vote yes for +vote=Vous votez oui pour +vote

What is missing (TODO)

  • capability to configure multi-worlds votes (all are currently for player's current world only, even if effect is multi-worlds !)
  • conditions for accepting a vote : no players on a worlds list, no players on a WorldGuard regions list. This to avoid setting day if you have DreamLands installed for example, or players on a roleplay region of your world where you don't allow votes to work, and you don't want the day to come out at the wrong time.
  • anything else ?

The RealVotes Team

profile avatar
  • 12
    Projects
  • 172.5K
    Downloads

More from _ForgeUser6853397View all

  • RealPlugin project image

    RealPlugin

    • 36.7K
    • Bukkit Plugins

    RealPlugin

    • 36.7K
    • July 25, 2013
    • Bukkit Plugins
  • RealStats project image

    RealStats

    • 4.6K
    • Bukkit Plugins

    RealStats

    • 4.6K
    • November 3, 2012
    • Bukkit Plugins
    • +1
  • RealAdminTools project image

    RealAdminTools

    • 7.8K
    • Bukkit Plugins

    list and remove entities - edit server.properties in-game

    • 7.8K
    • November 3, 2012
    • Bukkit Plugins
    • +1
  • RealZone project image

    RealZone

    • 1.2K
    • Bukkit Plugins

    RealZone

    • 1.2K
    • October 22, 2012
    • Bukkit Plugins
    • +2
  • RealPlugin project image

    RealPlugin

    • 36.7K
    • Bukkit Plugins

    RealPlugin

    • 36.7K
    • July 25, 2013
    • Bukkit Plugins
  • RealStats project image

    RealStats

    • 4.6K
    • Bukkit Plugins

    RealStats

    • 4.6K
    • November 3, 2012
    • Bukkit Plugins
    • +1
  • RealAdminTools project image

    RealAdminTools

    • 7.8K
    • Bukkit Plugins

    list and remove entities - edit server.properties in-game

    • 7.8K
    • November 3, 2012
    • Bukkit Plugins
    • +1
  • RealZone project image

    RealZone

    • 1.2K
    • Bukkit Plugins

    RealZone

    • 1.2K
    • October 22, 2012
    • Bukkit Plugins
    • +2