MilkTeaPopcorn

Untitled

Jan 22nd, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.59 KB | None | 0 0
  1. options:
  2. prefix: &6&lKitPvP &r
  3. #-#
  4. title: &e&l✪&6&lMilkTea-Community&e&l✪
  5. #-#
  6.  
  7. #EVENT
  8.  
  9. on join:
  10. clear player's inventory
  11. make console execute command "/effect %player% clear"
  12. set gamemode of player to adventure
  13. apply night vision to player for 9999 days
  14. send player title "{@title}" with subtitle "{@subtitle}" for 5 seconds
  15. teleport player to world's spawn point
  16. stop
  17.  
  18. on join:
  19. set slot 2 of player to book named "&c&lステータス" with lore "&6Soulbound"
  20. set slot 4 of player to nether star named "&6&lキットを選ぶ" with lore "&6Soulbound"
  21. set slot 6 of player to emerald named "&a&lショップ" with lore "&6Soulbound"
  22. stop
  23.  
  24. on join:
  25. set the join message to "&f[&aログイン&f]&7%player%"
  26.  
  27. on first join:
  28. send player title "{@title}" with subtitle "{@subtitle}" for 5 seconds
  29.  
  30. on quit:
  31. set the quit message to "&f[&cログアウト&f] &7%player%"
  32.  
  33. on death:
  34. victim is a player
  35. attacker is a player
  36. clear player's inventory
  37. make console execute command "/effect %player% clear"
  38. broadcast "&7%victim%&eが&7%attacker%&eに倒されました&c(残り:%health of attacker% &4HP)"
  39. set gamemode of player to adventure
  40. teleport player to world's spawn point
  41. stop
  42.  
  43. on respawn:
  44. make console execute command "/effect %player% clear"
  45. clear player's inventory
  46. set gamemode of player to adventure
  47. apply night vision to player for 9999 days
  48. teleport player to world's spawn point
  49. stop
  50.  
  51. on respawn:
  52. set slot 2 of player to book named "&c&lステータス" with lore "&6Soulbound"
  53. set slot 4 of player to nether star named "&6&lキットを選ぶ" with lore "&6Soulbound"
  54. set slot 6 of player to emerald named "&a&lショップ" with lore "&6Soulbound"
  55. stop
  56.  
  57. #KITPVP COMMAND
  58.  
  59. command /kitpvp [<text>] [<text>]:
  60. aliases: /kp
  61. trigger:
  62. if arg 1 is not set:
  63. if player has permission "kitpvp.admin":
  64. send "&3&l--------------------------------------------------"
  65. send "&7"
  66. send "&7/kitpvp setspawn &f: &fスポーン地点にテレポートします"
  67. send "&7/kitpvp spawn &f: &fスポーン地点を設定します"
  68. send "&7"
  69. send "&3&l--------------------------------------------------"
  70. else:
  71. send "&cこのコマンドを実行する権限がありません。"
  72. if arg 1 is "setspawn":
  73. if player has permission "kitpvp.ss":
  74. set {spawn} to player's location
  75. send "{@prefix} &fKitPvPのスポーン地点を設定しました."
  76. stop
  77. else:
  78. send "&cこのコマンドを実行する権限がありません。"
  79. if arg 1 is "spawn":
  80. if player has permission "kitpvp.spawn":
  81. teleport player to {spawn}
  82. set gamemode of player to adventure
  83. stop
  84. else:
  85. send "&cこのコマンドを実行する権限がありません。"
  86.  
  87. #KITS COMMAND
  88.  
  89. command /kitselect [<text>]:
  90. aliases: /ks
  91. trigger:
  92. if arg-1 is not set:
  93. wait 1 ticks
  94. open chest with 5 row named "&7[&aキットを選択&7]" to player
  95. wait 1 ticks
  96. format slot 10 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"]
  97. format slot 12 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"]
  98. format slot 14 of player with bow named "&7[&6&lArcher&7]" with lore "&7[&a&lこのキットは使用可能です&7]" to close then run [execute player command "/kitselect archer"]
  99. format slot 16 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"]
  100. if player doesn't have permission "kitselect.*" or "ks.assassin":
  101. format slot 28 of player with red stained glass pane of unbreaking 1 named "&7[&e&lAssasin&e]" with lore "&7[&c&lこのキットは購入することで使用可能になります&7]" to be unstealable
  102. if player has permission "kitselect.*" or "ks.assassin":
  103. format slot 28 of player with feather named "&7[&e&lAssassin&7]" with lore "&7[&a&lこのキットは購入済みです&7]" to close then run [execute player command "/kitselect assassin"]
  104. if player doesn't have permission "kitselect.*" or "ks.skeleton":
  105. format slot 30 of player with red stained glass pane of unbreaking 1 named "&7[&7&lSkeleton&7]" with lore "&7[&c&lこのキットは購入することで使用可能になります&7]" to be unstealable
  106. if player has permission "kitselect.*" or "ks.skeleton":
  107. format slot 30 of player with diamond helmet named "&7[&7&lSkeleton&7]" with lore "&7[&a&lこのキットは購入済みです&7]" to close then run [execute player command "/kitselect skeleton"]
  108. if player doesn't have permission "kitselect.*" or "ks.witch":
  109. format slot 32 of player with red stained glass pane of unbreaking 1 named "&7[&d&lWitch&7]" with lore "&7[&c&lこのキットは購入することで使用可能になります&7]" to be unstealable
  110. if player has permission "kitselect.*" or "ks.witch":
  111. format slot 32 of player with potion named "&7[&d&lWitch&7]" with lore "&7[&a&lこのキットは購入済みです&7]" to close then run [execute player command "/kitselect witch"]
  112. if player doesn't have permission "kitselect.*" or "ks.rabbit":
  113. format slot 34 of player with red stained glass pane of unbreaking 1 named "&7[&a&lRabbit&7]" with lore "&7[&c&lこのキットは購入することで使用可能になります&7]" to be unstealable
  114. if player has permission "kitselect.*" or "ks.rabbit":
  115. format slot 34 of player with rabbit foot named "&7[&a&lRabbit&7]" with lore "&7[&a&lこのキットは購入済みです&7]" to close then run [execute player command "/kitselect rabbit"]
  116.  
  117. if arg-1 is "knight":
  118. make console execute command "/effect %player% clear"
  119. clear player's inventory
  120. set slot 0 of player to diamond sword of sharpness 0 and unbreaking 10 with lore "&6SoulBound"
  121. set slot 1 of player to 1 golden apple with lore "&6SoulBound"
  122. set slot 2 of player to 64 steak with lore "&6SoulBound"
  123. equip player with iron helmet of protection 2 and projectile protection 2 and unbreaking 10 with lore "&6SoulBound"
  124. equip player with iron chestplate of protection 2 and unbreaking 10 with lore "&6SoulBound"
  125. equip player with iron leggings of protection 2 and unbreaking 10 with lore "&6SoulBound"
  126. equip player with iron boots of protection 2 and unbreaking 10 with lore "&6SoulBound"
  127. message "[&6KitPvP&r] あなたはナイトを選択しました!"
  128. teleport player to {spawn}
  129. stop
  130.  
  131. if arg-1 is "tank":
  132. make console execute command "/effect %player% clear"
  133. clear player's inventory
  134. set slot 0 of player to stone sword of sharpness 1 and unbreaking 10 with lore "&6SoulBound"
  135. set slot 1 of player to 1 golden apple with lore "&6SoulBound"
  136. set slot 2 of player to 64 steak with lore "&6SoulBound"
  137. equip player with iron helmet of protection 1 and projectile protection 2 and unbreaking 10 with lore "&6SoulBound"
  138. equip player with diamond chestplate of protection 1 and unbreaking 10 with lore "&6SoulBound" with lore "&6SoulBound"
  139. equip player with diamond leggings of protection 1 and unbreaking 10 with lore "&6SoulBound"
  140. equip player with iron boots of protection 1 and unbreaking 10 with lore "&6SoulBound"
  141. message "[&6KitPvP&r] あなたはタンクを選択しました!"
  142. teleport player to {spawn}
  143. stop
  144.  
  145. if arg-1 is "archer":
  146. make console execute command "/effect %player% clear"
  147. clear player's inventory
  148. set slot 0 of player to iron sword of sharpness 1 and unbreaking 10 with lore "&6SoulBound"
  149. set slot 1 of player to bow of power 1 and unbreaking 10 with lore "&6SoulBound"
  150. set slot 2 of player to 1 golden apple with lore "&6SoulBound"
  151. set slot 3 of player to 64 steak with lore "&6SoulBound"
  152. set slot 9 of player to 64 arrows with lore "&6SoulBound"
  153. equip player with leather helmet of protection 1 and unbreaking 10 with lore "&6SoulBound"
  154. equip player with chainmail chestplate of protection 1 and unbreaking 10 with lore "&6SoulBound"
  155. equip player with chainmail leggings of protection 1 and unbreaking 10 with lore "&6SoulBound"
  156. equip player with leather boots of protection 1 and unbreaking 10 with lore "&6SoulBound"
  157. message "[&6KitPvP&r]あなたはアーチャーを選択しました!"
  158. teleport player to {spawn}
  159. stop
  160.  
  161. if arg-1 is "pyro":
  162. make console execute command "/effect %player% clear"
  163. clear player's inventory
  164. set slot 0 of player to iron sword of sharpness 1 and unbreaking 10 with lore "&6SoulBound"
  165. set slot 1 of player to blaze rod of fire aspect 1 with lore "&6SoulBound"
  166. set slot 2 of player to 1 golden apple with lore "&6SoulBound"
  167. set slot 3 of player to 64 steak with lore "&6SoulBound"
  168. equip player with gold helmet of protection 1 and projectile protection 2 and unbreaking 10 with lore "&6SoulBound"
  169. equip player with gold chestplate of protection 2 and unbreaking 10 with lore "&6SoulBound"
  170. equip player with iron leggings of protection 1 and unbreaking 10 with lore "&6SoulBound"
  171. equip player with iron boots of protection 1 and unbreaking 10 with lore "&6SoulBound"
  172. message "[&6KitPvP&r] あなたはパイロを選択しました!"
  173. teleport player to {spawn}
  174. stop
  175.  
  176. if arg-1 is "assassin":
  177. if player has permission "ks.assassin":
  178. make console execute command "/effect %player% clear"
  179. clear player's inventory
  180. set slot 0 of player to gold sword of sharpness 2 and unbreaking 10 with lore "&6SoulBound"
  181. set slot 1 of player to 1 feather named "&b&lリープ" with lore "&6SoulBound"
  182. set slot 2 of player to 1 golden apple with lore "&6SoulBound"
  183. set slot 3 of player to 64 steak with lore "&6SoulBound"
  184. equip player with gold helmet of protection 1 and projectile protection 2 and unbreaking 10 with lore "&6SoulBound"
  185. equip player with chainmail chestplate of protection 2 and unbreaking 10 with lore "&6SoulBound"
  186. equip player with gold leggings of protection 2 and unbreaking 10 with lore "&6SoulBound"
  187. equip player with chainmail boots of protection 1 and feather falling 10 and unbreaking 10 with lore "&6SoulBound"
  188. message "[&6KitPvP&r] あなたはアサシンを選択しました!"
  189. teleport player to {spawn}
  190. stop
  191.  
  192. if arg-1 is "skeleton":
  193. if player has permission "ks.skeleton":
  194. make console execute command "/effect %player% clear"
  195. clear player's inventory
  196. set slot 0 of player to bone of sharpness 3 and unbreaking 10 with lore "&6SoulBound"
  197. set slot 1 of player to bow of power 2 and punch 1 with lore "&6SoulBound"
  198. set slot 2 of player to 1 golden apple with lore "&6SoulBound"
  199. set slot 3 of player to 64 steak with lore "&6SoulBound"
  200. set slot 4 of player to 64 arrows with lore "&6SoulBound"
  201. equip player with diamond helmet of protection 2 and projectile protection 2 and unbreaking 10 with lore "&6SoulBound"
  202. equip player with iron chestplate of protection 2 and unbreaking 10 with lore "&6SoulBound"
  203. message "[&6KitPvP&r] あなたはスケルトンを選択しました!"
  204. teleport player to {spawn}
  205. stop
  206.  
  207. if arg-1 is "witch":
  208. if player has permission "ks.witch":
  209. make console execute command "/effect %player% clear"
  210. clear player's inventory
  211. set slot 0 of player to stone sword of sharpness 2 and unbreaking 10 with lore "&6SoulBound"
  212. set slot 1 of player to splash potion of instant health with lore "&6SoulBound"
  213. set slot 2 of player to splash potion of instant health with lore "&6SoulBound"
  214. set slot 3 of player to splash potion of instant health with lore "&6SoulBound"
  215. set slot 4 of player to splash potion of instant health with lore "&6SoulBound"
  216. set slot 5 of player to splash potion of instant health with lore "&6SoulBound"
  217. set slot 6 of player to splash potion of instant health with lore "&6SoulBound"
  218. set slot 7 of player to splash potion of instant health with lore "&6SoulBound"
  219. set slot 8 of player to 64 steak with lore "&6SoulBound"
  220. equip player with leather helmet of protection 1 and projectile protection 2 and unbreaking 10 with lore "&6SoulBound"
  221. equip player with iron chestplate of protection 1 and unbreaking 10 with lore "&6SoulBound"
  222. equip player with leather leggings of protection 1 and unbreaking 10 with lore "&6SoulBound"
  223. equip player with iron boots of protection 1 and unbreaking 10 with lore "&6SoulBound"
  224. message "[&6KitPvP&r] あなたはウィッチを選択しました!"
  225. teleport player to {spawn}
  226. stop
  227.  
  228. if arg-1 is "rabbit":
  229. if player has permission "ks.rabbit":
  230. make console execute command "/effect %player% clear"
  231. clear player's inventory
  232. set slot 0 of player to iron sword of sharpness 1 with lore "&6SoulBound"
  233. set slot 1 of player to 1 rabbit foot named "&a&lジャンプブースト" with lore "&6SoulBound"
  234. set slot 2 of player to 1 golden apple with lore "&6SoulBound"
  235. set slot 3 of player to 64 steak with lore "&6SoulBound"
  236. equip player with iron helmet of protection 2 and projectile protection 2 and unbreaking 10 with lore "&6SoulBound"
  237. equip player with leather chestplate of protection 2 and unbreaking 10 with lore "&6SoulBound"
  238. equip player with leather leggings of protection 2 and unbreaking 10 with lore "&6SoulBound"
  239. equip player with diamond boots of protection 3 and feather falling 1 and unbreaking 10 with lore "&6SoulBound"
  240. message "[&6KitPvP&r] あなたはラビットを選択しました!"
  241. teleport player to {spawn}
  242. stop
  243.  
  244.  
  245.  
  246.  
  247.  
  248. on rightclick holding feather:
  249. name of held item contains "&b&lリープ"
  250. remove speed from the player
  251. remove strength from the player
  252. push the player forwards at speed 1.5
  253. apply speed 2 to player for 5 seconds
  254. apply strength 2 to player for 2 seconds
  255. remove 1 feather from player's inventory
  256. stop
  257.  
  258. on rightclick holding rabbit foot:
  259. name of held item contains "&a&lジャンプブースト"
  260. remove jump boost from the player
  261. remove speed from the player
  262. push the player upwards at speed 1
  263. apply jump boost 5 to player for 5 seconds
  264. apply speed 2 to player for 5 seconds
  265. remove 1 rabbit foot from player's inventory
  266. stop
  267.  
  268. on rightclick holding book:
  269. name of held item contains "&c&lステータス"
  270. send "coming soon...!"
  271.  
  272. on rightclick holding nether star:
  273. name of held item contains "&6&lキットを選ぶ"
  274. make player execute command "/kitselect"
  275.  
  276. on rightclick holding emerald:
  277. name of held item contains "&a&lショップ"
  278. make player execute command "/store"
Add Comment
Please, Sign In to add comment