Satoru7135

Untitled

Jul 22nd, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. command /goto:
  2. trigger:
  3. teleport player to location (1500, 4, 1500)
  4. on command "/ban 97_wuzzups":
  5. kick the player
  6. broadcast "%player%がBANを使用した。"
  7. on command "/pardon":
  8. cancel event
  9. message "必要ないよね"
  10. on command "/deop":
  11. cancel event
  12. message "誰を?"
  13.  
  14.  
  15. #CmdLog#
  16. #CmdLog-他人、自分のコマンド実行ログがOP所持者にチャットで表示されます。#
  17. #コマンドブロックからの実行は表示されません。#
  18. options:
  19. prefix: &8[CMD]#CommandLOGのPrefixの変更#default: &8[CMD]#
  20. on command:
  21. loop all players:
  22. if loop-player has permission "sk.admin":
  23. if {log.%loop-player%} is not set:
  24. set {log.%loop-player%} to true
  25. if {log.%loop-player%} is true:
  26. if player is not set:
  27. stop
  28. message " {@prefix} &7%player%: /%full command%" to loop-player
  29. command /cmd [<text>]:#Logの表示のON/OFFの切り替え#
  30. permission: sk.cmd
  31. trigger:
  32. if arg-1 is set:
  33. if arg-1 is "on":
  34. set {log.%player%} to true
  35. message " {@prefix}&7Log表示を&aon&7にしました。"
  36. stop
  37. if arg-1 is "off":
  38. set {log.%player%} to false
  39. message " {@prefix}&7Log表示を&coff&7にしました。"
  40. stop
  41. else:
  42. message "{@prefix}&7/cmd <on,off>"
  43. #Ip-Checker#
  44. #指定したプレイヤーのipをチェックします。同一のIPがあった場合、そのプレイヤーのIDも表示されます。#
  45. command /aip [<offline player>]:
  46. permission: Command.IP
  47. permission message: &cパーミッションがありません。
  48. trigger:
  49. if arg is not set:
  50. message "&a[IP-log]&ePlayer名を記入してください。"
  51. stop
  52. if arg is "all":
  53. loop all players:
  54. set {ip::%loop-player%} to ip of loop-player
  55. message "&a[IP-log]&b---------------------------------------------"
  56. message "&a[IP-log]&e%loop-player%'sIP&a: &6%{ip::%loop-player%}%" to player
  57. loop {ip::*}:
  58. if {ip::%loop-index%} is {ip::%loop-player%}:
  59. message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
  60. else:
  61. set {ip::%arg%} to ip of argument
  62. message "&a[IP-log]&e%arg%'sIP&a: &6%{ip::%arg%}%"
  63. loop {ip::*}:
  64. if {ip::%loop-index%} is {ip::%arg%}:
  65. message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
  66. on join:
  67. set {ip::%player%} to ip of player
  68. loop all players:
  69. if loop-player has permission "sk.admin":
  70. message "&a[IP-log]&e%player%'sIP&a: &6%{ip::%player%}%" to loop-player
  71. loop {ip::*}:
  72. if {ip::%loop-index%} is {ip::%player%}:
  73. message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment