Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on chat:
- if {Color::%player's uuid%} is set:
- set chat format to "&6[%player's level%&6]&r &7%player's nickname% %{Rank::%player's uuid%}%&8: %{Color::%player's uuid%}%%message%"
- stop
- else if {Color::%player's uuid%} is not set:
- if {Rank::%player's uuid%} is not "&6&oHost" or "&6&oCo-Host" or "&c&oManager" or "&c&oAdmin":
- set chat format to "&6[%player's level%]&r &7%player's nickname% %{Rank::%player's uuid%}%&8: &7%message%"
- else if {Rank::%player's uuid%} is "&6&oHost" or "&6&oCo-Host" or "&c&oManager" or "&c&oAdmin":
- set chat format to "&6[%player's level%]&r &f&l%player's nickname% %{Rank::%player's uuid%}%&8: &f%message%"
- command /rank [<text>] [<player>] [<text>]:
- trigger:
- if player doesn't have permission "command.rank":
- send ""
- send "&4&lERROR"
- send ""
- send "&cYou do not have permission to use this command!"
- send ""
- stop
- if arg-1 is "help" or "?":
- send ""
- send " &6&lRANKS"
- send ""
- send "/rank <help/?>"
- send "/rank set <player> <rank>"
- send "/rank list"
- send ""
- stop
- if arg-1 is not set:
- send ""
- send " &6&lRANKS"
- send ""
- send "/rank <help/?>"
- send "/rank set <player> <rank>"
- send "/rank list"
- send ""
- stop
- if arg-1 is "list":
- send "&6&oHost &8- &fHost"
- send "&6&oCo-Host &8- &fCo-Host"
- send "&c&oManager &8- &fManager"
- send "&c&oAdmin &8- &fAdmin"
- send "&e&oSrMod &8- &fSrMod"
- send "&e&oMod &8- &fMod"
- send "&e&oJrMod &8- &fJrMod"
- send "&d&oBuilder &8- &fBuilder"
- send "&6✧✧ &8- &fLEGEND"
- send "&6✧ &8- &fVIP"
- send "&7 &8- &fDefault"
- if arg-1 is "Set":
- if arg-2 is set:
- if arg-3 is "Host" or "Owner":
- if player is "PeaceSteveOfLife":
- send "" to player
- send "You set &e%arg-2%&f's rank to &eHost" to player
- send "" to player
- send "" to arg-2
- send "Your rank was set to &eHost" to arg-2
- send "" to arg-2
- set {Rank::%arg-2's uuid%} to "&6&oHost"
- stop
- else if player is not "PeaceSteveOfLife":
- send ""
- send "&4&lERROR"
- send ""
- send "&cYou do not have permission to use this command!"
- send ""
- stop
- if arg-3 is "Co-Host" or "CoHost":
- if player is "PeaceSteveOfLife":
- send "" to player
- send "You set &e%arg-2%&f's rank to &eCo-Host" to player
- send "" to player
- send "" to arg-2
- send "Your rank was set to &eCo-Host" to arg-2
- send "" to arg-2
- set {Rank::%arg-2's uuid%} to "&6&oCo-Host"
- stop
- else if player is not "PeaceSteveOfLife":
- send ""
- send "&4&lERROR"
- send ""
- send "&cYou do not have permission to use this command!"
- send ""
- stop
- if arg-3 is "Manager":
- if player is "PeaceSteveOfLife":
- send "" to player
- send "You set &e%arg-2%&f's rank to &e%arg-3%" to player
- send "" to player
- send "" to arg-2
- send "Your rank was set to &e%arg-3%" to arg-2
- send "" to arg-2
- set {Rank.Promote::%arg-2's uuid%} to 6
- set {Rank::%arg-2's uuid%} to "&c&oManager"
- stop
- else if player is not "PeaceSteveOfLife":
- send ""
- send "&4&lERROR"
- send ""
- send "&cYou do not have permission to use this command!"
- send ""
- stop
- if arg-3 is "Admin":
- if {Rank::%player's uuid%} is "&6&oHost" or "&c&oManager":
- send "" to player
- send "You set &e%arg-2%&f's rank to &e%arg-3%" to player
- send "" to player
- send "" to arg-2
- send "Your rank was set to &e%arg-3%" to arg-2
- send "" to arg-2
- set {Rank.Promote::%arg-2's uuid%} to 5
- set {Rank::%arg-2's uuid%} to "&c&oAdmin"
- else if {Rank::%player's uuid%} is not "&6&oHost" or "&c&oManager":
- send ""
- send "&4&lERROR"
- send ""
- send "&cYou do not have permission to use this command!"
- send ""
- stop
- if arg-3 is "SrMod":
- if {Rank::%player's uuid%} is "&6&oHost" or "&c&oManager":
- send "" to player
- send "You set &e%arg-2%&f's rank to &e%arg-3%" to player
- send "" to player
- send "" to arg-2
- send "Your rank was set to &e%arg-3%" to arg-2
- send "" to arg-2
- set {Rank.Promote::%arg-2's uuid%} to 4
- set {Rank::%arg-2's uuid%} to "&e&oSrMod"
- stop
- else if {Rank::%player's uuid%} is not "&6&oHost" or "&c&oManager":
- send ""
- send "&4&lERROR"
- send ""
- send "&cYou do not have permission to use this command!"
- send ""
- stop
- if arg-3 is "Mod":
- if {Rank::%player's uuid%} is "&6&oHost" or "&c&oManager":
- send "You set &e%arg-2%&f's rank to &e%arg-3%" to player
- send "" to player
- send "" to arg-2
- send "Your rank was set to &e%arg-3%" to arg-2
- send "" to arg-2
- set {Rank.Promote::%arg-2's uuid%} to 3
- set {Rank::%arg-2's uuid%} to "&e&oMod"
- stop
- else if {Rank::%player's uuid%} is not "&6&oHost" or "&c&oManager":
- send ""
- send "&4&lERROR"
- send ""
- send "&cYou do not have permission to use this command!"
- send ""
- stop
- if arg-3 is "JrMod":
- if {Rank::%player's uuid%} is "&6&oHost" or "&c&oManager":
- send "" to player
- send "You set &e%arg-2%&f's rank to &e%arg-3%" to player
- send "" to player
- send "" to arg-2
- send "Your rank was set to &e%arg-3%" to arg-2
- send "" to arg-2
- set {Rank.Promote::%arg-2's uuid%} to 2
- set {Rank::%arg-2's uuid%} to "&e&oJrMod"
- stop
- else if {Rank::%player's uuid%} is not "&6&oHost" or "&c&oManager":
- send ""
- send "&4&lERROR"
- send ""
- send "&cYou do not have permission to use this command!"
- send ""
- stop
- if arg-3 is "Builder":
- if {Rank::%player's uuid%} is "&6&oHost" or "&c&oManager":
- send "" to player
- send "You set &e%arg-2%&f's rank to &e%arg-3%" to player
- send "" to player
- send "" to arg-2
- send "Your rank was set to &e%arg-3%" to arg-2
- send "" to arg-2
- set {Rank.Promote::%arg-2's uuid%} to 1
- set {Rank::%arg-2's uuid%} to "&d&oBuilder"
- stop
- else if {Rank::%player's uuid%} is not "&6&oHost" or "&c&oManager":
- send ""
- send "&4&lERROR"
- send ""
- send "&cYou do not have permission to use this command!"
- send ""
- stop
- if arg-3 is "Legend":
- if {Rank::%player's uuid%} is "&6&oHost" or "&c&oManager" or "&c&oAdmin":
- send "" to player
- send "You set &e%arg-2%&f's rank to &e%arg-3%" to player
- send "" to player
- send "" to arg-2
- send "Your rank was set to &e%arg-3%" to arg-2
- send "" to arg-2
- set {Rank::%arg-2's uuid%} to "&6✧✧"
- stop
- else if {Rank::%player's uuid%} is not "&6&oHost" or "&c&oManager":
- send ""
- send "&4&lERROR"
- send ""
- send "&cYou do not have permission to use this command!"
- send ""
- stop
- if arg-3 is "VIP":
- if {Rank::%player's uuid%} is "&6&oHost" or "&c&oManager" or "&c&oAdmin":
- send "" to player
- send "You set &e%arg-2%&f's rank to &e%arg-3%" to player
- send "" to player
- send "" to arg-2
- send "Your rank was set to &e%arg-3%" to arg-2
- send "" to arg-2
- set {Rank::%arg-2's uuid%} to "&6✧"
- stop
- else if {Rank::%player's uuid%} is not "&6&oHost" or "&c&oManager":
- send ""
- send "&4&lERROR"
- send ""
- send "&cYou do not have permission to use this command!"
- send ""
- stop
- if arg-3 is "Default":
- if {Rank::%player's uuid%} is "&6&oHost" or "&c&oManager" or "&c&oHost":
- send "" to player
- send "You set &e%arg-2%&f's rank to &e%arg-3%" to player
- send "" to player
- send "" to arg-2
- send "Your rank was set to &e%arg-3%" to arg-2
- send "" to arg-2
- set {Rank.Promote::%arg-2's uuid%} to 0
- set {Rank::%arg-2's uuid%} to "&7"
- stop
- else if {Rank::%player's uuid%} is not "&6&oHost" or "&c&oManager":
- send ""
- send "&4&lERROR"
- send ""
- send "&cYou do not have permission to use this command!"
- send ""
- stop
- every tick:
- loop all players:
- if {Rank::%loop-player's uuid%} is not set:
- set {Rank::%loop-player's uuid%} to "&7"
- every tick in "world":
- loop all players:
- if {Rank::%loop-player's uuid%} is not "&c&oAdmin" or "&6&oCo-Host" or "&6&oHost" or "&c&oManager":
- set loop-player's tablist name to "&7%loop-player% %{Rank::%loop-player's uuid%}%"
- else if {Rank::%loop-player's uuid%} is "&c&oAdmin" or "&6&oCo-Host" or "&6&oHost" or "&c&oManager":
- set loop-player's tablist name to "&f&l%loop-player% %{Rank::%loop-player's uuid%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement