Votifier Count
VotifierCount
Votifier Count helps servers to give rewards to the players whose votes have reached a certain amount.
PLUGIN TOTALLY REWRITTEN!
Features
- give rewards to the players who votes have reached a certain amount.
- counts player's votes
Installation
- Copy the votifier_count.jar to the /plugins folder
- IMPORTANT! This is a plugin but NOT a listener.
- Install the latest version of DataManagerAPI here (required)
- Start and stop the server
- Edit the file "plugins/VotifierCount/config.yml".
Configuration file :"plugins/VotifierCount/config.yml"
Sample:
resets: never (how long until the next reset?) rewards: every: '3': //when a player votes every 3 times commands: - say <player> has votes 5 times and earned $300 ! //these commands will be executed - 'eco give <player> 300 ' description: - '&bGet $300 every 3 votes!' //the description '5': //when a player votes every 5 times commands: - say <player> has voted 5 times and earned $1000 ! - 'eco give <player> 1000 ' description: - '&bGet $1000 every 5 votes!' '100': description: - '&cYou get $100000 when you vote every 100 times!' achieve: '50': //When a player reaches 50 votes commands: //executes these commands - say <player> has reached 50 votes and earned $10000 ! - 'eco give <player> 10000 ' description: - '&cYou get $10000 when you reach 50 votes!' //the description of the vote '100': //When a player reaches 100 votes commands: - say <player> has reached 100 votes and earned $100000 ! - 'eco give <player> 100000 ' save-data: true //Keep this true if you are NOT using MySQL! //If you are using MySQL, only one server needs to handle data saving. Keep this true on one server you choose if using MySQL.
Permissions
- votifiercount.votes - Allows players to access the command /votes
- votifiercount.topvotes - Allows players to access the command /topvotes
- votifiercount.resetvotes - Allows players to access the command /resetvotes
Commands
- /votes [player] - Checks votes of a specific player or yourself.
- /resetvotes - Resets ALL the votes! (Only ops can do this)
- /vchelp - Displays help
- /topvotes - Displays top voters' IGN and No. of votes
- /vcversion - Displays the version of this plugin
MySQL
- The MySQL host/port/password is managed with DataManagerAPI
- Read this for more details on using MySQL! If you have any problems, feel free to pm me.
Bug reports
Send me a PM using the following format:
MySQL enabled: Link to error log: Version of VotifierCount: Version of DataManagerAPI:
-
View User Profile
-
Send Message
Posted Jan 22, 2014Do you have to have the DataManagerAPI installed?
-
View User Profile
-
Send Message
Posted Jan 22, 2014@CloudKidZ
It is approved!
@kill_da_trolls
I am aware of the issue and I am fixing it. I tested the plugin on my local computer (I cannot afford a host) and it works 100% :/
Are you using MySQL or files? Which version of DataManagerAPI & VotifierCount are you using? With those information it would be easier to debug.
-
View User Profile
-
Send Message
Posted Jan 21, 2014@Louis1234567890987654321
Just wondering where the 2.0.2 version is, since the link doesn't have it? I'd rather move up to the most recent with the most bugs fixed. :)
Thanks
-
View User Profile
-
Send Message
Posted Jan 20, 2014Ever since you rewrote it, the plugin is completely broken. Even with DataManagerAPI, votes were not being recorded, the config reset, and even the settings from the default config did not read. I replaced the Votifier count plugin and folder with the new version. Slightly let down my players...
-
View User Profile
-
Send Message
Posted Jan 20, 2014http://dev.bukkit.org/bukkit-plugins/votifier-count/files/14-votifier-count_v2-0-2/
fixed various bugs.
NOTE: the file is not approved.
-
View User Profile
-
Send Message
Posted Jan 18, 2014@felixislive
As for /topvotes, read my last post.
You could put enchanted items in a kit and give it to them.
-
View User Profile
-
Send Message
Posted Jan 17, 2014Hey Louis , when I do /topvotes nothing comes up and many people has voted. Please fix it is possible also one request if possible :) Could you somehow make it when people get they can receive Enchanted items. Because I tried
give <player> 310 1 protection:3 give <player> 311 1 protection:3 give <player> 312 1 protection:3 give <player> 313 1 protection:8 and it did not seem to work :/
-
View User Profile
-
Send Message
Posted Jan 16, 2014@CloudKidZ
/votes have been reset because players do /resetvotes. Sorry I forgot to make votifiercount.resetvotes for OPs only. As for topvotes, the bug has been fixed in v2.0.1. I suggest you to update DataManagerAPI to v1.1.1 along with votifiercount.
-
View User Profile
-
Send Message
Posted Jan 16, 2014@Louis1234567890987654321
no - I never use reload for that very reason. This is after multiple actual server stops and then restarts. I've been working on a few different plugins, so there have been multiple complete stops and restarts.
-
View User Profile
-
Send Message
Posted Jan 15, 2014@CloudKidZ
Did you use /reload? This plugin is not compatible with /reload. Sorry for not mentioning.
-
View User Profile
-
Send Message
Posted Jan 15, 2014@Louis1234567890987654321
Actually after restart, I'm getting a lot of errors that weren't there on the first install:
on Startup:
http://pastebin.com/dvbJV640
on typing /topvotes from console:
http://pastebin.com/aRex4j38
on typing /topvotes from in game:
http://pastebin.com/2QniQx0L
Even the /votes command seems to got nuts randomly:
It is usually working, but an hour after showing this player had 10 votes, it then gives him and internal error and shows me that he has no votes:
http://pastebin.com/gvVy9bN8
After a reboot, it goes back to showing he has 10 votes again?
Sorry, but no idea what is going on.
Misty
CloudKidZ
-
View User Profile
-
Send Message
Posted Jan 15, 2014@Cooljack19
@sammyturbo123
@CloudKidZ
@CloudKidZ
Does the error occur when you restart the server?
-
View User Profile
-
Send Message
Posted Jan 13, 2014The /topvotes command is returning "No one has voted for this server :O"
I've waited a few hours in case it somehow needs to update. But we've had a bunch of players vote now - their /votes player.name work fine and show their votes, but nothing shows on /topvotes.
Any ideas?
Thanks!
-
View User Profile
-
Send Message
Posted Jan 13, 2014I'm just wondering if you can add a /vc reload command? When I play around with the different rewards, it would be nice to not have to kick my players with a restart to add the new changes.
Unless you already have a reload command and I'm just not seeing it.
Thanks for the great plugin!
Misty
play.HadesPortal.com
-
View User Profile
-
Send Message
Posted Jan 12, 2014Get an error when i have downloaded both latest files. i had 1.7.2 R0.3. then tried R0.2 and it still showed an error!
-
View User Profile
-
Send Message
Posted Jan 11, 2014I'm not really sure what's going on with my plugin? I have installed the dependancies and I have both files with the configs and everything!? But I get an internal error when I try /topvotes here is the log when I type the command: 11.01 07:52:52 [Server] INFO ... 13 more 11.01 07:52:52 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-1.7.2-R0.3-SNAPSHOT.jar:git-Spigot-1224] 11.01 07:52:52 [Server] INFO at com.gmail.louis1234567890987654321.votifiercount.VotifierCount.onCommand(VotifierCount.java:200) [?:?] 11.01 07:52:52 [Server] INFO Caused by: java.lang.NullPointerException 11.01 07:52:52 [Server] INFO at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot-1.7.2-R0.3-SNAPSHOT.jar:git-Spigot-1224] 11.01 07:52:52 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:446) [spigot-1.7.2-R0.3-SNAPSHOT.jar:git-Spigot-1224] 11.01 07:52:52 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:540) [spigot-1.7.2-R0.3-SNAPSHOT.jar:git-Spigot-1224] 11.01 07:52:52 [Server] INFO at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [spigot-1.7.2-R0.3-SNAPSHOT.jar:git-Spigot-1224] 11.01 07:52:52 [Server] INFO at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:657) [spigot-1.7.2-R0.3-SNAPSHOT.jar:git-Spigot-1224] 11.01 07:52:52 [Server] INFO at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [spigot-1.7.2-R0.3-SNAPSHOT.jar:git-Spigot-1224] 11.01 07:52:52 [Server] INFO at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:147) [spigot-1.7.2-R0.3-SNAPSHOT.jar:git-Spigot-1224] 11.01 07:52:52 [Server] INFO at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot-1.7.2-R0.3-SNAPSHOT.jar:git-Spigot-1224] 11.01 07:52:52 [Server] INFO at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot-1.7.2-R0.3-SNAPSHOT.jar:git-Spigot-1224] 11.01 07:52:52 [Server] INFO at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:815) [spigot-1.7.2-R0.3-SNAPSHOT.jar:git-Spigot-1224] 11.01 07:52:52 [Server] INFO at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:940) [spigot-1.7.2-R0.3-SNAPSHOT.jar:git-Spigot-1224] 11.01 07:52:52 [Server] INFO at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:546) [spigot-1.7.2-R0.3-SNAPSHOT.jar:git-Spigot-1224] 11.01 07:52:52 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:196) [spigot-1.7.2-R0.3-SNAPSHOT.jar:git-Spigot-1224] 11.01 07:52:52 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot-1.7.2-R0.3-SNAPSHOT.jar:git-Spigot-1224] 11.01 07:52:52 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'topvotes' in plugin VotifierCount v2.0.0
-
View User Profile
-
Send Message
Posted Jan 11, 2014@KevinEssence
That is something within the voting website, not us or votifier. You could tell the voting website to fix this.
@RockinChaos
I have planned another something something as a surprise, based on your idea!
-
View User Profile
-
Send Message
Posted Jan 11, 2014How do we make it so players can't vote on a site twice using a different IP, or is that something within that voting website we can't prevent?
-
View User Profile
-
Send Message
Posted Jan 9, 2014Something you should add is a command like /rewards that shows : You have [1] vote! [3] Votes = $1000 [6] Votes = 4 Diamonds!! and it could be editable.
or you could add the vote rewards to /votes so it shows how many times you voted and the [3] Votes = $1000 [6] Votes = 4 Diamonds!!
Its just a thought but it would make some things easier.
-
View User Profile
-
Send Message
Posted Jan 7, 2014@Cooljack19
As I can see you may have not installed one of the plugin's dependencies.
This plugin depends on Votifier and DataManagerAPI. Make sure you have them installed and working to make this plugin work correctly.
@Cooljack19
Please check that if your Votifier is working. Your votifier (the other plugin) might be malfunctioning.