Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /nick:
- permission: server.nick
- trigger:
- open chest with 1 row named "&b&lNicks" to player
- format slot 0 of player with paper named "&fNick As &7Default" to close then run [execute console command "setnickrank %player% default"]
- format slot 2 of player with paper named "&fNick As &aVip" to close then run [execute console command "setnickrank %player% vip"]
- format slot 4 of player with paper named "&fNick As &aVip&6+" to close then run [execute console command "setnickrank %player% vip+"]
- format slot 6 of player with paper named "&fNick As &9Mvp" to close then run [execute console command "setnickrank %player% mvp"]
- format slot 8 of player with barrier named "&c&lCancel" to close
- command /setnickrank <player> <text>:
- permission: *
- executable by: console
- trigger:
- if arg 2 is "Default":
- set {frank.%arg 1%} to ""
- set {chatnick.%arg 1%} to true
- set {fakerank.%arg 1%} to "Default"
- send "&3Type Your New Nickname In The Chat !" to arg 1
- if arg 2 is "Vip":
- set {frank.%arg 1%} to "&8[&aVip&8]"
- set {chatnick.%arg 1%} to true
- send "&3Type Your New Nickname In The Chat !" to arg 1
- if arg 2 is "Vip+":
- set {frank.%arg 1%} to "&8[&aVip&6+&8]"
- set {chatnick.%arg 1%} to true
- send "&3Type Your New Nickname In The Chat !" to arg 1
- if arg 2 is "mvp":
- set {frank.%arg 1%} to "&8[&9Mvp&8]"
- set {chatnick.%arg 1%} to true
- send "&3Type Your New Nickname In The Chat !" to arg 1
- on chat:
- if {chatnick.%player%} is true:
- cancel event
- set {name.%player%} to message
- send "&cYour Displayed Nick Now Is %{frank.%player%}% &7%message%"
- set {chatnick.%player%} to false
- if {frank.%player%} is set:
- set chat format to "%{frank.%player%}% &7%{name.%player%}% &8| &7%colored message%"
- set player tab name to "%{frank.%player%}% &7%{name.%player%}%"
- set player's display name to "%{frank.%player%}% &7%{name.%player%}%
- command /unnick:
- permission: server.unnick
- trigger:
- delete {frank.%player%}
- send "&cYou've successfully unnicked"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement