Create leaderboards for any (numerical) statistic in PlaceholderAPI
How to use it:
/lbadd <leaderboard name> <placeholder to track> [transform to time?(y/n)] to create a new leaderboard. For example:
/lbadd playtime %statistic_seconds_played% y
This will create a leaderboard called playtime (name cannot contain spaces), which will track second_played from the statistic PlaceholderAPI expansion.
To show the leaderboard you will also use a PlaceholderAPI:
%eliteleaderboards_leaderboardname_page_1%
To show the first page of the leaderboard, and you can set from the config how many players to show per page.
for example
%eliteleaderboards_playtime_page_1%
You can also show a player in a specific position with
%eliteleaderboards_leaderboardname_position_3%
for example
%eliteleaderboards_leaderboardname_position_1%
And you can show the position of the current player with
%eliteleaderboards_leaderboardname_own%
for example
%eliteleaderboards_leaderboardname_own%
To delete a leaderboard you can run:
/lbremove <leaderboard name>
Permissions:
eliteleaderboards.admin: Allows to add and remove leaderboards