Advertisement
Guest User

Untitled

a guest
Feb 24th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. Options:
  2. prefix: &b&lNickName
  3. tablist color: &7
  4.  
  5. Command /nickname [<text>]:
  6. trigger:
  7. player has permission "nickname.nick":
  8. argument-1 is set:
  9. set {nick.%uuid of player%} to argument-1
  10. send "{@prefix} &8» &7Your nickname was set to '&b%argument-1%&7'"
  11. set the player's tablist name to "%{@tablist color}%%{nick.%uuid of player%}%"
  12. set the player's display name to "%argument-1%"
  13. else:
  14. send "{@prefix} &8» &7Usage: /nick <name>"
  15. else:
  16. send "%{@prefix}% &8» &7You do not have permission to change your nickname!"
  17.  
  18. Command /unnick:
  19. trigger:
  20. player has permission "nickname.unnick":
  21. set {nick.%uuid of player%} to player
  22. send "{@prefix} &8» &7Your nickname was reset"
  23. set the player's tablist name to "%{@tablist color}%%player%"
  24. set the player's display name to "%player%"
  25. else:
  26. send "{@prefix} &8» &7You do not have permission to remove your nickname!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement