Advertisement
siso_Friends

Untitled

Apr 5th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. #CmdLog#
  2. #CmdLog-他人、自分のコマンド実行ログがOP所持者にチャットで表示されます。#
  3. #コマンドブロックからの実行は表示されません。#
  4. options:
  5. prefix: &8[CMD]#CommandLOGのPrefixの変更#default: &8[&8Log]#
  6. on command:
  7. loop all players:
  8. if loop-player has permission "sk.admin":
  9. if {log.%loop-player%} is not set:
  10. set {log.%loop-player%} to false
  11. if {log.%loop-player%} is true:
  12. if player is not set:
  13. stop
  14. message " &7[Log} &7%player%: /%full command%" to loop-player
  15. command /cmd [<text>]:#Logの表示のON/OFFの切り替え#
  16. permission: sk.cmd
  17. trigger:
  18. if arg-1 is set:
  19. if arg-1 is "on":
  20. set {log.%player%} to true
  21. message " {@prefix}&7Log表示を&aon&7にしました。"
  22. stop
  23. if arg-1 is "off":
  24. set {log.%player%} to false
  25. message " {@prefix}&7Log表示を&coff&7にしました。"
  26. stop
  27. else:
  28. message "{@prefix}&7/cmd <on,off>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement