Hi,
I'm trying to make a leaderboard skript for my server with holograms.
I need to know how to find the player's (online + offline) with the highest number in their {time::%player's uuid%} variable and then set their time and username in a variable for a hologram.
I need to make the console execute the command /db line set 1st 1 2 [this would be the player's username] and then also do /db line set 1st 1 3 [this would be the {time::%player's uuid%} variable.
I would need to repeat this for 1st, 2nd and 3rd.
Anything helps, thanks.
- daniel_
I'm trying to make a leaderboard skript for my server with holograms.
I need to know how to find the player's (online + offline) with the highest number in their {time::%player's uuid%} variable and then set their time and username in a variable for a hologram.
I need to make the console execute the command /db line set 1st 1 2 [this would be the player's username] and then also do /db line set 1st 1 3 [this would be the {time::%player's uuid%} variable.
I would need to repeat this for 1st, 2nd and 3rd.
Anything helps, thanks.
- daniel_