Advertisement
nyaago50000

Untitled

Jun 17th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.78 KB | None | 0 0
  1. #CmdLog#
  2. #CmdLog-他人、自分のコマンド実行ログがOP所持者にチャットで表示されます。#
  3. #コマンドブロックからの実行は表示されません。#
  4. options:
  5. prefix: &5[CMD]#CommandLOGのPrefixの変更#default: &8[CMD]#
  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 true
  11. if {log.%loop-player%} is true:
  12. if player is not set:
  13. stop
  14. message " {@prefix} &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>"
  29. #Ip-Checker#
  30. #指定したプレイヤーのipをチェックします。同一のIPがあった場合、そのプレイヤーのIDも表示されます。#
  31. command /aip [<offline player>]:
  32. permission: Command.IP
  33. permission message: &cYou do not have permission
  34. trigger:
  35. if arg is not set:
  36. message "&a[IP-log]&ePlayer名を記入してください。"
  37. stop
  38. if arg is "all":
  39. loop all players:
  40. set {ip::%loop-player%} to ip of loop-player
  41. message "&a[IP-log]&b---------------------------------------------"
  42. message "&a[IP-log]&e%loop-player%'sIP&a: &6%{ip::%loop-player%}%" to player
  43. loop {ip::*}:
  44. if {ip::%loop-index%} is {ip::%loop-player%}:
  45. message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
  46. else:
  47. set {ip::%arg%} to ip of argument
  48. message "&a[IP-log]&e%arg%'sIP&a: &6%{ip::%arg%}%"
  49. loop {ip::*}:
  50. if {ip::%loop-index%} is {ip::%arg%}:
  51. message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
  52. on join:
  53. set {ip::%player%} to ip of player
  54. loop all players:
  55. if loop-player has permission "sk.admin":
  56. message "&a[IP-log]&e%player%'sIP&a: &6%{ip::%player%}%" to loop-player
  57. loop {ip::*}:
  58. if {ip::%loop-index%} is {ip::%player%}:
  59. message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%" to loop-player
  60. on join:
  61. set the join message to "<red><Bold>[Join]<yellow><Bold>%player%"
  62. on first join:
  63. message "<yellow>%player% <green>さん初めまして!まずはチュートリアルをクリアしましょう。"
  64. on quit:
  65. set the quit message to "<red><Bold>[logout]<yellow><Bold>%player%"
  66. on explode:
  67. cancel event
  68. on craft:
  69. player do not have permission "skript.craft"
  70. cancel event
  71. #SkEssentials version 4.0 by Tapioca_MilkTea#
  72. command /gm [<text>] [<player>]:
  73. permission:essential.commands
  74. permission message: &c実行する権限を持っていません。
  75. trigger:
  76. if arg 1 is not set:
  77. send "&cUsage: /gm <mode> [player]"
  78. stop
  79. if arg 1 is "0" or "s" or "survival":
  80. if arg 2 is not set:
  81. set the player's gamemode to survival
  82. send "&c%player%&6のゲームモードを&cサバイバルモード&6に変更しました。" to player
  83. stop
  84. if arg 2 is set:
  85. set the arg 2's gamemode to survival
  86. send "&c%arg 2%&6のゲームモードを&cサバイバルモード&6に変更しました。" to player
  87. stop
  88. if arg 1 is "1" or "c" or "creative":
  89. if arg 2 is not set:
  90. set the player's gamemode to creative
  91. send "&c%player%&6のゲームモードを&cクリエイティブモード&6に変更しました。" to player
  92. stop
  93. if arg 2 is set:
  94. set the arg 2's gamemode to creative
  95. send "&c%arg 2%&6のゲームモードを&cクリエイティブモード&6に変更しました。" to player
  96. stop
  97. if arg 1 is "2" or "a" or "adventure":
  98. if arg 2 is not set:
  99. set the player's gamemode to adventure
  100. send "&c%player%&6のゲームモードを&cアドベンチャーモード&6に変更しました。" to player
  101. stop
  102. if arg 2 is set:
  103. set the arg 2's gamemode to adventure
  104. send "&c%arg 2%&6のゲームモードを&cアドベンチャーモード&6に変更しました。" to player
  105. stop
  106. if arg 1 is "3" or "spectator":
  107. if arg 2 is not set:
  108. set the player's gamemode to spectator
  109. send "&c%player%&6のゲームモードを&cスペクテイターモード&6に変更しました。" to player
  110. stop
  111. if arg 2 is set:
  112. set the arg 2's gamemode to spectator
  113. send "&c%arg 2%&6のゲームモードを&cスペクテイターモード&6に変更しました。" to player
  114. stop
  115. command /day:
  116. permission:essential.commands
  117. permission message: &c実行する権限を持っていません。
  118. trigger:
  119. execute console command "/time set 6000"
  120. send "&6朝に変更しました。"
  121. stop
  122. command /night:
  123. permission:essential.commands
  124. permission message: &c実行する権限を持っていません。
  125. trigger:
  126. execute console command "/time set 18000"
  127. send "&6夜に変更しました。"
  128. stop
  129. command /clearchat:
  130. aliases:cc,clean,clearc,cchat
  131. permission:essential.commands
  132. permission message: &c実行する権限を持っていません。
  133. trigger:
  134. loop 150 times:
  135. broadcast ""
  136. broadcast "&6%player%がチャット履歴を消去しました。"
  137. stop
  138. command /pl:
  139. trigger:
  140. send "&4ねえねえなにが入ってるか気になったの?ねえねえ気になったの?"
  141. command /rename [<text>]:
  142. permission:essential.commands
  143. permission message: &c実行する権限を持っていません。
  144. trigger:
  145. if player is holding air:
  146. send "&c手にアイテムを持っていません。"
  147. stop
  148. else:
  149. if arg 1 is set:
  150. set the name of player's tool to "%colored arg 1%"
  151. send "&6アイテムの名前を変更しました。"
  152. stop
  153. if arg 1 is not set:
  154. send "&cテキストが入力されていません...。"
  155. stop
  156. command /relore [<text>]:
  157. permission:essential.commands
  158. permission message: &c実行する権限を持っていません。
  159. trigger:
  160. if player is holding air:
  161. send "&c手にアイテムを持っていません。"
  162. stop
  163. else:
  164. if arg 1 is not set:
  165. send "&cテキストが入力されていません...。"
  166. stop
  167. if arg 1 is set:
  168. set line 1 of the lore of player's tool to "%colored arg 1%"
  169. send "&6アイテムのLoreを変更しました。"
  170. stop
  171. command /a:
  172. permission: skript.admin
  173. trigger:
  174. execute console command "/menu open %player% admin"
  175. execute console command "/playsound minecraft:block.note.pling master @p ~ ~ ~ 1 2 1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement