Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- #Toggles the changing of the chat display name with the /nick command.
- #Default: true
- #Accepts: boolean (true/false, yes/no, on/off)
- changeChatNick: true
- #Toggles the changing of the tablist display name with the /nick command.
- #Default: true
- #Accepts: boolean (true/false, yes/no, on/off)
- changeTablistNick: true
- #Toggles the changing of the nametag (above head) display name with the /nick command.
- #Default: true
- #Accepts: boolean (true/false, yes/no, on/off)
- changeAboveHeadNick: true
- command /nick [<text>]:
- permission: nick.change
- permission message: <light red>You don<grey>'<light red>t have permission for this.
- executable by: players
- usage: /nick [new nick]
- description: Changes your above head,tablist and/or chat nick.
- trigger:
- if argument is set:
- set {_match} to uncolored (colored argument)
- if length of {_match} is less than 16:
- set {nickStorage::%sender's uuid%} to removeColors(argument, sender)
- if {@changeChatNick} is true:
- set sender's display name to {nickStorage::%sender's uuid%}
- if {@changeTablistNick} is true:
- set sender's mundosk tablist name to {nickStorage::%sender's uuid%}
- if {@changeAboveHeadNick} is true:
- set sender's nametag to {nickStorage::%sender's uuid%}
- send "<light green>あなたの名前は <grey>""%colored argument%<grey>""に変更されたよ!"
- else:
- send "ニックネームは16文字までです"
- else:
- if {@changeChatNick} = true:
- set sender's display name to sender's name
- if {@changeTablistNick} = true:
- set sender's mundosk tablist name to sender's name
- if {@changeAboveHeadNick} = true:
- set sender's nametag to sender's name
- send "<light green>あなたのニックネームは元に戻りました<grey>."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement