Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {tnt.%player%} is not set:
- set {tnt.%player%} to false
- else:
- stop
- command //placetnt [<player>]:
- permission: minecraft.command.op
- permission message: &c権限がありません。
- trigger:
- if arg 1 is not set:
- if {tnt.%player%} is false:
- set {tnt.%player%} to true
- message "&a%player%さんのTNT設置を許可しました。"
- stop
- if {tnt.%player%} is true:
- set {tnt.%player%} to false
- message "&a%player%さんのTNT設置を禁止しました。"
- stop
- if arg 1 is set:
- if {tnt.%arg 1%} is false:
- set {tnt.%arg 1%} to true
- message "&a%arg 1%さんのTNT設置を許可しました。"
- stop
- if {tnt.%arg 1%} is true:
- set {tnt.%arg 1%} to false
- message "&a%arg 1%さんのTNT設置を禁止しました。"
- stop
- else:
- message "&c無効なテキストです。"
- stop
- on rightclick holding a tnt:
- if name of held item contains "&6TNT":
- shoot a tnt from the player at speed 1
- on place of tnt:
- if {tnt.%player%} is true:
- stop
- if {tnt.%player%} is false:
- cancel event
- else:
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement