ProLeaderboards

ProLeaderboards 1.0.3

Native Minecraft Version:
1.19
Tested Minecraft Versions:
1.161.171.181.19
Donation Link:
PRO LEADERBOARDS

What does this plugin do?

ProLeaderboards will allow you to showcase stats of players, rank-wise. If you have existing databases which store data related to players like Kills, Money Balance, or anything, you can showcase the top players using this plugin. You can change the way the data is sorted with respect to the score (either in Ascending Order or Descending Order). The leaderboard gets updated periodically according to the interval that you configure.

You can showcase any number of ranks. You can showcase the ranks using:
Signs
Player Head
Armor Stand
NPC (Citizens support required)
Placeholder (PlaceholderAPI support required)
Dependencies (MUST REQUIRE):
PlaceholderAPI
Citizens

Working Example

Suppose this is the data which is in our MySQL database. Both Player Name and Player UUIDs will work in the player column.



This is how we can showcase top-3 players in descending order with respect to the balance. You can showcase ANY rank and ANY number of ranks.


Player Head + Sign




NPC




Armor Stand




Placeholders

You can use these placeholders with any plugin which supports PlaceholderAPI. For example Holographic Displays.

The format for the placeholder is: %plb_[leaderboard name]_[rank]_[player/score]%

Examples:
%plb_balance_1_player% - Returns the player name of rank 1 in the balance leaderboard
%plb_balance_2_score% - Returns the score of rank 2 in the balance leaderboard
Features
You can create as many leaderboards as you like
You can create as many rank showcases as you like
You can use different MySQL databases for different leaderboards
Placeholders for any plugin which supports PlaceholderAPI
You can customize everything

Setting Up The Plugin

Use /leaderboard admin command, it will open up a GUI in which you will have two options. First will be to create a new Leaderboard, and second one to show existing ones to configure. Select the first option, and then you will be asked to type a name. Then the leaderboard will be created.

After creating the leaderboard, you have to stop the server and go to the config file of the leaderboard. It will be present in plugins/ProLeaderboards/leaderboards/[leaderboard name].yml.

Example config:
Code (YAML):
name: balance
sort-type: DESCENDING
update-interval: 1.0
database:
host: localhost:3306
user: root
password: password
database-name: leaderboards
table-name: balance
player-column: player
score-column: balance
showcase-format:
npc: '&c#%rank% &7- &b%player%'
sign:
- '&a%player%'
- '&7Rank: &c%rank%'
- '&7Balance:'
- '&6$%score%'
These are the database fields that you need to tally with the above config:




After setting up the config, you can start the server. Then execute /leaderboard admin command, and from in game you can then create showcases.

VIDEO TUTORIAL COMING SOON!
Author
Mined
Downloads
5
Views
19
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Mined

Top