RealVotes
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 ?
-
View User Profile
-
Send Message
Posted Oct 26, 2015This obviously don't have support for the Scandinavian letters.. (Norwegian in this case ÆØÅ):
https://gyazo.com/d2b5043835dd9c8b2a4964b497fe8003
-
View User Profile
-
Send Message
Posted Jun 19, 2014If this ever updates, remove the op vote. Not trying to be rude, but that is a horrible idea. OP on my server overrides literally every permission node... no player should be able to get that
-
View User Profile
-
Send Message
Posted Jun 13, 2013works in 1.3.9 and 1.3.12 Bigdig (1.5.2 minecraft)
-
View User Profile
-
Send Message
Posted Jun 12, 2013Please update! I so much love plugins when you can create own commands in it. Basicly this plugin can replace all vote plugins. Can you update it and create auto config,message file
-
View User Profile
-
Send Message
Posted Jan 29, 2013Is there a way to configure the plugin so that it can operate with an economy plugin? For example, if my players wanted to vote for sun, they would have to pay $500. So what I'm asking for is economy support with configurable prices. Thanks
-
View User Profile
-
Send Message
Posted Jan 9, 2013Please add a permission node so a certain rank cant be voted agains for something like bans?
-
View User Profile
-
Send Message
Posted Nov 18, 2012Can you add an option to set a break time between votes? I mean that players can't start another vote if time won't pass.
-
View User Profile
-
Send Message
Posted Nov 15, 2012@briankdk
you have to set permission called: "vote.votename" eg. "vote.ban", "vote.day"
-
View User Profile
-
Send Message
Posted Nov 15, 2012i dont get it... what is the permission for being able to start a vore ?
vote.votename : replace votename with vote id as defined into the configuration file
Right now use "- vote.votename" an thats not working :-(
-
View User Profile
-
Send Message
Posted Nov 12, 2012Hi there, first of all thank you for your plugin, but why does a vote called vote show up, if i execute the /vote command?
Here my config:
Greetings, snitride
-
View User Profile
-
Send Message
Posted Nov 2, 2012does it work for 1.4.2 ?
-
View User Profile
-
Send Message
Posted Oct 9, 2012@ryvix
This will be fixed on next release (coming soon, waiting for bukkit team approval).
-
View User Profile
-
Send Message
Posted Oct 8, 2012Hey, i have a little Problem with the configuration. I use Commandbook on my server, the cmd i use, when i want to change the time is: /time day. I only have 1 world, named "world". But i also have a Nether and End folder. Could anyone be so kind an post his config file, for the usw with Commandbook cmd`s. Currently ia testing with this Config:
command=/time $world day
sry for my bad english ;(
Tagman
-
View User Profile
-
Send Message
Posted Aug 19, 2012@tinezr
I believe that error just happens if you use /yes or /no when there is no vote in progress.
-
View User Profile
-
Send Message
Posted Aug 18, 2012Also can you add in the reminder the parameter which has been added to the vote? (ex: /vote ban player, "player" won't be in the reminder, just ban.
-
View User Profile
-
Send Message
Posted Aug 16, 2012@MYCRAFTisbest
The perms are listed above. It depends what permission plugin you are using. Make your perm vote.votename where votename is the name of your vote in your config file.
-
View User Profile
-
Send Message
Posted Jul 20, 2012I cant figure out where to set the permisions. I am using it on a tekkit/buckit server and only admins can start the votes. What am i doing wrong? can someone add the premade perm file?
-
View User Profile
-
Send Message
Posted Jul 7, 2012@dropposite
Are you sure its the exact same error? That error looks to be coming from when someone types /yes or /no when there is no vote in progress.
-
View User Profile
-
Send Message
Posted Jul 6, 2012@Jason733ii get the same error.
rebooting used to fix it. now rebooting does nothing, plugin continues to crash.
this totally sucks.....how could a plugin just fail like that when it ran fine this whole time and nothing has changed....
its the default config file and default voting options....
-
View User Profile
-
Send Message
Posted Jul 5, 2012Any exempt permission nodes?
vote.exempt - can't be effected by the vote plugin.