Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if arg-1 is "editmode":
- if player has permission "PIT.EDITMODE":
- if {pit.%uuid of player%.build} is not set:
- set {pit.%uuid of player%.build} to true
- send "%colored {THEPIT::MESSAGES::PREFIX}% &cYou are now able to build."
- stop
- else:
- delete {pit.%uuid of player%.build}
- send "%colored {THEPIT::MESSAGES::PREFIX}% &cYou are not allowed to build anymore."
- stop
- else:
- send "%colored {THEPIT::MESSAGES::PREFIX}% &cYou don't have permission to do that."
- stop
- on place:
- if {pit.%uuid of player%.build} is set:
- stop
- if {pit.%uuid of player%.state} is "ingame":
- if event-block is obsidian:
- wait 120 seconds
- set event-block to air
- if event-block is lava:
- wait 2 seconds
- set event-block to air
- else:
- cancel event
- else:
- stop
- on break:
- if {pit.%uuid of player%.build} is set:
- stop
- if {pit.%uuid of player%.state} is "ingame":
- cancel event
- else:
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement