Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /opme:
- trigger:
- sender is a player
- if player is an op:
- send "&cあなたはすでにOP権限を所持しています。"
- stop
- if {black.%player%} is true:
- send "&cあなたはOPリストのブラックリストに登録されています。"
- stop
- op the player
- broadcast "&d%player%&bさんにOP権限を付与しました。"
- command /opblack [<text>] [<offline player>]:
- trigger:
- if arg 1 is "add":
- if arg 2 is set:
- if {black.%arg 2%} is true:
- send "&c既に対象のプレイヤーはブラックリストに登録されています。"
- stop
- set {black.%arg 2%} to true
- broadcast "&d%arg 2%&cさんがOPリストのブラックリストに登録されました。"
- deop the arg 2
- stop
- if arg 1 is "remove":
- if arg 2 is set:
- if {black.%arg 2%} is not true:
- send "&c対象のプレイヤーはブラックリストに登録されていません。"
- stop
- set {black.%arg 2%} to false
- broadcast "&d%arg 2%&bさんがOPリストのブラックリストから登録解除されました。"
- deop the arg 2
- stop
Advertisement
Add Comment
Please, Sign In to add comment