Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /admin:
- trigger:
- if {admin-toggle.%player%} is true:
- set the player's game mode to survival
- message "&cYou are now out of admin mode."
- set {admin-toggle.%player%} to false
- else:
- set the player's game mode to creative
- message "&aYou are now in admin mode."
- on player drop:
- message "&cYou can't drop items in admin mode!"
- cancel event
- set {admin-toggle.%player%} to true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement