VoteCommand
VoteCommand
VoteCommand is a plugin that allows your users to get the vote link of your server ingame! This plugin is in the alpha version so don´t be hard with it. If you find any Bugs or Problems , than report it in the comments or contact me with a ticket!
You can set up all in the config.yml !
Example configuration
Here is an example for the config.yml how you can configure it: Hint: At 'votelink' you must type a URL with http: or https: at the beginning, else your users can´t click on the link!
# You can use colors in the Messages with § and the letter for a color! More information at the VoteCommand BukkitDev page! configuration: vote: votelink1: 'http://Yoursite.com/Vote' votelink2: Votelink2 votelink3: Votelink3 votelink4: Votelink4 message: welcome: §6Welcome to this awesome server! §2You can vote with §7/§6vote §2! message: 'You can Vote here:' prefix: '[Vote]' permissions: You dont have permissions to do this!
Commands
/vote - This sends the player a message and the vote link which can be configured in the config
/vote reload - This reloads the messages from config
Permissions
votecommand.use - Permission for /vote
votecommand.reload- Permissions for /vote reload
votecommand.use.sign- Permissions for using the [Vote] signs
Sign Vote
Write on a sign in the second line: [Vote] and if a user with the permissions* votecommand.use.sign *clicks the sign the plugin will post the vote message + link(s) in the chat!
-
View User Profile
-
Send Message
Posted Dec 21, 2012@InvisiCraftOfficial
yes i know... I´ve forgotten it but in the 2.8 it can be used! :D
-
View User Profile
-
Send Message
Posted Dec 21, 2012/vote reload does not work in console. Could you add a confirmination message upon reload? That way I know it worked - thanks! Also noted that color codes are not supported in the config yet?
Great plugin!
-
View User Profile
-
Send Message
Posted Dec 20, 2012@toxictroop Ok. I will add 4 vote commands in the new version! Thanks for your comment!
-
View User Profile
-
Send Message
Posted Dec 20, 2012Im using this plugin, maybe you could add more voting sites with, /vote1 /vote2 /vote3 ect.
-
View User Profile
-
Send Message
Posted Dec 18, 2012@InvisiCraftOfficial
In the next version! sorry but its my first plugin ! I will add this all! Thank you for comments :D
-
View User Profile
-
Send Message
Posted Dec 18, 2012oh right. Checked ingame - works perfectly! Thanks for a great plugin :3 Simple and awesome. Any ingame commands to reload the config?
-
View User Profile
-
Send Message
Posted Dec 18, 2012@InvisiCraftOfficial
Sorry you must type it ingame! In the console the command not work! I´ll fix it in the new version! And thank you for reporting this bug! ;D
-
View User Profile
-
Send Message
Posted Dec 18, 201218.12 02:12:45 [Server] INFO ... 8 more 18.12 02:12:45 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 18.12 02:12:45 [Server] INFO at de.Fisell.VoteCommand.VoteCommand.onCommand(VoteCommand.java:27) 18.12 02:12:45 [Server] INFO Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player 18.12 02:12:45 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:856) 18.12 02:12:45 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426) 18.12 02:12:45 [Server] INFO at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493) 18.12 02:12:45 [Server] INFO at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:223) 18.12 02:12:45 [Server] INFO at net.minecraft.server.DedicatedServer.al(DedicatedServer.java:258) 18.12 02:12:45 [Server] INFO at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:494) 18.12 02:12:45 [Server] INFO at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:502) 18.12 02:12:45 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) 18.12 02:12:45 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) 18.12 02:12:45 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'vote' in plugin VoteCommand v2.6
/vote doe not work for me.. any ideas?
-
View User Profile
-
Send Message
Posted Dec 16, 2012@Sanzennin
Thank you! I´ll try this.
-
View User Profile
-
Send Message
Posted Dec 16, 2012Idea: Get rid of "if (p.hasPermission("votecommand.use")) {...}" (you already link the command in the plugin.yml with that permission, so you didn't need this in the first place.), and *add*
In the plugin.yml.
This is because the whole idea of the plugin is to let members use that command. Therefore, it should be defaulted to true. (It can still be disabled by server admins if they, for some reason, don't want people to vote by negating the permission. So don't worry about that.)
Hope this helps. ^_^
-
View User Profile
-
Send Message
Posted Dec 15, 2012@InvisiCraftOfficial
look at Downloads ^^
-
View User Profile
-
Send Message
Posted Dec 14, 2012Can't wait until you release this. Download link?