Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #By xBetter
- variables:
- {on.tnt} = true
- command /tnt [<text>]:
- permission: tnt.on
- permission message: &4Blad: &cBrak uprawnien!
- trigger:
- if arg 1 is not set:
- if {on.tnt} is false
- set {tnt.wlaczone} to true
- broadcast "&8> &7TNT zostalo wlaczone przez &c%player%&7!"
- stop
- if {on.tnt} is true
- set {tnt.wlaczone} to false
- broadcast "&8> &7TNT zostalo wylaczone przez &c%player%&7!"
- stop
- if arg 1 is set:
- send "&4Blad: &cWpisz &a/tnt &caby wylaczyc lub wlaczyc tnt!"
- on place a tnt:
- {on.tnt} is false:
- send "&4Blad: &cTNT jest tymczasowo wylaczone!"
- cancel event
- on place a Dispenser:
- {on.tnt} is false:
- send "&4Blad: &cDispensery sa tymczasowo wylaczone!"
- cancel event
- on place a Dropper:
- {on.tnt} is false:
- send "&4Blad: &cDroppery sa tymczasowo wylaczone!"
- cancel event
- stop
Advertisement
Add Comment
Please, Sign In to add comment