Skript:
on join:
wait 2 seconds
if {Ranks::%player's uuid%} isn't set:
set {Ranks::%player's uuid%} to "Member"
loop all players:
if {Ranks::%loop-player's uuid%} is "Owner":
set loop-player's tablist name to " &a&l%{Ranks::%loop-player's uuid%}% &f%loop-player's name%"
else:
set loop-player's tablist name to "&a&l%{Ranks::%loop-player's uuid%}% &f%loop-player's name%
I have already set the ranks stuff but basically, is it possible to set the player with owner rank to the tob of the tablist and those with other ranks to the bottom using only skript?
on join:
wait 2 seconds
if {Ranks::%player's uuid%} isn't set:
set {Ranks::%player's uuid%} to "Member"
loop all players:
if {Ranks::%loop-player's uuid%} is "Owner":
set loop-player's tablist name to " &a&l%{Ranks::%loop-player's uuid%}% &f%loop-player's name%"
else:
set loop-player's tablist name to "&a&l%{Ranks::%loop-player's uuid%}% &f%loop-player's name%
I have already set the ranks stuff but basically, is it possible to set the player with owner rank to the tob of the tablist and those with other ranks to the bottom using only skript?