Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on place of tnt:
- if {TNT.Place.%player%} is true:
- stop
- else:
- cancel event
- send "&c%player% さんがTNTを置きました。荒らしだと判断した場合はBANすることをお勧めします" to op
- command /tntplace [<player>] [<text>]:
- permission: op
- permission message: &cOP権限がないとこのコマンドを使用することができません
- trigger:
- if arg 1 is not set:
- send "&c使用方法 : /tntplace (player) (true / false)"
- send "&ctrue // プレイヤーのTNTの使用を許可します"
- send "&cfalse // プレイヤーのTNTの使用を禁止します"
- else:
- if arg 2 is not set:
- send "&c使用方法 : /tntplace (player) (true / false)"
- send "&ctrue // プレイヤーのTNTの使用を許可します"
- send "&cfalse // プレイヤーのTNTの使用を禁止します"
- if arg 2 is "true":
- send "&c%arg 1% さんのTNTの使用を許可しました"
- set {TNT.Place.%arg 1%} to true
- if arg 2 is "false":
- send "&c%arg 1% さんのTNTの使用を禁止しました"
- set {TNT.Place.%arg 1%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement