#Leaderboard Help :(
1 messages · Page 1 of 1 (latest)
{minedLeaderboardCheck could also be local if youre clearing it
I'm not, I'm only clearing those for online players, not offline players
ah
Since it gets set at the start of the event for online players, but not offline ones
Hi can anyone help me making a baltop skript that list the top 10 people on my server with top balance from essentials..
i have tried to search on google too but i can't find anything that helps me
plz someone :) thx
use this, then loop 10 times and get the nth element
Sending the first 10 elements of the list is fine. What doesn't work is the fact that they are in alphabetical order (1 comes before 2 so 25 is considered smaller than 10) because I'm using a string.
So for players, you're storing the blocks they mine in {mined::%player uuid%}
And then for minedLeaderboardCheck you're storing how many blocks they've mined as the index and their name as value
Then you're looping that, placing them inside a string, and store in _leaderboard
Try reading this and see if it could make things easier by chance, look at the example
https://skripthub.net/docs/?id=3736