Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #0 = normal
- #1 = helper
- #2 = mod
- #3 = sr mod
- #4 = admin
- #5 = owner
- variables:
- {rank.%player%} = 0
- command /hire <player>:
- permission: rank.hire
- permission message: &4You can't do that.
- trigger:
- if {rank.%arg%} is 1, 2, 3, 4 or 5:
- send "&a%arg% &4 is alredy in staff team!" to player
- stop
- set {rank.%arg%} to 1
- send "&a%arg% &4has been promoted to &f[&3&lHELPER&f]" to player
- send "&aYou &4have been promoted to &f[&3&lHELPER&f]" to arg
- command /promote <player>:
- permission: rank.promote
- permission message: &4You can't do that.
- trigger:
- if {rank.%player%} is 5:
- send "&a%arg% &4is alredy owner!" to player
- stop
- add 1 to {rank.%arg%}
- if {rank.%arg%} is 1:
- send "&a%arg% &4has been promoted to &f[&3&lHELPER&f]" to player
- send "&aYou &4have been promoted to &f[&3&lHELPER&f]" to arg
- if {rank.%arg%} is 2:
- send "&a%arg% &4has been promoted to &f[&e&lMOD&f]" to player
- send "&aYou &4have been promoted to &f[&e&lMOD&f]" to arg
- if {rank.%arg%} is 3:
- send "&a%arg% &4has been promoted to &f[&e&lSr. Mod&f]" to player
- send "&aYou &4have been promoted to &f[&e&lSr. Mod&f]" to arg
- if {rank.%arg%} is 4:
- send "&a%arg% &4has been promoted to &f[&c&lADMIN&f]" to player
- send "&aYou &4have been promoted to &f[&c&lADMIN&f]" to arg
- if {rank.%arg%} is 5:
- send "&a%arg% &4has been promoted to &f[&c&lOWNER&f]" to player
- send "&aYou &4have been promoted to &f[&c&lOWNER&f]" to arg
- command /demote <player>:
- permission: rank.demote
- permission message: &4You can't do that.
- trigger:
- if {rank.%player%} is 0:
- send "&a%arg% &4is alredy default." to player
- stop
- remove 1 from {rank.%arg%}
- if {rank.%arg%} is 0:
- send "&a%arg% &4has been demoted to &7Default" to player
- send "&aYou &4have been demoted to &7Default" to arg
- if {rank.%arg%} is 1:
- send "&a%arg% &4has been demoted to &f[&3&lHELPER&f]" to player
- send "&aYou &4have been demoted to &f[&3&lHELPER&f]" to arg
- if {rank.%arg%} is 2:
- send "&a%arg% &4has been demoted to &f[&e&lMOD&f]" to player
- send "&aYou &4have been demoted to &f[&e&lMOD&f]" to arg
- if {rank.%arg%} is 3:
- send "&a%arg% &4has been demoted to &f[&e&lSr. Mod&f]" to player
- send "&aYou &4have been demoted to &f[&e&lSr. Mod&f]" to arg
- if {rank.%arg%} is 4:
- send "&a%arg% &4has been demoted to &f[&c&lADMIN&f]" to player
- send "&aYou &4have been demoted to &f[&c&lADMIN&f]" to arg
- command /instademote <player>:
- permission: rank.demote
- permission message: &4You can't do that.
- trigger:
- if {rank.%player%} is 0:
- send "&a%arg% &4is alredy default." to player
- stop
- set {rank.%arg%} to 0
- send "&a%arg% &4has been demoted to &7Default" to player
- send "&aYou &4have been demoted to &7Default" to arg
- command /check <player>:
- permission: rank.check
- permission message: &4You can't do that.
- trigger:
- if {rank.%arg%} is 0:
- send "&a%arg% &4is currently &7Default" to player
- if {rank.%arg%} is 1:
- send "&a%arg% &4is currently &f[&3&lHELPER&f]" to player
- if {rank.%arg%} is 2:
- send "&a%arg% &4is currently &f[&e&lMOD&f]" to player
- if {rank.%arg%} is 3:
- send "&a%arg% &4is currently &f[&e&lSr. Mod&f]" to player
- if {rank.%arg%} is 4:
- send "&a%arg% &4is currently &f[&c&lADMIN&f]" to player
- if {rank.%arg%} is 5:
- send "&a%arg% &4is currently &f[&c&lOWNER&f]" to player
- on chat:
- if {rank.%player%} is 0:
- broadcast "&7%player's display name%: %message%"
- cancel event
- stop
- if {rank.%player%} is 1:
- broadcast "&f[&3&lHELPER&f] %player's display name%: %message%"
- cancel event
- stop
- if {rank.%player%} is 2:
- broadcast "&f[&e&lMOD&f] %player's display name%: %message%"
- cancel event
- stop
- if {rank.%player%} is 3:
- broadcast "&f[&e&lSr. Mod&f] %player's display name%: %message%"
- cancel event
- stop
- if {rank.%player%} is 4:
- broadcast "&f[&c&lADMIN&f] %player's display name%: %message%"
- cancel event
- stop
- if {rank.%player%} is 5:
- broadcast "&f[&c&lOWNER&f] %player's display name%: %message%"
- cancel event
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement