Advertisement
kunihiko_sato

Untitled

Dec 27th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.80 KB | None | 0 0
  1. command /aooni [<text>] [<text>]:
  2. permission: sk.aooni
  3. permission message: §cYou do not have permission to execute this command!
  4. trigger:
  5. if arg-1 is "start" or "oniwarp" or "owp" or "chuukoku" or "help" or "random" or "dairi" or "stop" or "onichuukoku":
  6. if arg-1 is "start":
  7. if {aooni.aooni} is "false":
  8. set {aooni.aooni} to "true"
  9. send "&7[&bAooni&7] &a青鬼をスタートしました。"
  10. execute console command "setblock 778 64 460 redstone_block"
  11. broadcast "&9&l[--AooniMiniGames--]&e 青鬼を開始します!"
  12. set {time} to 800
  13. else:
  14. send "&7[&bAooni&7] &c青鬼が既に開始しています!"
  15. if arg-1 is "stop":
  16. if {aooni.aooni} is "true":
  17. set {aooni.aooni} to "false"
  18. execute console command "setblock 776 64 455 redstone_block"
  19. delete {aooni.oni}
  20. loop all players:
  21. delete {%loop-player%.clear}
  22. delete {%loop-player%.team}
  23. send "&7[&bAooni&7] &a青鬼をストップしました。"
  24. set {aooni.cpc} to 0
  25. set {aooni.tjl} to 0
  26. delete {aooni.oni}
  27. execute console command "settime 1"
  28. else:
  29. send "&7[&bAooni&7] &c青鬼が開始されていません!"
  30. if arg-1 is "oniwarp" or "owp":
  31. if {aooni.aooni} is "false":
  32. if arg-1 is set:
  33. execute console command "tp %arg 2% 751 46 405"
  34. set {a.awpd} to 1
  35. else:
  36. execute console command "setblock 790 43 448 redstone_block"
  37. set {a.awpd} to 1
  38. else if {aooni.aooni} is "true":
  39. send "&7[&bAooni&7] &c青鬼が既に開始しています!"
  40. if arg-1 is "chuukoku":
  41. broadcast "&9&l[--AooniMiniGames--]&e 青鬼を開始します。"
  42. execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @a ~ ~ ~ 5 0.8"
  43. if arg-1 is "help":
  44. send "&9&l&o------------ AooniMiniGames &e&lSystems &9&l&o------------"
  45. send " &a&l作者: maozou &e&l改造: ClockClap"
  46. send " "
  47. send "&7start &8- &b青鬼を強制終了します。"
  48. send "&7oniwarp [Player]&8 | &7owp &8- &b青鬼を決めます。"
  49. send "&7chuukoku &8- &b青鬼開始忠告をします。"
  50. send "&7help &8- &bこれを表示します。"
  51. send "&7random &8- &3※ 青鬼が決まらなかった時用&b 青鬼をランダムで選びます。"
  52. send "&7dairi &8- &b青鬼が歪をしたときに青鬼の代理を選びます。"
  53. send "&7stop &8- &b青鬼を強制終了させます。"
  54. send "&7onichuukoku &8- &b青鬼抽選忠告をします。"
  55. send " "
  56. if arg-1 is "random":
  57. if {aooni.aooni} is "false":
  58. execute console command "setblock 770 64 469 redstone_block"
  59. else if {aooni.aooni} is "true":
  60. send "&7[&bAooni&7] &c青鬼が既に開始しています!"
  61. if arg-1 is "dairi":
  62. if {aooni.aooni} is "true":
  63. execute console command "setblock 777 64 463 redstone_block"
  64. else if {aooni.aooni} is "false":
  65. send "&7[&bAooni&7] &c青鬼が開始されていません!"
  66. if arg-1 is "onichuukoku":
  67. if {aooni.aooni} is "false":
  68. broadcast "&9&l[--AooniMiniGames]&b 青鬼を抽選します。"
  69. execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @a ~ ~ ~ 5 0.8"
  70. else if {aooni.aooni} is "true":
  71. send "&7[&bAooni&7] &c青鬼が既に開始しています!"
  72.  
  73. command /rowp:
  74. permission: admin
  75. trigger:
  76. execute console command "setblock 790 43 448 redstone_block"
  77.  
  78. command /sc <text>:
  79. permission: admin
  80. trigger:
  81. if arg-1 is "reset":
  82. delete {sc.type}
  83. if arg-1 is "tika":
  84. set {sc.type} to 0
  85. if arg-1 is "5kai":
  86. set {sc.type} to 1
  87. if arg-1 is "nazo":
  88. set {sc.type} to 2
  89.  
  90. command /deletetime:
  91. permission: admin
  92. trigger:
  93. delete {time}
  94. send "&7[&6Time&7] &e残り時間を消しました。"
  95.  
  96. command /settime <number>:
  97. permission: admin
  98. trigger:
  99. send "&7[&6Time&7] &e残り時間を&6 %arg 1%&e に設定しました。"
  100. set {time} to arg-1
  101.  
  102. command /astop:
  103. permission: admin
  104. trigger:
  105. set {aooni.aooni} to "false"
  106. execute console command "setblock 777 64 466 redstone_block"
  107. delete {aooni.oni}
  108. loop all players:
  109. delete {%loop-player%.clear}
  110. delete {%loop-player%.team}
  111. set {aooni.cpc} to 0
  112. set {aooni.tjl} to 0
  113. set {time} to 0
  114. delete {aooni.oni}
  115.  
  116. command /oniset <player>:
  117. permission: admin
  118. trigger:
  119. set {aooni.oni} to arg-1
  120. set {%arg 1%.team} to "aooni"
  121.  
  122. command /hirosi <player>:
  123. permission: admin
  124. trigger:
  125. if {aooni.oni} is "%arg 1%":
  126. delete {aooni.oni}
  127. set {%arg 1%.team} to "hirosi"
  128. else:
  129. set {%arg 1%.team} to "hirosi"
  130.  
  131. command /dsc:
  132. permission: admin
  133. trigger:
  134. delete {aooni.scoreboard}
  135. send "&cスコアボードを非表示にしました。"
  136.  
  137. command /ssc:
  138. permission: admin
  139. trigger:
  140. set {aooni.scoreboard} to 1
  141. send "&aスコアボードを表示しました。"
  142.  
  143. command /aclp <player>:
  144. permission: admin
  145. trigger:
  146. if {%arg 1%.clear} is not set:
  147. add 1 to {aooni.cpc}
  148. set {%arg 1%.clear} to 1
  149.  
  150. on death of player:
  151. if attacker is a player:
  152. broadcast "&9%victim%は青鬼に食べられた"
  153. every seconds:
  154. loop all players:
  155. execute console command "/title @a actionbar ["""",{""text"":""キル数:"",""color"":""green""},{""text"":""%{kills.%loop-player%}%}]"
  156. if {aooni.cpc} is not set:
  157. set {aooni.cpc} to 0
  158. if {time} is 0:
  159. execute console command "astop"
  160. if {time} is 200:
  161. execute console command "setblock 776 46 478 air"
  162. execute console command "setblock 774 46 478 air"
  163. if {time} is 790:
  164. execute console command "setblock 776 64 474 redstone_block"
  165. if {time} is 780:
  166. execute console command "setblock 776 64 476 redstone_block"
  167. if {aooni.aooni} is "true":
  168. remove 1 from {time}
  169. execute console command "scoreboard players set 残り時間 Aooni %{time}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement