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
If we can customize the answer, it would be great.
@diannetea
1.3.1_05 will resolve the issue. It's been waiting for approval for about 5 hours now. We'll see if they get around to approving it soon.
Vote is not working AT ALL with the new plugin version, I use plugman to manage my plugins on the server and it says it is not a plugin file.
using /plugman load vote
9:11:47 PM [INFO] [PlugMan] File exists, but isn't a plugin file!
@RabidCrab
No problem I'm just glad I've finally contributed SOMETHING to the epicness that is bukkit =) cheers!
@Kolnan
Uploaded V1.3.1_05 to fix that, sorry about that. It should be approved sometime later today.
Using 1.3.1_04
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:198) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:132) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:198) at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50) at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml ... 9 more
In console =)
Updated for 1.3.1-R2.0. You should expect to see the file available for download in the next hour.
It's been 9 hours, not sure what's going on, but it should be live sometime soon.
@Xter7856
Add Vault to your plugins. It's a plugin that's just an interface for the multitude of permissions plugins out there, and it won't consume any resources on your machine.
If you don't have a permissions plugin, it'll use the default permissions that come with Bukkit
[SEVERE] Could not load 'plugins\Vote.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: Vault at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:195) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:198) at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50) at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
I've been able to open up some free time to modify this plugin to be runnable in the new Bukkit architecture. The massive change they did to the config file system screwed up the extensive architecture I built on top of the config file management. Hopefully they won't do that again.
I'm working on allowing for colored text now, and it will be in release 1.3.1_02. I've changed my versioning style to make it more clear as to what version of Bukkit can be used due to its heavy reliance on specific versions of Bukkit.
I will not be backtracking this to 1.2.5, so just hang tight until a release of 1.3.1 is available.
EDIT: Colors are fully operating, and all messages have been default colored. Of course you can change the colors in the config.yml.
wish it had color support even though the creator isnt working on this.
I stumbled across SimplePoll earlier. I tried it and ended up not liking it. I found this and realized it wasn't updated. So i decided to update it myself. WARNING: may not work well, don't use on a production server.
Changes: the permissions are SuperPerms now and vote.voteyes.* and vote.voteno.* are granted by default to everyone, so if you don't want everyone to have them, set them to false. If you only want people to be able to vote on certain votes, set those nodes above to false and enable the individual nodes.
Download: http:cmastudios.me/Vote.zip
Update please.
Doesn't work with R5 and builds above.
An update would be super awsome.
does this work for cb1597 for 1.0.1-R1?
@RabidCrab No Updates for this great Plugin?!
Works 100% with #1317. Thanks for this great plugin.
it post all double in 1240
@pyrosine
On the command executed. My plugin will pass the parameters to the command when the vote succeeds.
When it says "any number of parameters you want" in features, does it mean parameters on your vote commands or on the command executed?