Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /Antihackboom [<text>] [<text>] [<player>]:
- permission:admin
- trigger:
- if arg 1 is not set:
- message "&b&l-=-=-&a&lHackBoom!!-=-=-"
- message "&b■&f/hackboom ban &d: &fSTOP対策のコマンドを表示"
- stop
- if arg 1 is "STOP":
- if arg 2 is not set:
- message "&b■&f/hackboom STOP add <Name> &d: &f<Name>に、STOP権限を与えます"
- message "&b■&f/hackboom STOP delete <Name> &d: &f<Name>の、STOP権限を剥奪します"
- stop
- if arg 2 is "add":
- set {boomstop.%arg-3%} to "true"
- message "&a[HackBoom] &a>>> &f%arg-3%&aにSTOP権限を与えました" to player
- stop
- if arg 2 is "delete":
- set {boomstop.%arg-3%} to "false"
- message "&a[HackBoom] &a>>> &f%arg-3%&aのSTOP権限を剥奪しました" to player
- stop
- on command "/stop":
- if sender is not console:
- if player has permission "admin":
- if {boomstop.%player%} is not "true":
- cancel event
- broadcast "&c[Alert] &b>>> &c%player%がSTOPをしようとしました"
- stop
- else:
- cancel event
Add Comment
Please, Sign In to add comment