Skip to content

Where is the leaderbord stored? #4091

Answered by triagonal
Just-Nils asked this question in Q&A
Discussion options

You must be logged in to vote

Are you talking about the Top Balances leaderboard (/baltop)? If so, you can use the new BalanceTop API service. You can access it using the Bukkit ServicesManager as detailed here:

import net.essentialsx.api.v2.services.BalanceTop;
//...
BalanceTop api = Bukkit.getServer().getServicesManager().load(BalanceTop.class);

Take a look at the API interface to see what kind of data you can access. Keep in mind that this service is only available on development builds, so ensure you're using the latest dev build of EssentialsX.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mdcfe
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants