Advertisement
CARAB4O

Untitled

Oct 31st, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. command /setrank [<offline player>]:
  2. permission: ranks.set
  3. permission message: &9SkywarsPlayers » &7No permissions.
  4. trigger:
  5. if arg-1 is not set:
  6. send "&4Epic&cNet &8» &7Please specify a player that you will set the rank of."
  7. else:
  8. open chest with 3 rows named "Select a category" to player
  9. wait 4 tick
  10. format slot 13 of player with book named "&cStaff Ranks" to run [make player execute command "setstaffrank %arg-1%"]
  11. format slot 26 of player with 1 of arrow named "&4Exit" to close
  12.  
  13. command /setstaffrank [<offline player>]:
  14. permission: ranks.set
  15. permission message: &cRanks » &7No permissions.
  16. trigger:
  17. if arg-1 is not set:
  18. send "&4Epic&cNet &8» &7Please specify a player that you will set the rank of."
  19. else:
  20. open chest with 6 rows named "&cStaff Ranks for %arg-1%" to player
  21. wait 4 tick
  22. format slot 4 of player with book named "&bSet %arg-1% rank to:" to be unstealable
  23. format slot 11 of player with Orange Dye named "&e&8[&eHelper&8]" to close then run [console command "pex user %arg-1% group set helper"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &eHelper&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&eHelper&8]&7!"]
  24. format slot 12 of player with Cactus Green named "&e&8[&2&lMod&8]" to close then run [console command "pex user %arg-1% group set mod"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &e&8[&2&lMod&8]&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&2&lMod&8]&7!"]
  25. format slot 13 of player with Purple Dye named "&e&8[&5Builder&8]" to close then run [console command "pex user %arg-1% group set builder"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &e&8[&5Builder&8]&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&5Builder&8]&7!"]
  26. format slot 14 of player with Rose Red named "&e&8[&c&lAdmin&8]" to close then run [console command "pex user %arg-1% group set admin"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &e&8[&c&lAdmin&8]&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&c&lAdmin&8]&7!"]
  27. format slot 15 of player with Redstone Dust named "&e&8[&4&lSr. Admin&8]" to close then run [console command "pex user %arg-1% group set head-admin"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &e&8[&4&lSr. Admin&8]&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&4&lSr. Admin&8]&7!"]
  28. format slot 20 of player with Light Blue Dye named "&e&8[&b&lManager&8]" to close then run [console command "pex user %arg-1% group set manager"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &e&8[&b&lManager&8]&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&b&lManager&8]&7!"]
  29. format slot 21 of player with Light Blue Concrete named "&e&8[&9&lDEV&8]" to close then run [console command "pex user %arg-1% group set dev"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &e&8[&9&lDEV&8]&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&9&lDEV&8]&7!"]
  30. format slot 22 of player with Blue Concrete named "&e&8[&1&ki&9&lHOST&1&ki&8]" to close then run [console command "pex user %arg-1% group set owner"]->[send "&4Epic&cNet &8» &7Your rank has been updated to &e&8[&1&ki&9&lHOST&1&ki&8]&7." to arg-1]->[send "&4Epic&cNet &8» &7You have set %arg-1%'s rank to &e&8[&1&ki&9&lHOST&1&ki&8]&7!"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement