Your first item
A profile item in slot 2 that runs a command and plays a sound.
Create items/profile.conf:
material = "PLAYER_HEAD"
slot = 2
name = "<accent>Your profile"
lore = [ "<subtext>Right click to see your stats" ]
glow = false
unbreakable = true
triggers = ["join", "respawn"]
cooldown = "1s"
restrictions {
locked = true
}
right-click = [
"[menu] stats"
"[sound] minecraft:ui.button.click 1 1.2"
]
/uxmjoinitems reload./uxmjoinitems give <you> profileto see it now, or rejoin.- Right click it: the open screen closes and
/statsruns as you.
To move a player to another server instead, write "[server] survival".
Related: Item files, Clicks
Was this page helpful?