Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- prefix: &b&lNickName
- tablist color: &7
- Command /nickname [<text>]:
- trigger:
- player has permission "nickname.nick":
- argument-1 is set:
- set {nick.%uuid of player%} to argument-1
- send "{@prefix} &8» &7Your nickname was set to '&b%argument-1%&7'"
- set the player's tablist name to "%{@tablist color}%%{nick.%uuid of player%}%"
- set the player's display name to "%argument-1%"
- else:
- send "{@prefix} &8» &7Usage: /nick <name>"
- else:
- send "%{@prefix}% &8» &7You do not have permission to change your nickname!"
- Command /unnick:
- trigger:
- player has permission "nickname.unnick":
- set {nick.%uuid of player%} to player
- send "{@prefix} &8» &7Your nickname was reset"
- set the player's tablist name to "%{@tablist color}%%player%"
- set the player's display name to "%player%"
- else:
- send "{@prefix} &8» &7You do not have permission to remove your nickname!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement