Advertisement
Macaroon_020

Untitled

Nov 17th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.93 KB | None | 0 0
  1. on first join:
  2. set {CommandLog.%Player%} to false
  3. options:
  4. Prefix: &7[CmdLog] &e%{_p}% &c>>> &b/%{_c}%
  5. UserUUID: "f8c7a897-6261-4a36-96ca-74ddd3344936"
  6.  
  7. command Cmvservercmdlog [<text>] [<player>]:
  8. permission: Command.Admin
  9. trigger:
  10. if player's uuid is {@UserUUID}:
  11. if Arg 1 is "on":
  12. if Arg 2 isn't set:
  13. set {CommandLog.%Player%} to true
  14. send "&7[CmdLog] &aあなたのCommandLogを表示状態にしました"
  15. else if Arg 2 is online:
  16. set {CommandLog.%Arg 2%} to true
  17. send "&7[CmdLog] &a%Arg 2%さんのCommandLogを表示状態にしました"
  18. else:
  19. send "&7[CmdLog] &cオンラインのプレイヤーを指定してください。"
  20. else if Arg 1 is "off":
  21. if Arg 2 isn't set:
  22. set {CommandLog.%Player%} to false
  23. send "&7[CmdLog] &aあなたのCommandLogを非表示状態にしました"
  24. else if Arg 2 is online:
  25. set {CommandLog.%Arg 2%} to false
  26. send "&7[CmdLog] &a%Arg 2%さんのCommandLogを非表示状態にしました"
  27. else:
  28. send "&7[CmdLog] &cオンラインのプレイヤーを指定してください。"
  29. else:
  30. send "Unknown command. Type ""/help"" for help"
  31. on command:
  32. if sender is player:
  33. set {_p} to Player
  34. set {_c} to full command
  35. loop all players:
  36. if {CommandLog.%loop-player%} is true:
  37. execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &c>>> &b/%{_c}%"
  38. wait a tick
  39. send "%{Cmd::Log}%" to loop-player
  40. on command "/pl":
  41. if sender is player:
  42. set {_p} to Player
  43. set {_c} to full command
  44. if player's uuid is {@UserUUID}:
  45. else:
  46. send "Unknown command. Type ""/help"" for help"
  47. cancel event
  48. if sender is player:
  49. loop all players:
  50. if {CommandLog.%loop-player%} is true:
  51. if player's uuid is {@UserUUID}:
  52. send "w"
  53. else:
  54. execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4注意&a: &c/pl"
  55. on command "/plugins":
  56. if sender is player:
  57. set {_p} to Player
  58. set {_c} to full command
  59. if player's uuid is {@UserUUID}:
  60. else:
  61. send "Unknown command. Type ""/help"" for help"
  62. cancel event
  63. if sender is player:
  64. loop all players:
  65. if {CommandLog.%loop-player%} is true:
  66. if player's uuid is {@UserUUID}:
  67. send "w"
  68. else:
  69. execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4注意&a: &c/%{_c}%"
  70. on command "/bukkit:pl":
  71. if sender is player:
  72. set {_p} to Player
  73. set {_c} to full command
  74. if player's uuid is {@UserUUID}:
  75. else:
  76. send "Unknown command. Type ""/help"" for help"
  77. cancel event
  78. if sender is player:
  79. loop all players:
  80. if {CommandLog.%loop-player%} is true:
  81. if player's uuid is {@UserUUID}:
  82. send "w"
  83. else:
  84. execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4注意&a: &c/%{_c}%"
  85. on command "/bukkit:plugins":
  86. if sender is player:
  87. set {_p} to Player
  88. set {_c} to full command
  89. if player's uuid is {@UserUUID}:
  90. else:
  91. send "Unknown command. Type ""/help"" for help"
  92. cancel event
  93. if sender is player:
  94. loop all players:
  95. if {CommandLog.%loop-player%} is true:
  96. if player's uuid is {@UserUUID}:
  97. send "w"
  98. else:
  99. execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4注意&a: &c/%{_c}%"
  100. on command "/bukkit:about":
  101. if sender is player:
  102. set {_p} to Player
  103. set {_c} to full command
  104. send "Unknown command. Type ""/help"" for help"
  105. cancel event
  106. if sender is player:
  107. loop all players:
  108. if {CommandLog.%loop-player%} is true:
  109. execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4要注意&a: &c/%{_c}%"
  110. on command "/bukkit:ver":
  111. set {_p} to Player
  112. set {_c} to full command
  113. cancel event
  114. send "Unknown command. Type ""/help"" for help"
  115. if sender is player:
  116. loop all players:
  117. if {CommandLog.%loop-player%} is true:
  118. execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4要注意&a: &c/%{_c}%"
  119. on command "/ver":
  120. set {_p} to Player
  121. set {_c} to full command
  122. cancel event
  123. send "Unknown command. Type ""/help"" for help"
  124. if sender is player:
  125. loop all players:
  126. if {CommandLog.%loop-player%} is true:
  127. execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4要注意&a: &c/%{_c}%"
  128. on command "/about":
  129. set {_p} to Player
  130. set {_c} to full command
  131. cancel event
  132. send "Unknown command. Type ""/help"" for help"
  133. if sender is player:
  134. loop all players:
  135. if {CommandLog.%loop-player%} is true:
  136. execute console command "/setcmdlog &7[CmdLog] &e%{_p}% &6>>> &4要注意&a: &c/%{_c}%"
  137. command /about [<text>]:
  138. trigger:
  139. command /ver [<text>]:
  140. trigger:
  141. command /bukkit:about [<text>]:
  142. trigger:
  143. command /bukkit:ver [<text>]:
  144. trigger:
  145. command /setCmdLog <text>:
  146. trigger:
  147. if arg-1 is set:
  148. set {Cmd::Log} to coloured arg-1
  149. if sender is player:
  150. send "&7[CmdLog] &6CmdLogを""&r%coloured arg 1%""&bに書き換えました"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement