Vote
[1.12.2][Spigot][Bukkit] Kick, ban, restart, rain, sun, day, night, and custom votes. A simple to use and lightweight voting system with a little more functionality than the others. You can create votes that run commands on other plugins, as well as customize each vote to your hearts desire.
seewind has made a tutorial video for all the German fans of the plugin!
seewind has made a tutorial video for all the German fans of the plugin!
Features
- Allows you to create your own votes
- You can specify what command(s) to execute and in what order for both a successful and failed vote
- Fully implements Permissions using Vault, but can also default to regular Bukkit permissions
- You can choose what percentage it takes for a vote to succeed, and the minimum number of players it takes to succeed for each type of vote
- Fully customizable notifications
- Messages can be fully colorized to your hearts desire. Every single message/notification is located and editable in the config.yml
- You can pass any number of parameters you want
- Default votes are: Day, night, sun, rain, kick, and ban
- Source is available here
Configuration
Place the Vote.jar in the plugins folder. The configuration file will be created when the server is started. Make sure to have someone, doesn't matter who, as an op or it will shut down on load. The general overview of the config.yml custom commands is located here. You can read about how arguments work in Vote here. You can read about commands specific to Vote here. You can also watch the tutorial on how to create your own votes.Commands
All commands start with /vote- /vote yes/y - Votes yes on the active vote
- /vote no/n - Votes no on the active vote
- /vote [votename] - "/vote restart" will start a vote to restart the server. /vote kick rabidcrab will start a vote to kick rabidcrab
- /vote veto - Immediately cancels a vote.
- /vote reload - Reload the plugin, cancelling any outstanding vote commands, cancelling any active vote, and reloading the config file.
Permissions
If permissions are not enabled, everyone has the ability to start votes and vote.- vote.voteyes.[votename] - Allows the user or group to vote yes on [votename]. I.E vote.voteyes.restart will allow the player to vote for a restart
- vote.voteyes.* allows a player to vote yes for all votes
- vote.voteno.[votename] - Same as vote.voteyes.[votename], except for voting no
- vote.startvote.[votename] - vote.startvote.* for all, or vote.startvote.restart for restart, etc.
- vote.setvalue - The plugin runs it's own commands when voting for rain or sun. You need this permission on all admins for sun and rain votes to work correctly.
- vote.unkickable - Makes the player un-kickable
- vote.unbannable - Makes the player un-bannable
- vote.veto- Allows the player to cancel votes
- vote.reload- Reloads the plugin
@LeTruent
Not sure what caused that one, I'll have to look into it.
waiting for the download link :P the 1.5.2_1 version does not work with the latest Libigot :/
V1.5.2_02 is up for review, and it provides a fix for the issue with IgnoreUnvotedPlayers not working as intended.
I'm sorry for the delay for this, but summer is a difficult time for me to split my time. Living in a tropical temperate forest means that when I have a sunny day outside, I should take advantage of it before it starts raining again.
Just a quick update on the IgnoreUnvotedPlayers issue.
I've been looking into it, and it has to do with how the players are being tagged as unvoted. It's going to take a bit of work, but I'll have time this weekend to push out an update.
During summer it's always hard to balance my time between work, personal projects, and playtime. Please bear with me for a little bit longer.
I can confirm this: IgnoreUnvotedPlayers is not doing what it's supposed to be doing.
This seems like a fantastic way to let the players have a say on kicks and bans when admins/mods aren't on!
Nicely done!
@RabidCrab
Thanks for looking into this. We do have multiple worlds on our server, and quite a few plugins running. I don't know if that makes a difference. Let me know if there's anything more you'd like to know about our configuration that might help the investigation.
@poundfoot
That's correctly set up, I'll take a look and see what's going on with the IgnoreUnvotedPlayers not doing what it's supposed to be doing.
Thanks for the quick response. Minimum votes is indeed 1. Should that be different? Here is our full config: http://pastebin.com/J7CZdcz0
@poundfoot
Is the minimum votes at 1 or less as well?
If it is, i'll take a look and see why IgnoreUnvotedPlayers isn't working correctly.
Currently running Vote version 1.5.1_01 on CraftBukkit version git-Bukkit-1.5.2-R0.1-b2771jnks Is it possible for a sun/rain/day/night vote default to day? I have our config set to PercentToSucceed: 40 and IgnoreUnvotedPlayers: true, but currently if only one player votes, and no one votes against it, the vote still fails as if the unvoted players are still being counted.
@TheCoolGuy123_5_Minecraft_
That's due to permissions issues. If it cannot find people who can vote for/against, it will automatically stop the vote.
You have to make double sure that players have the ability to vote yes/no.
I have got this plugin and set it up, but I got a bug. Everytime I/someone starts a vote, it instantly fails.
@UnitedFactions
Whoops, forgot to add it as a softdepend. I'll add it in the next update.
@RabidCrab
There is no softdepend for me?
http://dev.bukkit.org/server-mods/give-anything-listener/#comments
- Galistener uses /vote, even when thats disabled, /vote doesnt work anymore, can i change the /vote command? :o
@deathnote1029
Inside of the config.yml you can change the name of the command just under "softdepend: [Vault]" just change "vote:" to whatever word or phrase you want (no spaces). The plugin won't be negatively affected by changing the name of the command.
Is there anyway to change the command? i currently use Vote-lister which uses /vote to do in game commands and stuff, and this one also uses /vote, is there a way i can get the best of both worlds?
Thanks, deathnote1029
Just updated Vote to 1.5.2 R0.2. Sorry about the delay for this one, I was on vacation when Bukkit updated to 1.5.2.
I added the permissions, but still everyone can start votes. I couldn't find anything in config.yml that might change this.
Help plz, Kevin