Hi all,
First time on this forum, because I didn't get something to work.
What I want is a tabname for every player on the server with a Luckperms Prefix.
My code:
Thanks!
First time on this forum, because I didn't get something to work.
What I want is a tabname for every player on the server with a Luckperms Prefix.
My code:
Code:
on join:
set {server_tps_5} to placeholder "server_tps_5"
set {luckperms_groups} to placeholder "luckperms_groups"
set {simpleclans_clan_color_tag} to placeholder "simpleclans_clan_color_tag"
set {player's prefix} to placeholder "player's prefix"
if {simpleclans_clan_color_tag} is not set:
set the player's tablist name to "%{luckperms_prefix}%&7[%{simpleclans_clan_color_tag}%&7] &f%player%"
else:
set the player's tablist name to "%{luckperms_prefix}%&7[Geen] &f%player%"
every 1 second:
loop all players:
set loop-player's tablist name to "%{%loop-player%.luckperms_prefix}%&7[%{%loop-player%.simpleclans_clan_color_tag}%&7] &f%loop-player%"
set tab header to "&9[VeluweSMP]%nl%%nl%&7Spelers online: &9%number of all players%%nl%%nl%&9----------------" and footer to "&9----------------%nl%%nl%&3TPS: &7%{server_tps_5}%%nl%%nl%&7Onze website: &9veluwesmp.nl" for loop-player
Thanks!
Last edited: