Kill Leaderboard

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

AsuDev

VIP
Jan 27, 2017
241
22
18
24
United States
What is this?
This script simply has one purpose. To show an example of a fully made kill leaderboard along with other helpful commands and functions. I see people asking for kill leaderboard stuff all the time on the forums and this resource should help with that.

Features
1. A very fast sorting system made with skript-mirror (up to 50k values a second!)
2. K/D Stats including KDR
3. Automatic leaderboard updater
4. Helpful commands related to the leaderboard.
5. Should be enough info for one to create their own leaderboards.

Commands
/kills [<offline player>] - Tells you the K/D stats of a player
/placing [<offline player>] - Tells you what place a player is on the leaderboard
/place [<integer>] - Tells you the player at a certain place on the leaderboard
/topkills [<integer>] - Displays the top killers based on a page system.
/updateKillsLeaderboard - A manual way to update the kills leaderboard.

Requirements:
* Skript for your version https://github.com/SkriptLang/Skript/releases
* Skript-Mirror 2.0.0+ https://circleci.com/gh/btk5h/skript-mirror
* SkQuery https://www.spigotmc.org/resources/skquery-1-9-1-14.36631/


Extra Information
1. This script was made on 2.3.6, but that does not mean you cannot use this! To make this compatible with 2.3.7 or higher, change the "send" message to "send formatted" when using json formatting. You will not get an error when reloading but the formatting will be messed up. Changing it to "send formatted" will fix the problem!

2. This script is not intended for use by itself. Rather, its for you to learn how to make your own leaderboards. You are allowed to use this script and its features for your own scripts.

3. I made a tutorial on leaderboard stuff already in the tutorial section on this forum. If you would like to view that, here is the link: https://forums.skunity.com/threads/sorting-method-toplists.9931/

4. I am open for questions anytime. You can pm me on discord if you want (AsuDev#0714).

Credits
EWS for making this sorting method in skript-mirror.

Pictures
/kills command
View attachment 3822
/placing command
View attachment 3823
/place command
View attachment 3824
/topkillers command
View attachment 3825