Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on place:
- if event-block is a TNT:
- cancel event
- loop {notify::*}:
- send "&c[TNTChecker]&e%player%&bが&d%event-position%&eにTNTブロックを設置しました。" to loop-value
- command /tntnotify [<text>]:
- trigger:
- if arg 1 is "yes" or "true" or "enable":
- if {notify::*} contains player:
- send "&cあなたはすでにTNT設置の通達を受け取るよう設定されています。"
- stop
- add player to {notify::*}
- send "&bTNT設置の通達を受け取るよう設定しました。"
- stop
- if arg 1 is "no" or "false" or "disable":
- if {notify::*} does not contain player:
- send "&cあなたはTNT設置の通達を受け取らないよう設定しています。"
- stop
- remove player from {notify::*}
- send "&bTNT設置の通達を受け取らないよう設定しました。"
- stop
- send "&c使用法:/tntnotify <yes(true,enable)|no(false,disable)>"
- send ""
- send "&bTNTが設置された際、通知を受け取るかどうかを設定します。"
- send "&eデフォルトは&b無効&eになっています。"
- stop
- on explode:
- cancel event
- loop {notify::*}:
- send "&c[Explosion]&e%event-position%&bの爆発をキャンセルしました。" to loop-value
Advertisement
Add Comment
Please, Sign In to add comment