Advertisement
Svely

aooni commands

Apr 28th, 2018
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.37 KB | None | 0 0
  1. options:
  2. aooniprefix: &c[&bAooni&c]
  3.  
  4. command /aooni <text>:
  5. permission: aooni.admin
  6. permission message: &cYou dont have permission needed "aooni.admin"
  7. trigger:
  8. if arg 1 is "help":
  9. send "{@aooniprefix} &b/aooni help &a青鬼のhelp画面を表示します"
  10. send "{@aooniprefix} &b/aooni wp &a青鬼を抽選します"
  11. send "{@aooniprefix} &b/aooni start &a青鬼を始めます"
  12. send "{@aooniprefix} &b/aooni reset &a青鬼の状況をリセットします"
  13. send "{@aooniprefix} &b/aooni pvp <enable:disable> &apvpをon,offします"
  14. send "{@aooniprefix} &b/aooni set <mode> &a青鬼のモードを変更します 今あるのはeasyだけです"
  15. send "{@aooniprefix} &b/aooni set revival &aひろしの復活地点を設定します"
  16. if arg 1 is "wp":
  17. execute console command "/setblock 1489 30 389 redstone_block"
  18. if arg 1 is "start":
  19. execute console command "/setblock 1489 30 387 redstone_block"
  20. execute console command "/scoreboard teams join ひろし @a[team=!青鬼,m=2]"
  21. enable pvp
  22. if arg 1 is "reset":
  23. execute console command "/setblock 1489 30 391 redstone_block"
  24. execute console command "/setblock 1482 27 383 air"
  25. disable pvp
  26. if arg 1 is "pvp enable":
  27. enable pvp
  28. send "{@aooniprefix} &3pvp is now enable!"
  29. if arg 1 is "pvp disable":
  30. disable pvp
  31. send "{@aooniprefix} &3pvp is now disable!"
  32. if arg 1 is "give kakuredama":
  33. set slot 4 of player to 1 slimeball named "&3隠れ玉"
  34. if arg 1 is "give escape":
  35. set slot 3 of player to 1 diamond named "&b脱出の鍵"
  36. if arg 1 is "set easy":
  37. broadcast "{@aooniprefix} &aイージーモード&3に変更しました"
  38. broadcast "{@aooniprefix} &aイージー&3アスレが開放されました"
  39. execute console command "/setblock 1482 27 383 redstone_torch"
  40. if arg 1 is "set revival":
  41. set {revival} to location of player
  42. send "{@aooniprefix} set the revival to you location!"
  43. on death of player:
  44. if attacker is a player:
  45. if attacker is set:
  46. set the death message to "{@aooniprefix} &c%victim%さんは青鬼に食べられた"
  47.  
  48. on right click holding a slimeball:
  49. cancel event
  50. name of held item contains "&3隠れ玉"
  51. hide the player from all players
  52. execute console command "effect %player% slowness 1 2 true"
  53. wait 1 second
  54. reveal player to all players
  55.  
  56. on right click on emerald block:
  57. cancel event
  58. if player is holding a diamond named "&b脱出の鍵":
  59. set block at location at 1512, 30, 452 in world "world" to redstone block
  60.  
  61. on right click on nether wart block:
  62. cancel event
  63. broadcast "{@aooniprefix} &e%player%&bさんが復活しました"
  64. teleport player to {revival}
  65. hide the player from all players
  66. execute console command "effect %player% speed 5 3"
  67. wait 5 second
  68. reveal player to all players
  69.  
  70. on death:
  71. clear victim's inventory
  72.  
  73. on first join:
  74. set the join message to "{@aooniprefix} &3%player%&bさんはサーバーに初参加です"
  75.  
  76. on join:
  77. set the join message to "{@aooniprefix} &3%player%&bさんがサーバーに参加しました"
  78.  
  79. on quit:
  80. set the quit message to "{@aooniprefix} &3%player%&bさんがサーバーから退出しました"
  81.  
  82.  
  83. # These are the main functions. It is not recommended to edit the file further than these options, unless you know what you're doing.
  84. options:
  85. # Set the prefix of commands here.
  86. prefix: &c[&bAooni&c]
  87. # Set the permission required to execute this command.
  88. perm: is.admin
  89. # Set the message if the player has not gotten that permission.
  90. noperm: &cYou don't have the permission to do that!
  91. # The least amount of items that a chest can get.
  92. minitems: 3
  93. # The maximal amount of items that a chest can get.
  94. maxitems: 3
  95.  
  96. # Don't edit the information below.
  97. author: Efnilite
  98. copyright: MillenniumUS
  99. version: 1.0
  100.  
  101. # Set all of your custom items here.
  102. on load:
  103. clear {ritem::*}
  104. # You can add as many things as you like. You just need to repeat what I am doing here multiple times.
  105. # This adds 1 diamond boots to the random item list. In the text you will atleast need the parts of the list and the add.
  106. # COPY AND PASTE THIS: add (amount of items you want) (type of item) to {cheloc::*}
  107. # NOTE :: If there is only one item in the stack then you can just type: add (type of item) to {cheloc::*}
  108. # If you don't want to edit this, then I have already made a half decent setup, for mostly SkyWars and SurvivalGames use.
  109. # If you don't want all this extra stuff, then just remove all of it.
  110. add 1 cooked porkchop to {ritem::*}
  111. add 1 cooked porkchop to {ritem::*}
  112. add 1 cooked porkchop to {ritem::*}
  113.  
  114. # Actual command. Not recommended to edit.
  115. command /mchest [<text>]:
  116. trigger:
  117. if arg 1 is "add":
  118. if player has permission "{@perm}":
  119. if target block is chest:
  120. add location of target block to {cheloc::*}
  121. message "{@prefix} Succesfully executed &3AddChest"
  122. loop {cheloc::*}:
  123. if loop-value is location of target block:
  124. message "{@prefix} This chest has already been checked as a mCHEST!"
  125. stop
  126. else:
  127. message "&b{@prefix} You need to select a chest!"
  128. else:
  129. message "{@noperm}"
  130.  
  131. if arg 1 is "remove":
  132. if player has permission "{@perm}":
  133. if target block is a chest:
  134. remove location of target block from {cheloc::*}
  135. message "{@prefix} Succesfully removed the selected chest!"
  136. clear inventory of target block
  137. stop
  138. else:
  139. message "{@prefix} You need to select a chest!"
  140. else:
  141. message "{@noperm}"
  142.  
  143. if arg 1 is "refill":
  144. if player has permission "{@perm}":
  145. loop {cheloc::*}:
  146. set {_cheslot::*} to ""
  147. loop 27 times:
  148. add loop-number to {_slotnum::*}
  149. clear inventory of block at loop-value
  150. wait 1 tick
  151. set {_loop} to a random integer between {@minitems} and {@maxitems}
  152. loop {_loop} times:
  153. set {_cheitem} to a random element out of {ritem::*}
  154. set {_cheslot} to a random element out of {_slotnum::*}
  155. add {_cheitem} to slot ({_cheslot} - 1) of block at loop-value-1
  156. else:
  157. message "{@noperm}"
  158.  
  159. if arg 1 is "about" OR "version":
  160. message "&3&lmChests &r&b> Currently running version &3{@version}&b, copyright &3{@copyright} &band was created by &3{@author}"
  161.  
  162. if arg 1 is not set:
  163. if player has permission "{@perm}":
  164. message "{@prefix} You need to specify a command! Usage: /mchest <add/remove/refill>"
  165. else:
  166. message "{@noperm}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement