Category: Skript
Suggested name: no name required as this will only be a small section of my actual Skript
What I want:
I have created a referral system (which works good) But i want to be able to run a command where it'll show a list of the top 10 players with their number of referral points.
ex: a player runs the command /refer top, and it would return:
REFERRAL TOP PLAYERS
Player1 - 15 points
Player2 - 8 points
Player3 - 5 points
Player4 - 4 points
So far I have the referral system set up, that when a player earns a referral point, it pops it into a variable:
{refer.%player%.points.lifetime}
Now I just need to figure out a way for it to return a list of the top 10 players and their referral points in order descending from the highest number of points.
Ideas for commands:
command is already created, i just need what would run after the trigger
Ideas for permissions:
no need for permissions (i can add myself later if need be)
When I'd like it by: Within the next 24 hours would be nice, if not, I will wait.
Suggested name: no name required as this will only be a small section of my actual Skript
What I want:
I have created a referral system (which works good) But i want to be able to run a command where it'll show a list of the top 10 players with their number of referral points.
ex: a player runs the command /refer top, and it would return:
REFERRAL TOP PLAYERS
Player1 - 15 points
Player2 - 8 points
Player3 - 5 points
Player4 - 4 points
So far I have the referral system set up, that when a player earns a referral point, it pops it into a variable:
{refer.%player%.points.lifetime}
Now I just need to figure out a way for it to return a list of the top 10 players and their referral points in order descending from the highest number of points.
Ideas for commands:
command is already created, i just need what would run after the trigger
Ideas for permissions:
no need for permissions (i can add myself later if need be)
When I'd like it by: Within the next 24 hours would be nice, if not, I will wait.