Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &2[Command]
- on command:
- loop all players:
- if loop-player has permission "admin":
- if {log.%loop-player%} is not set:
- set {log.%loop-player%} to true
- if {log.%loop-player%} is true:
- if player is not set:
- stop
- message " {@prefix} &2%player%さんがコマンドを打ちました [Command]/%full command%" to loop-player
- command /cmd <text>:
- permission:admin
- trigger:
- if arg-1 is set:
- if arg-1 is "on":
- set {log.%player%} to true
- message " {@prefix}&2コマンドログ表示を&1on&2にしました。"
- stop
- if arg-1 is "off":
- set {log.%player%} to false
- message " {@prefix}&2コマンドログ表示を&1off&2にしました。"
- stop
- else:
- message "{@prefix}&7/cmd <on,off>"
- command /chat <text>:
- permission:admin
- trigger:
- if arg-1 is set:
- if arg-1 is "o":
- set {co.%player%} to true
- message " {@prefix}&2コマンドログ表示を&1on&2にしました。"
- stop
- if arg-1 is "a":
- set {co.%player%} to false
- message " {@prefix}&2コマンドログ表示を&1off&2にしました。"
- stop
- else:
- message "{@prefix}&7/chat <o,a>"
- on chat:
- if the first 1 characters of message contains ".":
- loop all players:
- if loop-player has permission "admin":
- if {log.%loop-player%} is not set:
- set {log.%loop-player%} to true
- if {log.%loop-player%} is true:
- if player is not set:
- stop
- message " {@prefix} &2%player%さんが.が始めのチャットをしました[.]%message%" to loop-player
- if {co.%player%} is true:
- loop all players:
- if loop-player has permission "admin":
- if {log.%loop-player%} is not set:
- set {log.%loop-player%} to true
- if {log.%loop-player%} is true:
- if player is not set:
- stop
- message "&7[opchat]%message%" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement