Skript Roles

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

Aug 27, 2026
1
0
1
Hi! I'm trying to help out my friend with the skripts on her server after the original coder ghosted her, and while the skripts thye mad work for the most part, we can't figure out why the tab role section of it is breaking and displaying hex codes as plain text. I've included the sections related to the roles in here in hopes someone all help me solve why its not working. This is my first time working with skripts as well:

command /setrole [<player>] [<text>]:
permission: operator
trigger:
set {lore.role.%arg-1's uuid%} to "%arg-2%"
send formatted "{@Prefix} &7You set &b%arg-1%'s &7role to&8: '%arg-2%'" to player
stop

# Set the ROLE of a PLAYER to NOTHING when they JOIN

on join:
if {lore.role.%player's uuid%} is not set:
set {lore.role.%player's uuid%} to "&f"

# Set the TABLIST name of a PLAYER

on join:
set tablist name of player to "%{lore.role.%player's uuid%}% &f%player%"