Leaderboards
Desctiption
This is a simple yet very expandable plugin that keeps track of player's kills, deaths, and their kill/death ratio. It uses MySQL database for storage which allows it to be hooked into your server's website to provide user stats online.
Currently there are no features to prevent players killing each other and boosting up their scores but I am considering adding this in the future along with bounties on the top 10 players.
Thanks to PatPeter for the SQLibrary.
Installation
- Put the .jar into your severs plugin's folder.
- Open the jar with winrar or similar tool.
- Edit the Config.yml file putting in your server database properties.
- Enjoy!
Usage
Commands
Command | Required Parameters | Optional Parameters | Description | example | |
---|---|---|---|---|---|
/kd | target player | none | returns specified user's k/d | /kd beatcomet | |
/kd | none | none | returns sender's k/d | /kd | |
/topkills | number | none | returns top # of players by k/d | /topkills 5 | |
/topkills | none | none | returns top 10 players by k/d | /topkills | |
/rankkills | none | none | returns sender's ranking by k/d | /rankkills |
Permissions
Permission node | Description | |
---|---|---|
lb.rank | Grants access to the /rankkills command | |
lb.kd | Grants access to the /kd commnd | |
lb.top | Grants access to the /topkills command |
Todo
- Do more with the plugin
- Prevent boosting
- Possibly do bounties
Current version
Version 1.1 - [Download]
That query is sql injectable. Does the Bukkit community ignore security in their statements?
Probably going to update this in the next few days. Stay tuned for updates.
This plugin has been implemented in a new plugin. Feel free to give it a look. It's using some code from this.
http://dev.bukkit.org/server-mods/pvp-kill-announcer/
please update for 1.2.5!!
Pleaseeeee Upload For 1.2.5
Please update to 1.1 :).
@Blank1268
Thanks, if there is any problem post the server log output here and we will fix everything. new version will be introduced soon :)
This is a great plugin, I am using it on my hardcore arena server and it works great for challenges in who has the better k/d.
Another update for the test version : sorting method is now functional. Player registration onLogin might be added soon download link two comments below :)
The command rankkills will probably be changed and the config node for sorting method will be functional in version 1.2 :) stay tuned for more updates
Great news :) Just added a functional sqlite support, along with some bug fixes and an improved configuration system. The new configuration file will be located at a seperate folder. In the config you will be able to choose your driver (either mysql or sqlite). For sqlite you don't need to change any paramete in the configuration other than the driver.
Download link for test .jar : https://bitbucket.org/beatcomet/k-d-leaderboards/downloads/LeaderBoard.jar
Version 1.2 will be up soon, as well as a repo (it depands on @unv_annihilator's decision)
Edit : As for now the new config system is working well, the file will be added as soon as unv_annihilator will approve it :) Also, I changed the main page hope you guys like it (if you don't just tell me what to fix and I will )
@VariousArtist:
The plugin is still a WIP, new config system will be introduced soon. Right now we are working on a ranking system and more stuff as well.
@VariousArtist
Yea sorry, I hadn't messed much with config files and the such, you can change the config.yml inside the plugin jar and put your settings in. (I apologize for the wait on the reply).
Ah, leaderboards did not create a new folder and/or config file - thats why I didnt notice the problem!
Ive just issued the /kd NAME command and I guess I saw the problem - MySQL not defined, i guess: http:pastebin.com/J67aCKpt Will do another test but I guess that was it!
@VariousArtist
Can you give me your whole sever logs for the error so I can better understand the issue. Also if you could tell me what you were doing when you got the error that'd be awesome.
Also were you doing the command in-game or through console? If it was through console try in-game since I don't think I have it setup for console (and I need to make sure you can't do it through console now).
download 1.0, cb 1507
/kd name = internal error
@jisaacs1207
Yes I am planning on it, might work on it some today just wanted to get an idea of how people liked it, and see what people wanted to have added. But I chose mysql database just for the ease of adding the information to websites :) Someone asked for extra loot on a revenge kill, I thought that might be kind of cool so I'll look into it. Feel free to drop in any suggestions of what to add/change.
I hope you sophisticate this as mentioned. This could be a great lightweight plugin for kd display on websites, and bounties as well.