SHARE
TWEET

Untitled

a guest Mar 26th, 2020 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #0 = normal
  2. #1 = helper
  3. #2 = mod
  4. #3 = sr mod
  5. #4 = admin
  6. #5 = owner
  7.  
  8. variables:
  9.     {rank.%player%} = 0
  10.  
  11. command /hire <player>:
  12.     permission: rank.hire
  13.     permission message: &4You can't do that.
  14.     trigger:
  15.         if {rank.%arg%} is 1, 2, 3, 4 or 5:
  16.             send "&a%arg% &4 is alredy in staff team!" to player
  17.             stop
  18.         set {rank.%arg%} to 1
  19.         send "&a%arg% &4has been promoted to &f[&3&lHELPER&f]" to player
  20.         send "&aYou &4have been promoted to &f[&3&lHELPER&f]" to arg
  21.  
  22. command /promote <player>:
  23.     permission: rank.promote
  24.     permission message: &4You can't do that.
  25.     trigger:
  26.         if {rank.%player%} is 5:
  27.             send "&a%arg% &4is alredy owner!" to player
  28.             stop
  29.         add 1 to {rank.%arg%}
  30.         if {rank.%arg%} is 1:
  31.             send "&a%arg% &4has been promoted to &f[&3&lHELPER&f]" to player
  32.             send "&aYou &4have been promoted to &f[&3&lHELPER&f]" to arg
  33.         if {rank.%arg%} is 2:
  34.             send "&a%arg% &4has been promoted to &f[&e&lMOD&f]" to player
  35.             send "&aYou &4have been promoted to &f[&e&lMOD&f]" to arg
  36.         if {rank.%arg%} is 3:
  37.             send "&a%arg% &4has been promoted to &f[&e&lSr. Mod&f]" to player
  38.             send "&aYou &4have been promoted to &f[&e&lSr. Mod&f]" to arg
  39.         if {rank.%arg%} is 4:
  40.             send "&a%arg% &4has been promoted to &f[&c&lADMIN&f]" to player
  41.             send "&aYou &4have been promoted to &f[&c&lADMIN&f]" to arg
  42.         if {rank.%arg%} is 5:
  43.             send "&a%arg% &4has been promoted to &f[&c&lOWNER&f]" to player
  44.             send "&aYou &4have been promoted to &f[&c&lOWNER&f]" to arg
  45.  
  46. command /demote <player>:
  47.     permission: rank.demote
  48.     permission message: &4You can't do that.
  49.     trigger:
  50.         if {rank.%player%} is 0:
  51.             send "&a%arg% &4is alredy default." to player
  52.             stop
  53.         remove 1 from {rank.%arg%}
  54.         if {rank.%arg%} is 0:
  55.             send "&a%arg% &4has been demoted to &7Default" to player
  56.             send "&aYou &4have been demoted to &7Default" to arg
  57.         if {rank.%arg%} is 1:
  58.             send "&a%arg% &4has been demoted to &f[&3&lHELPER&f]" to player
  59.             send "&aYou &4have been demoted to &f[&3&lHELPER&f]" to arg
  60.         if {rank.%arg%} is 2:
  61.             send "&a%arg% &4has been demoted to &f[&e&lMOD&f]" to player
  62.             send "&aYou &4have been demoted to &f[&e&lMOD&f]" to arg
  63.         if {rank.%arg%} is 3:
  64.             send "&a%arg% &4has been demoted to &f[&e&lSr. Mod&f]" to player
  65.             send "&aYou &4have been demoted to &f[&e&lSr. Mod&f]" to arg
  66.         if {rank.%arg%} is 4:
  67.             send "&a%arg% &4has been demoted to &f[&c&lADMIN&f]" to player
  68.             send "&aYou &4have been demoted to &f[&c&lADMIN&f]" to arg
  69.  
  70.  
  71.  
  72. command /instademote <player>:
  73.     permission: rank.demote
  74.     permission message: &4You can't do that.
  75.     trigger:
  76.         if {rank.%player%} is 0:
  77.             send "&a%arg% &4is alredy default." to player
  78.             stop
  79.         set {rank.%arg%} to 0
  80.         send "&a%arg% &4has been demoted to &7Default" to player
  81.         send "&aYou &4have been demoted to &7Default" to arg
  82.  
  83.  
  84. command /check <player>:
  85.     permission: rank.check
  86.     permission message: &4You can't do that.
  87.     trigger:
  88.         if {rank.%arg%} is 0:
  89.             send "&a%arg% &4is currently &7Default" to player
  90.         if {rank.%arg%} is 1:
  91.             send "&a%arg% &4is currently &f[&3&lHELPER&f]" to player
  92.         if {rank.%arg%} is 2:
  93.             send "&a%arg% &4is currently &f[&e&lMOD&f]" to player
  94.         if {rank.%arg%} is 3:
  95.             send "&a%arg% &4is currently &f[&e&lSr. Mod&f]" to player
  96.         if {rank.%arg%} is 4:
  97.             send "&a%arg% &4is currently &f[&c&lADMIN&f]" to player
  98.         if {rank.%arg%} is 5:
  99.             send "&a%arg% &4is currently &f[&c&lOWNER&f]" to player
  100.  
  101. on chat:
  102.     if {rank.%player%} is 0:
  103.         broadcast "&7%player's display name%: %message%"
  104.         cancel event
  105.         stop
  106.     if {rank.%player%} is 1:
  107.         broadcast "&f[&3&lHELPER&f] %player's display name%: %message%"
  108.         cancel event
  109.         stop
  110.     if {rank.%player%} is 2:
  111.         broadcast "&f[&e&lMOD&f] %player's display name%: %message%"
  112.         cancel event
  113.         stop
  114.     if {rank.%player%} is 3:
  115.         broadcast "&f[&e&lSr. Mod&f] %player's display name%: %message%"
  116.         cancel event
  117.         stop
  118.     if {rank.%player%} is 4:
  119.         broadcast "&f[&c&lADMIN&f] %player's display name%: %message%"
  120.         cancel event
  121.         stop
  122.     if {rank.%player%} is 5:
  123.         broadcast "&f[&c&lOWNER&f] %player's display name%: %message%"
  124.         cancel event
  125.         stop
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top