Advertisement
MilkTeaPopcorn

Untitled

Nov 7th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.30 KB | None | 0 0
  1. options:
  2. prefix: &6&lKitPvP &r
  3. #-#
  4. no-permission: &fUnknown command. Type "/help" for help.
  5. #-#
  6. title: &e&l✪&6&lKitPvP&e&l✪
  7. #-#
  8. subtitle: &f&lようこそ!&6&lKitPvP&f&lサーバーへ!
  9. #-#
  10.  
  11. #EVENT
  12.  
  13. on join:
  14. clear player's inventory
  15. make console execute command "/effect %player% clear"
  16. set gamemode of player to adventure
  17. apply night vision to player for 9999 days
  18. send player title "{@title}" with subtitle "{@subtitle}" for 5 seconds
  19. stop
  20.  
  21. on join:
  22. set slot 0 of player to book named "&c&lステータス"
  23. set slot 4 of player to nether star named "&6&lキットを選ぶ"
  24. set slot 8 of player to emerald named "&a&lショップ"
  25. stop
  26.  
  27. on join:
  28. set the join message to "&f[&a+&f]&7%player%"
  29.  
  30. on first join:
  31. send player title "{@title}" with subtitle "{@subtitle}" for 5 seconds
  32.  
  33. on quit:
  34. set the quit message to "&f[&c-&f] &7%player%"
  35.  
  36. on death:
  37. victim is a player
  38. attacker is a player
  39. clear player's inventory
  40. make console execute command "/effect %player% clear"
  41. broadcast "&7%victim%&eさんが&7%attacker%&eさんに倒されました"
  42. set gamemode of player to adventure
  43. stop
  44.  
  45. on respawn:
  46. make console execute command "/effect %player% clear"
  47. clear player's inventory
  48. set gamemode of player to adventure
  49. apply night vision to player for 9999 days
  50. stop
  51.  
  52. on respawn:
  53. set slot 0 of player to book named "&c&lステータス"
  54. set slot 4 of player to nether star named "&6&lキットを選ぶ"
  55. set slot 8 of player to emerald named "&a&lショップ"
  56. stop
  57.  
  58. #KITPVP COMMAND
  59.  
  60. command /kitpvp [<text>] [<text>]:
  61. aliases: /kp
  62. trigger:
  63. if arg 1 is not set:
  64. if player has permission "kitpvp.admin":
  65. send "&3&l--------------------------------------------------"
  66. send "&7"
  67. send "&7/kitpvp setspawn &f: &fスポーン地点にテレポートします"
  68. send "&7/kitpvp spawn &f: &fスポーン地点を設定します"
  69. send "&7"
  70. send "&3&l--------------------------------------------------"
  71. else:
  72. send "{@no-permission}"
  73. if arg 1 is "setspawn":
  74. if player has permission "kitpvp.ss":
  75. set {spawn} to player's location
  76. send "{@prefix} &fKitPvPのスポーン地点を設定しました."
  77. stop
  78. else:
  79. send "{@no-permission}"
  80. if arg 1 is "spawn":
  81. teleport player to {spawn}
  82. set gamemode of player to adventure
  83. stop
  84.  
  85. #KITS COMMAND
  86.  
  87. command /kitselect [<text>]:
  88. aliases: /ks
  89. trigger:
  90. if arg-1 is not set:
  91. wait 2 ticks
  92. open chest with 3 row named "&7[&aキットを選択&7]" to player
  93. wait 2 ticks
  94. format slot 9 of player with diamond sword named "&7[&f&lKnight&7]" with lore "&7[&a&lこのキットは使用可能です&7]" to close then run [execute player command "/kitselect knight"]
  95. format slot 10 of player with diamond chestplate named "&7[&b&lTank&7]" with lore "&7[&a&lこのキットは使用可能です&7]" to close then run [execute player command "/kitselect tank"]
  96. format slot 11 of player with bow named "&7[&6&lArcher&7]" with lore "&7[&a&lこのキットは使用可能です&7]" to close then run [execute player command "/kitselect archer"]
  97. format slot 12 of player with flint and steel named "&7[&c&lPyro&7]" with lore "&7[&a&lこのキットは使用可能です&7]" to close then run [execute player command "/kitselect pyro"]
  98. if player doesn't have permission "kitselect.*" or "ks.assassin":
  99. format slot 15 of player with red stained glass pane of unbreaking 1 named "&7[&e&lAssasin&e]" with lore "&7[&c&lこのキットは購入することで使用可能になります&7]" to be unstealable
  100. if player has permission "kitselect.*" or "ks.assassin":
  101. format slot 15 of player with feather named "&7[&e&lAssassin&7]" with lore "&7[&a&lこのキットは購入済みです&7]" to close then run [execute player command "/kitselect assassin"]
  102.  
  103. if arg-1 is "knight":
  104. loop all players:
  105. make console execute command "/effect %player% clear"
  106. clear player's inventory
  107. set slot 0 of player to diamond sword of sharpness 1 and unbreaking 10 with lore "&6SoulBound"
  108. set slot 1 of player to 2 golden apple
  109. set slot 2 of player to 64 steak with lore "&6SoulBound"
  110. set slot 9 of player to 64 arrows with lore "&6SoulBound"
  111. equip player with iron helmet of protection 2 and projectile protection 2 and unbreaking 10 with lore "&6SoulBound"
  112. equip player with iron chestplate of protection 2 and unbreaking 10 with lore "&6SoulBound"
  113. equip player with iron leggings of protection 2 and unbreaking 10 with lore "&6SoulBound"
  114. equip player with iron boots of protection 2 and unbreaking 10 with lore "&6SoulBound"
  115. message "[&6KitPvP&r] あなたはナイトを選択しました!"
  116. teleport player to {spawn}
  117. stop
  118.  
  119. if arg-1 is "tank":
  120. loop all players:
  121. make console execute command "/effect %player% clear"
  122. clear player's inventory
  123. set slot 0 of player to stone sword of sharpness 1 and unbreaking 10 with lore "&6SoulBound"
  124. set slot 1 of player to 2 golden apple
  125. set slot 2 of player to 64 steak with lore "&6SoulBound"
  126. set slot 9 of player to 64 arrows with lore "&6SoulBound"
  127. equip player with iron helmet of protection 1 and projectile protection 2 and unbreaking 10 with lore "&6SoulBound"
  128. equip player with diamond chestplate of protection 1 and unbreaking 10 with lore "&6SoulBound" with lore "&6SoulBound"
  129. equip player with diamond leggings of protection 1 and unbreaking 10 with lore "&6SoulBound"
  130. equip player with iron boots of protection 1 and unbreaking 10 with lore "&6SoulBound"
  131. message "[&6KitPvP&r] あなたはタンクを選択しました!"
  132. teleport player to {spawn}
  133. stop
  134.  
  135. if arg-1 is "archer":
  136. loop all players:
  137. make console execute command "/effect %player% clear"
  138. clear player's inventory
  139. set slot 0 of player to iron sword of sharpness 1 and unbreaking 10 with lore "&6SoulBound"
  140. set slot 1 of player to bow of power 1 and unbreaking 10 with lore "&6SoulBound"
  141. set slot 2 of player to 2 golden apple
  142. set slot 3 of player to 64 steak with lore "&6SoulBound"
  143. set slot 9 of player to 64 arrows with lore "&6SoulBound"
  144. equip player with chainmail helmet of protection 1 and unbreaking 10 with lore "&6SoulBound"
  145. equip player with chainmail chestplate of protection 1 and unbreaking 10 with lore "&6SoulBound"
  146. equip player with chainmail leggings of protection 1 and unbreaking 10 with lore "&6SoulBound"
  147. equip player with chainmail boots of protection 1 and unbreaking 10 with lore "&6SoulBound"
  148. message "[&6KitPvP&r]あなたはアーチャーを選択しました!"
  149. teleport player to {spawn}
  150. stop
  151.  
  152. if arg-1 is "pyro":
  153. loop all players:
  154. make console execute command "/effect %player% clear"
  155. clear player's inventory
  156. set slot 0 of player to iron sword of sharpness 2 and unbreaking 10 with lore "&6SoulBound"
  157. set slot 1 of player to blaze rod of fire aspect 1 with lore "&6SoulBound"
  158. set slot 2 of player to 2 golden apple
  159. set slot 3 of player to 64 steak with lore "&6SoulBound"
  160. set slot 9 of player to 64 arrows with lore "&6SoulBound"
  161. equip player with iron helmet of protection 1 and projectile protection 2 and unbreaking 10 with lore "&6SoulBound"
  162. equip player with gold chestplate of protection 2 and unbreaking 10 with lore "&6SoulBound"
  163. equip player with gold leggings of protection 2 and unbreaking 10 with lore "&6SoulBound"
  164. equip player with iron boots of protection 1 and unbreaking 10 with lore "&6SoulBound"
  165. message "[&6KitPvP&r] あなたはパイロを選択しました!"
  166. teleport player to {spawn}
  167. stop
  168.  
  169. if arg-1 is "assassin":
  170. loop all players:
  171. make console execute command "/effect %player% clear"
  172. clear player's inventory
  173. set slot 0 of player to gold sword of sharpness 2 and unbreaking 10 with lore "&6SoulBound"
  174. set slot 1 of player to 2 feather named "&b&lリープ" with lore "&6SoulBound"
  175. set slot 2 of player to 2 golden apple
  176. set slot 3 of player to 64 steak with lore "&6SoulBound"
  177. set slot 9 of player to 64 arrows with lore "&6SoulBound"
  178. equip player with gold helmet of protection 1 and projectile protection 2 and unbreaking 10 with lore "&6SoulBound"
  179. equip player with iron chestplate of protection 2 and unbreaking 10 with lore "&6SoulBound"
  180. equip player with iron leggings of protection 2 and unbreaking 10 with lore "&6SoulBound"
  181. equip player with gold boots of protection 1 and feather falling 5 and unbreaking 10 with lore "&6SoulBound"
  182. message "[&6KitPvP&r] あなたはアサシンを選択しました!"
  183. teleport player to {spawn}
  184. stop
  185.  
  186. on rightclick holding feather:
  187. name of held item contains "&b&lリープ"
  188. remove speed from the player
  189. remove strength from the player
  190. push the player forwards at speed 2
  191. apply speed 2 to player for 5 seconds
  192. apply strength 2 to player for 2 seconds
  193. remove 1 feather from player's inventory
  194. stop
  195.  
  196. on rightclick holding book:
  197. name of held item contains "&c&lステータス"
  198. make player execute command "/stats"
  199.  
  200. on rightclick holding nether star:
  201. name of held item contains "&6&lキットを選ぶ"
  202. make player execute command "/kitselect"
  203.  
  204. on rightclick holding emerald:
  205. name of held item contains "&a&lショップ"
  206. make player execute command "/store"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement