Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- set {CommandLog.%Player%} to false
- options:
- Prefix: &7[CmdLog] &e%{_p}% &c>>> &b/%{_c}%
- UserUUID: "f8c7a897-6261-4a36-96ca-74ddd3344936"
- command Cmvservercmdlog [<text>] [<player>]:
- permission: Command.Admin
- trigger:
- if player's uuid is {@UserUUID}:
- if Arg 1 is "on":
- if Arg 2 isn't set:
- set {CommandLog.%Player%} to true
- send "&7[CmdLog] &aあなたのCommandLogを表示状態にしました"
- else if Arg 2 is online:
- set {CommandLog.%Arg 2%} to true
- send "&7[CmdLog] &a%Arg 2%さんのCommandLogを表示状態にしました"
- else:
- send "&7[CmdLog] &cオンラインのプレイヤーを指定してください。"
- else if Arg 1 is "off":
- if Arg 2 isn't set:
- set {CommandLog.%Player%} to false
- send "&7[CmdLog] &aあなたのCommandLogを非表示状態にしました"
- else if Arg 2 is online:
- set {CommandLog.%Arg 2%} to false
- send "&7[CmdLog] &a%Arg 2%さんのCommandLogを非表示状態にしました"
- else:
- send "&7[CmdLog] &cオンラインのプレイヤーを指定してください。"
- else:
- send "Unknown command. Type ""/help"" for help"
- on command:
- if sender is player:
- set {_p} to Player
- set {_c} to full command
- loop all players:
- if {CommandLog.%loop-player%} is true:
- execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &c>>> &b/%{_c}%"
- wait a tick
- send "%{Cmd::Log}%" to loop-player
- on command "/pl":
- if sender is player:
- set {_p} to Player
- set {_c} to full command
- if player's uuid is {@UserUUID}:
- else:
- send "Unknown command. Type ""/help"" for help"
- cancel event
- if sender is player:
- loop all players:
- if {CommandLog.%loop-player%} is true:
- if player's uuid is {@UserUUID}:
- send "w"
- else:
- execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4注意&a: &c/pl"
- on command "/plugins":
- if sender is player:
- set {_p} to Player
- set {_c} to full command
- if player's uuid is {@UserUUID}:
- else:
- send "Unknown command. Type ""/help"" for help"
- cancel event
- if sender is player:
- loop all players:
- if {CommandLog.%loop-player%} is true:
- if player's uuid is {@UserUUID}:
- send "w"
- else:
- execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4注意&a: &c/%{_c}%"
- on command "/bukkit:pl":
- if sender is player:
- set {_p} to Player
- set {_c} to full command
- if player's uuid is {@UserUUID}:
- else:
- send "Unknown command. Type ""/help"" for help"
- cancel event
- if sender is player:
- loop all players:
- if {CommandLog.%loop-player%} is true:
- if player's uuid is {@UserUUID}:
- send "w"
- else:
- execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4注意&a: &c/%{_c}%"
- on command "/bukkit:plugins":
- if sender is player:
- set {_p} to Player
- set {_c} to full command
- if player's uuid is {@UserUUID}:
- else:
- send "Unknown command. Type ""/help"" for help"
- cancel event
- if sender is player:
- loop all players:
- if {CommandLog.%loop-player%} is true:
- if player's uuid is {@UserUUID}:
- send "w"
- else:
- execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4注意&a: &c/%{_c}%"
- on command "/bukkit:about":
- if sender is player:
- set {_p} to Player
- set {_c} to full command
- send "Unknown command. Type ""/help"" for help"
- cancel event
- if sender is player:
- loop all players:
- if {CommandLog.%loop-player%} is true:
- execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4要注意&a: &c/%{_c}%"
- on command "/bukkit:ver":
- set {_p} to Player
- set {_c} to full command
- cancel event
- send "Unknown command. Type ""/help"" for help"
- if sender is player:
- loop all players:
- if {CommandLog.%loop-player%} is true:
- execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4要注意&a: &c/%{_c}%"
- on command "/ver":
- set {_p} to Player
- set {_c} to full command
- cancel event
- send "Unknown command. Type ""/help"" for help"
- if sender is player:
- loop all players:
- if {CommandLog.%loop-player%} is true:
- execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4要注意&a: &c/%{_c}%"
- on command "/about":
- set {_p} to Player
- set {_c} to full command
- cancel event
- send "Unknown command. Type ""/help"" for help"
- if sender is player:
- loop all players:
- if {CommandLog.%loop-player%} is true:
- execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4要注意&a: &c/%{_c}%"
- command /about [<text>]:
- trigger:
- command /ver [<text>]:
- trigger:
- command /bukkit:about [<text>]:
- trigger:
- command /bukkit:ver [<text>]:
- trigger:
- command /setCmdLog <text>:
- trigger:
- if arg-1 is set:
- set {Cmd::Log} to coloured arg-1
- if sender is player:
- send "&7[CmdLog] &6CmdLogを""&r%coloured arg 1%""&bに書き換えました"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement