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
-
View User Profile
-
Send Message
Posted Oct 1, 2012@kbryantLA24
Oooooo that pisses me off. I was planning on going to bed, but I'll put out a fix before I do so, so it'll be approved tomorrow.
-
View User Profile
-
Send Message
Posted Sep 30, 2012Huge loophole. For vote ban/mute, if the person being banned/muted logs out DURING the vote, the command does not execute on him. He can sign back on and still talk (or was never banned).
-
View User Profile
-
Send Message
Posted Sep 28, 2012@gravedigger199
Unfrotunately this doesn't have the capability to do what you want due to a vote needing to succeed/fail in order to run commands. Votifier is the simplest method for counting votes for servers, although even as simplified as it is, it's still complex.
-
View User Profile
-
Send Message
Posted Sep 28, 2012would i be able to make a vote that if they vote that they realy like the server or something that they get rewards? (I might use this cuz I dont know how to use votifier)
-
View User Profile
-
Send Message
Posted Sep 28, 2012@notif
Not sure how that happened, but the easiest way to fix it is to go into the config.yml and change the vote.application.files.config.version to 1.2, then reload the server. It should add these properties to your vote.default:
VoteYesCommands: - yes - y VoteNoCommands: - no - n VoteListCommands: - list VoteHelpCommands: - help
-
View User Profile
-
Send Message
Posted Sep 28, 2012When typing /vote yes everyone gets "yes does not exist!" The opposite is true with "no".
/vote y/n does works.
-
View User Profile
-
Send Message
Posted Sep 28, 2012@Uroc327
Good idea. With 1.3.2_06, admins can default veto votes.
-
View User Profile
-
Send Message
Posted Sep 27, 2012Great Plugin! Only thing I miss is a veto function for admins/mods/ops to cancel a vote immediately.
-
View User Profile
-
Send Message
Posted Sep 27, 2012@Androkai
V1.3.2_05 allows you to change the /vote no/yes, as well as /vote help and /vote list.
Once you get the latest version, make sure to run it, and it'll update your config.yml with the new values. It won't wipe out your own customizations.
-
View User Profile
-
Send Message
Posted Sep 17, 2012Great and Awesome plugin! Works well! :D I suggest you add a Demote/Promote vote system, could be useful :)
-
View User Profile
-
Send Message
Posted Sep 14, 2012@gamermanh
Everyone now has default enabled perms to create votes and vote on them. Sorry I can't provide much help in the permissions, but I have tested it to make sure that they do work in 1.3.2_04, and I can add/remove player perms without issue.
-
View User Profile
-
Send Message
Posted Sep 14, 2012@Androkai
I'll look at what it'll take to make the time multi-world supported. I bet it's pretty easy, but I won't have a chance to look at it until I get home.
For the yes and no, I think that's a good idea, and I should have had it to begin with. I intended this to be multi-language supported, so I'll add capability to change that. I'll also look into a way to make the /vote command editable so it can be language-specific.
-
View User Profile
-
Send Message
Posted Sep 14, 20121.3.2_03 works with newest CraftBukkit-DevBuild, no problems (I renamed all votes in another language), thx. Only thing I miss is multiworld-support for votes about time and weather and possibility to translate "yes" and "no".
-
View User Profile
-
Send Message
Posted Sep 14, 2012@RabidCrab
I am having the EXACT same problem, with the update It's also not letting users start votes, even though they have the perms
Please help
-
View User Profile
-
Send Message
Posted Sep 13, 2012@deventhedude
Just uploaded V1.3.2_04, and players will now have default permissions to start votes and vote yes/no.
-
View User Profile
-
Send Message
Posted Sep 12, 2012@deventhedude
I remember why this is happening now. You need to add vote.voteyes.* and vote.voteno.* to your default permissions for the players.
When a vote is started, it only takes into account those who can vote. So even if 50 people are on, if you're the only one who can vote, all your votes will pass or fail.
The odd thing is that it should default to allowing people to create votes, and vote yes/no. I'm looking into why that is, because it's happening on my test server as well.
-
View User Profile
-
Send Message
Posted Sep 12, 2012@deventhedude
I'm currently looking into that now. It looks like it only applies to 1.3.2 R0.2, and it has to do with the getOnlinePlayers() function in bukkit. It doesn't look like it's working correctly, so I'm making a workaround.
-
View User Profile
-
Send Message
Posted Sep 12, 2012seems like a cool plugin but everytime someone on my server does: /vote (sun, rain, etc), it just outputs: "Playername has started a vote to set the weather to Rain! type /vote yes or /vote no to vote. Vote Counted Vote Succeeded! It is now rainy"
Noone else gets a chance to vote, and it changes to rain anyway.
i even changed the config from the default "Minimumvote 1" to a higher number and it still doesn't work.. not sure why. i have the latest Craftbukkit, Vault, Essentials, residence, and lockette.
-
View User Profile
-
Send Message
Posted Sep 9, 2012@Luxius96
Here's the video on how to create a custom vote. Hopefully it explains well enough.
http://www.youtube.com/embed/mgMmgEG3N3Y
-
View User Profile
-
Send Message
Posted Sep 9, 2012Oh cool!A plugin for democracy,I shall check this out later on :D