FrostedWeFall

W/g

Nov 26th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. on place:
  2. if player has permission "guard.cantplace":
  3. cancel event
  4. send "&cYou cannot place this block!" to player
  5.  
  6. on break:
  7. if player has permission "guard.cantbreak":
  8. cancel event
  9. send "&cYou cannot break this block!" to player
  10.  
  11. command /guard reload:
  12. permission: guard.admin
  13. permission message: &cYou cannot execute this command!
  14. trigger:
  15. execute console command "skript reload Guard.sk"
  16. send "&cReloaded Guard.sk" to player
  17. send "&c&lGuard.sk HAS BEEN RELOADED! This command can break things. Please PM Gent1emen if this happens" to console
  18.  
  19. command /guard admin:
  20. permission: guard.admin
  21. permission message: &cYou cannot execute this command!
  22. trigger:
  23. open chest with 6 rows named "Administration" to player
  24. wait 1 tick
  25. format slot 4 of player with redstone_block named "&4&lDisable Plugin" with lore "ONLY DO THIS IN EMERGENCY!" to close then [execute console command "sk disable Guard.sk"]
  26. format slot 5 of player with emerald_block named "&a&lReload Plugin" with lore "RELOAD PLUGIN" to close then [execute console command "guard reload"]
  27. format slot 6 of player with Gent1emen's skull named "&1&lA&2&kU&3&LT&4&LH&5&LO&6&LR &6> &2&l&oGent1emen" to close then [execute console command "tell %player% https://www.spigotmc.org/resources/authors/gent1emen.216907/"]
Add Comment
Please, Sign In to add comment