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 Apr 25, 2012@ryvix
Thanks for your support.
-
View User Profile
-
Send Message
Posted Apr 25, 2012@AcidicTaco
For multiple commands, I suggest you tu use sk89q's CommandBook, which is a very powerfull commands scripting plugin !
I will not support multiple commands as this does all the job.
-
View User Profile
-
Send Message
Posted Apr 24, 2012Please add permissions!
-
View User Profile
-
Send Message
Posted Apr 21, 2012Hi there,
I have done some testing and people have been using it on my server. They really like it.
I think the idea to have it list descriptions is a good idea too so people can know how to properly use the vote, like when they have to enter the player name as a param or something. Sort of like MajorityVote had descriptions. Probably would be pretty easy to add too.
I don't know how easy it would be to have multiple commands but it might be useful too.
I also just thought, what if there was a way to do sort of what Democracy does, make proposals which are votes not hooked to commands necessarily and save the results so people with a permission node to view them can view them and potentially enact on them.
Also I thought maybe another good idea would to be able to stop votes in progress from finishing. So people with a certain permission node could use a /votestop command to end the vote in progress and do nothing.
The colors seem to work ok for me. But the global vote, it shows up in the list when you do /vote to list the votes and people are able to vote on it.
Thanks =)
-
View User Profile
-
Send Message
Posted Apr 21, 2012http://dev.bukkit.org/server-mods/realvotes/?comment=6 that and
Add a Description for vote options so that when a player types /vote it sees an actual description for every votable thing.
-
View User Profile
-
Send Message
Posted Apr 20, 2012I'd suggest, making votes capable of entering multiple commands in an order. There would also be a configurable delay between each command being executed, in seconds.
-
View User Profile
-
Send Message
Posted Apr 20, 2012@tickleman1
Donation sent =)
Thanks for your hard work!
Thank you for the info as well!
-
View User Profile
-
Send Message
Posted Apr 20, 2012you should have a default config with some explaining in it have automatically generated at first run
-
View User Profile
-
Send Message
Posted Apr 19, 2012@ryvix
If you really want to donate, you can support my own server giving anything you want following this paypal link. I will really appreciate it : https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=67ZTQBCV5VGES
-
View User Profile
-
Send Message
Posted Apr 19, 2012@ryvix
-
View User Profile
-
Send Message
Posted Apr 8, 2012I typed my previous comment before the download was available but edited it with some updates after I first installed it. Then I tested the plugin for a bit and here are some thoughts so far.
This seems very versatile and clever. I appreciate it a lot. I like how you can set the params for each vote so finely and I really like the translation feature too. Will there be a way to donate?
-
View User Profile
-
Send Message
Posted Apr 7, 2012Awesome! Thank you!!!
This is something I have been missing for awhile now. I was just attempting to update the MajorityVote plugin for my server but I haven't made any plugins before so it's not so easy at all since it needs a complete overhaul. I luckily just found this one after searching for awhile and it looks very promising and I can't wait to test it out. I would gladly donate when I can if this works for me properly. Thank you =)
I just have a couple thoughts I may as well send your way. First, I was wondering if there is plans to support CommandBook as well since that is a fairly popular plugin too. Or maybe some other dynamic way to assign variable values or some such thing. Just curious is all, since I only have one world so far plus its nether and the end which I don't think changing the time or stopping the rain would matter so much.
Also, in MajorityVote I think when they just typed /vote then it would show them a list of votes they could start a vote on. But it got the description for each vote from the config file. However in this plugins config file I don't see anywhere for a description so I am just wondering, how will the players know what votes they can cast and how to cast them? Does it show an output of some sort for them based on the config? UPDATE:Yes it does. Beautiful =)
Thank you again!
EDIT: Oh nvm, I think I misunderstood. The world is the world the player is making the vote request from and so forth isn't it...
-
View User Profile
-
Send Message
Posted Apr 7, 2012THANK YOU!
THANK YOU!
THANK YOU!
THANK YOU!
THANK YOU!