Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on place:
- if player has permission "guard.cantplace":
- cancel event
- send "&cYou cannot place this block!" to player
- on break:
- if player has permission "guard.cantbreak":
- cancel event
- send "&cYou cannot break this block!" to player
- command /guard reload:
- permission: guard.admin
- permission message: &cYou cannot execute this command!
- trigger:
- execute console command "skript reload Guard.sk"
- send "&cReloaded Guard.sk" to player
- send "&c&lGuard.sk HAS BEEN RELOADED! This command can break things. Please PM Gent1emen if this happens" to console
- command /guard admin:
- permission: guard.admin
- permission message: &cYou cannot execute this command!
- trigger:
- open chest with 6 rows named "Administration" to player
- wait 1 tick
- 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"]
- format slot 5 of player with emerald_block named "&a&lReload Plugin" with lore "RELOAD PLUGIN" to close then [execute console command "guard reload"]
- format slot 6 of player with Gent1emen's skull named "&1&lA&2&kU&3<&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