LegendaryVoting
Requirements
- Vault
- Votifier
About
LegendaryVoting is your all-in-one voting plugin. It safely handles all your votes even if the player is offline. It has random rewards with reward rarity. A token system featuring a token store with many customization options
Features
- MySQL Support
- Random Rewards
- Reward Rarity
- Tokens
- Token Store
- API for token expansions
Setup
- Download The Plugin
- Place LegendaryVoting.jar in the /plugins/ folder
- Restart The Server
- Edit the config
- Restart The Server
- Finished!
Website Leaderboard
<?php echo "<h1>Top 10 Votes</h1>"; $con = mysql_connect("localhost","root","password"); mysql_select_db("voting", $con); $result = mysql_query("SELECT * FROM votes ORDER BY votes DESC LIMIT 0, 10"); echo "<table cellpadding=3 cellspacing=5><tr><td width=50><div align=center><b>Rank</b></div></td><td width=125><b>Username</b></td><td width=80><b>Total Votes<b></td></tr>"; $x = 1; while($row = mysql_fetch_assoc($result)){ echo "<tr><td colspan=3><hr></td></tr>"; echo "<tr><td width=50><div align=center><b>".$x.".</b></div></td><td width=125>"; echo $row['user']; echo "</td><td width=80>"; echo $row['votes']; echo "</td></tr>"; $x = $x + 1; } ?>
Default Config
Database: Enabled: false Host: localhost Port: 3306 Database: voting Username: root Password: password Settings: RankCommand: 'pex user %name% group set %rank%' Probability: COMMON: 40 UNCOMMON: 30 RARE: 10 ULTRA_RARE: 7 EPIC: 3 Messages: Broadcast: '&7%player% &8has voted on &7%service%' PlayerOnly: '&aThanks for voting! Here is your rewards!'
To-Do
- More uses for tokens
- Request Ideas Below
Is it compactible whit Spigot 1.8.8? Plugins (29)
@agentsix1
Will all be fixed in a few days sorry for not updating in a while
@151baccardi
I don't know if you have knowledge with coding or not. But all you need to do is update the votifier and vault jars inside the code and recompile it and you will be good to go! I am currently modifying this to do what I need. There is also a bug when trying to vote when you are not online.
edit: I was wrong about this btw...
using this on 1.8
[05:01:51 ERROR]: Could not pass event VotifierEvent to LegendaryVoting v2.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) [spigot-R0.1-13716d9d5ee.jar:git-Spigot-13716d9-eae50b4] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-R0.1-13716d9d5ee.jar:git-Spigot-13716d9-eae50b4] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-R0.1-13716d9d5ee.jar:git-Spigot-13716d9-eae50b4] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-R0.1-13716d9d5ee.jar:git-Spigot-13716d9-eae50b4] at com.vexsoftware.votifier.net.VoteReceiver$1.run(VoteReceiver.java:181) [Votifier.jar:?] at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71) [spigot-R0.1-13716d9d5ee.jar:git-Spigot-13716d9-eae50b4] at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-R0.1-13716d9d5ee.jar:git-Spigot-13716d9-eae50b4] at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:694) [spigot-R0.1-13716d9d5ee.jar:git-Spigot-13716d9-eae50b4] at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-R0.1-13716d9d5ee.jar:git-Spigot-13716d9-eae50b4] at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot-R0.1-13716d9d5ee.jar:git-Spigot-13716d9-eae50b4] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot-R0.1-13716d9d5ee.jar:git-Spigot-13716d9-eae50b4] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_71] Caused by: java.lang.NullPointerException at me.icyrelic.com.Listeners.VoteListener.onVotifierEvent(VoteListener.java:42) [?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_71] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [?:1.7.0_71] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_71] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_71] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) [spigot-R0.1-13716d9d5ee.jar:git-Spigot-13716d9-eae50b4] ... 11 more
a toggle to turn off messages ?!
When are you going to add it?
Pls do that!
@Dutch_Boy
No but I can add it
Can this plugin run commands to?
Like -> /AdjustBonusClaimBlocks (player) amount (claimblocks for grief prevention)
Any Update or is this death?
i have an issue... after 8 hours, when i vote result in this:
In the leaderboard it does nothing... very sad
Very nice! I have a code who works with the mysql
Hope i can help :)
@ImToRich
If you need help with the PHP or MySQL, PM me.
Dang.. Does the MySQL work for anyone? Just making sure it's a plugin problem and not a problem with my server/MySQL.
Hello,
Can someone help me add this to my website?
ironpvp.net
Many thanks
~ Jamie
@icyrelic Any ideas? D:
Getting this problem with the latest version. I was not logged in when I voted:
http://pastebin.com/T3Zaa0N0
i have the same issue as SDDJ. The server cannot connect to the data base
@IcyRelic
Here's the error reported by the plugin, no other errors happened: