Ilom_uk

./stuff

Feb 7th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.77 KB | None | 0 0
  1. command /stuff [<player>] [<text>]:
  2. permission: skript.op #change to whatever you want
  3. executable by: players, console
  4. trigger:
  5. if arg-1 is set:
  6. if arg-2 is not set:
  7. command "/xp %random integer between 150 and 300% %arg-1%"
  8. clear inventory of arg-1
  9. wait for 1 tick
  10. equip arg-1 with iron chestplate of protection 1
  11. equip arg-1 with iron leggings of protection 1
  12. equip arg-1 with iron boots of projectile protection 2
  13. equip arg-1 with iron helmet of projectile protection 2
  14. give arg-1 a iron sword of sharpness 1
  15. give arg-1 a bow of power 1
  16. give arg-1 a diamond pickaxe of efficiency 1
  17. give arg-1 a iron shovel
  18. give arg-1 64 cobblestone
  19. give arg-1 a water bucket
  20. give arg-1 a lava bucket
  21. give arg-1 2 golden apples
  22. give arg-1 1 ender pearl
  23. give arg-1 64 cobblestone
  24. give arg-1 64 crafting table
  25. give arg-1 64 17
  26. give arg-1 4 apples
  27. give arg-1 96 arrows
  28. give arg-1 1 flint and steel
  29. give arg-1 1 iron axe
  30. give arg-1 32 iron ingots
  31. give arg-1 3 books
  32. give arg-1 3 enchantment tables
  33. give arg-1 3 anvils
  34. give arg-1 1 gold ingot
  35. give arg-1 1 diamond
  36. give arg-1 64 dye:4
  37. chance of 40%:
  38. give arg-1 1 diamond
  39. chance of 2.5%:
  40. give arg-1 1 iron sword of fire aspect 1
  41. chance of 1%:
  42. give arg-1 1 bow of flame 1
  43. chance of 4%:
  44. give arg-1 1 bow of infinity 1
  45. chance of 10%:
  46. give arg-1 2 diamonds
  47. chance of 5%:
  48. give arg-1 5 diamonds
  49. chance of 2%:
  50. give arg-1 12 diamonds
  51. chance of 0.5%:
  52. give arg-1 1 bow of power 4
  53. chance of 2.5%:
  54. give arg-1 1 bow of power 3
  55. chance of 1%:
  56. give arg-1 1 iron sword of sharpness 4
  57. chance of 30%:
  58. give arg-1 1 diamond chestplate of protection 1
  59. chance of 10%:
  60. give arg-1 1 bow of power 2
  61. chance of 20%:
  62. give arg-1 1 bow of power 1
  63. chance of 2.5%:
  64. give arg-1 1 bow of punch 1
  65. chance of 1%:
  66. give arg-1 1 bow of punch 2
  67. chance of 25%:
  68. give arg-1 1 iron sword of sharpness 1
  69. chance of 10%:
  70. give arg-1 1 iron sword of sharpness 2
  71. chance of 2.5%:
  72. give arg-1 1 iron sword of sharpness 3
  73. chance of 5%:
  74. give arg-1 1 iron sword of knockback 1
  75. chance of 2.5%:
  76. give arg-1 1 iron sword of knockback 2
  77. chance of 10%:
  78. give arg-1 2 golden apples
  79. chance of 5%:
  80. give arg-1 3 golden apples
  81. chance of 25%:
  82. give arg-1 1 golden apple
  83. chance of 30%:
  84. give arg-1 4 gold ingots
  85. chance of 10%:
  86. give arg-1 1 ender pearl
  87. chance of 35%:
  88. give arg-1 1 diamond helmet of projectile protection 1
  89. chance of 35%:
  90. give arg-1 1 diamond boots of projectile protection 1
  91. chance of 30%:
  92. give arg-1 1 diamond leggings of protection 1
  93. chance of 2.5%:
  94. give arg-1 1 saddle
  95. give arg-1 1 horse spawn egg
  96. chance of 20%:
  97. give arg-1 1 diamond horse armor
  98. else:
  99. chance of 20%:
  100. give arg-1 1 gold horse armor
  101. else:
  102. chance of 20%:
  103. give arg-1 1 iron horse armor
  104. else:
  105. give arg-1 2 wheat
  106.  
  107.  
  108. if arg-2 is "randiron":
  109. clear inventory of arg-1
  110. command "/xp %random integer between 100 and 120% %arg-1%"
  111. wait for 1 tick
  112. equip arg-1 with iron chestplate
  113. equip arg-1 with iron leggings
  114. equip arg-1 with iron boots
  115. equip arg-1 with iron helmet
  116. give arg-1 a iron sword
  117. give arg-1 a bow
  118. give arg-1 a iron pickaxe
  119. give arg-1 a iron shovel
  120. give arg-1 64 cobblestone
  121. give arg-1 a water bucket
  122. give arg-1 a lava bucket
  123. give arg-1 2 golden apples
  124. give arg-1 1 ender pearl
  125. give arg-1 64 arrows
  126. give arg-1 64 cobblestone
  127. give arg-1 64 crafting table
  128. give arg-1 64 17
  129. give arg-1 4 apples
  130. give arg-1 1 flint and steel
  131. give arg-1 3 anvils
  132. give arg-1 1 iron axe
  133. give arg-1 32 iron ingots
  134. give arg-1 1 gold ingot
  135. give arg-1 64 dye:4
  136. chance of 5%:
  137. give arg-1 1 iron sword of fire aspect 1
  138. chance of 2.5%:
  139. give arg-1 1 iron sword of fire aspect 2
  140. chance of 2.5%:
  141. give arg-1 1 bow of flame 1
  142. chance of 5%:
  143. give arg-1 1 bow of infinity 1
  144. chance of 2.5%:
  145. give arg-1 1 bow of power 3
  146. chance of 5%:
  147. give arg-1 1 bow of power 2
  148. chance of 7.5%:
  149. give arg-1 1 bow of power 1
  150. chance of 5%:
  151. give arg-1 1 bow of punch 1
  152. chance of 2.5%:
  153. give arg-1 1 bow of punch 2
  154. chance of 7.5%:
  155. give arg-1 1 iron sword of sharpness 2
  156. chance of 5%:
  157. give arg-1 1 iron sword of sharpness 3
  158. chance of 5%:
  159. give arg-1 1 iron sword of knockback 2
  160. chance of 10%:
  161. give arg-1 2 golden apples
  162. chance of 5%:
  163. give arg-1 3 golden apples
  164. chance of 2.5%:
  165. give arg-1 4 golden apples
  166. chance of 1%:
  167. give arg-1 5 golden apples
  168. chance of 15%:
  169. give arg-1 1 golden apple
  170. chance of 20%:
  171. give arg-1 4 gold ingots
  172. chance of 5%:
  173. give arg-1 1 ender pearl
  174. chance of 2.5%:
  175. give arg-1 1 saddle
  176. give arg-1 1 horse spawn egg
  177. chance of 20%:
  178. give arg-1 1 diamond horse armor
  179. else:
  180. chance of 20%:
  181. give arg-1 1 gold horse armor
  182. else:
  183. chance of 20%:
  184. give arg-1 1 iron horse armor
  185. else:
  186. give arg-1 2 wheat
  187.  
  188. if arg-2 is "randuhc":
  189. command "/xp %random integer between 100 and 120% %arg-1%"
  190. clear inventory of arg-1
  191. wait for 1 tick
  192. equip arg-1 with iron chestplate of protection 1
  193. equip arg-1 with iron leggings of protection 1
  194. equip arg-1 with iron boots of projectile protection 2
  195. equip arg-1 with iron helmet of projectile protection 2
  196. give arg-1 a iron sword of sharpness 1
  197. give arg-1 a bow of power 1
  198. give arg-1 a diamond pickaxe of efficiency 1
  199. give arg-1 a iron shovel
  200. give arg-1 64 cobblestone
  201. give arg-1 a water bucket
  202. give arg-1 a lava bucket
  203. give arg-1 2 golden apples
  204. give arg-1 1 ender pearl
  205. give arg-1 64 cobblestone
  206. give arg-1 64 crafting table
  207. give arg-1 64 17
  208. give arg-1 4 apples
  209. give arg-1 96 arrows
  210. give arg-1 1 flint and steel
  211. give arg-1 1 iron axe
  212. give arg-1 32 iron ingots
  213. give arg-1 3 books
  214. give arg-1 3 enchantment tables
  215. give arg-1 3 anvils
  216. give arg-1 1 gold ingot
  217. give arg-1 1 diamond
  218. give arg-1 64 dye:4
  219. chance of 40%:
  220. give arg-1 1 diamond
  221. chance of 2.5%:
  222. give arg-1 1 iron sword of fire aspect 1
  223. chance of 1%:
  224. give arg-1 1 bow of flame 1
  225. chance of 4%:
  226. give arg-1 1 bow of infinity 1
  227. chance of 10%:
  228. give arg-1 2 diamonds
  229. chance of 5%:
  230. give arg-1 5 diamonds
  231. chance of 2%:
  232. give arg-1 12 diamonds
  233. chance of 0.5%:
  234. give arg-1 1 bow of power 4
  235. chance of 2.5%:
  236. give arg-1 1 bow of power 3
  237. chance of 1%:
  238. give arg-1 1 iron sword of sharpness 4
  239. chance of 30%:
  240. give arg-1 1 diamond chestplate of protection 1
  241. chance of 10%:
  242. give arg-1 1 bow of power 2
  243. chance of 20%:
  244. give arg-1 1 bow of power 1
  245. chance of 2.5%:
  246. give arg-1 1 bow of punch 1
  247. chance of 1%:
  248. give arg-1 1 bow of punch 2
  249. chance of 25%:
  250. give arg-1 1 iron sword of sharpness 1
  251. chance of 10%:
  252. give arg-1 1 iron sword of sharpness 2
  253. chance of 2.5%:
  254. give arg-1 1 iron sword of sharpness 3
  255. chance of 5%:
  256. give arg-1 1 iron sword of knockback 1
  257. chance of 2.5%:
  258. give arg-1 1 iron sword of knockback 2
  259. chance of 10%:
  260. give arg-1 2 golden apples
  261. chance of 5%:
  262. give arg-1 3 golden apples
  263. chance of 25%:
  264. give arg-1 1 golden apple
  265. chance of 30%:
  266. give arg-1 4 gold ingots
  267. chance of 10%:
  268. give arg-1 1 ender pearl
  269. chance of 35%:
  270. give arg-1 1 diamond helmet of projectile protection 1
  271. chance of 35%:
  272. give arg-1 1 diamond boots of projectile protection 1
  273. chance of 30%:
  274. give arg-1 1 diamond leggings of protection 1
  275. chance of 2.5%:
  276. give arg-1 1 saddle
  277. give arg-1 1 horse spawn egg
  278. chance of 20%:
  279. give arg-1 1 diamond horse armor
  280. else:
  281. chance of 20%:
  282. give arg-1 1 gold horse armor
  283. else:
  284. chance of 20%:
  285. give arg-1 1 iron horse armor
  286. else:
  287. give arg-1 2 wheat
  288.  
  289. if arg-2 is "uhc":
  290. command "/xp %random integer between 100 and 120% %arg-1%"
  291. clear inventory of arg-1
  292. wait for 1 tick
  293. equip arg-1 with iron chestplate of protection 2
  294. equip arg-1 with iron leggings of protection 1
  295. equip arg-1 with iron boots of projectile protection 2
  296. equip arg-1 with iron helmet of projectile protection 2
  297. give arg-1 a iron sword of sharpness 2
  298. give arg-1 a bow of power 1
  299. give arg-1 a diamond pickaxe of efficiency 1
  300. give arg-1 a iron shovel
  301. give arg-1 64 cobblestone
  302. give arg-1 a water bucket
  303. give arg-1 a lava bucket
  304. give arg-1 3 golden apples
  305. give arg-1 1 ender pearl
  306. give arg-1 64 cobblestone
  307. give arg-1 64 crafting table
  308. give arg-1 64 17
  309. give arg-1 4 apples
  310. give arg-1 96 arrows
  311. give arg-1 1 flint and steel
  312. give arg-1 1 iron axe
  313. give arg-1 32 iron ingots
  314. give arg-1 3 books
  315. give arg-1 3 enchantment tables
  316. give arg-1 3 anvils
  317. give arg-1 1 gold ingot
  318. give arg-1 1 diamond
  319. give arg-1 64 dye:4
  320.  
  321. if arg-2 is "iron":
  322. clear inventory of arg-1
  323. command "/xp %random integer between 100 and 120% %arg-1%"
  324. wait for 1 tick
  325. equip arg-1 with iron chestplate
  326. equip arg-1 with iron leggings
  327. equip arg-1 with iron boots
  328. equip arg-1 with iron helmet
  329. give arg-1 a iron sword
  330. give arg-1 a bow
  331. give arg-1 a iron pickaxe
  332. give arg-1 a iron shovel
  333. give arg-1 64 cobblestone
  334. give arg-1 a water bucket
  335. give arg-1 a lava bucket
  336. give arg-1 3 golden apples
  337. give arg-1 1 ender pearl
  338. give arg-1 96 arrows
  339. give arg-1 64 cobblestone
  340. give arg-1 64 crafting table
  341. give arg-1 64 17
  342. give arg-1 4 apples
  343. give arg-1 1 flint and steel
  344. give arg-1 3 anvils
  345. give arg-1 1 iron axe
  346. give arg-1 32 iron ingots
  347. give arg-1 1 gold ingot
  348. give arg-1 64 dye:4
  349.  
  350. arg-1 is "all"
  351. if arg-2 is not set:
  352. loop all players:
  353. command "/stuff %loop-player%"
  354. else if arg-2 is "iron":
  355. loop all players:
  356. command "/stuff %loop-player% iron"
  357. else if arg-2 is "uhc":
  358. loop all players:
  359. command "/stuff %loop-player% uhc"
  360. else if arg-2 is "randuhc":
  361. loop all players:
  362. command "/stuff %loop-player% randuhc"
  363. else if arg-2 is "randiron":
  364. loop all players:
  365. command "/stuff %loop-player% randiron"
  366. else:
  367. send "&cUsage: /stuff [player/all] [uhc/randuhc/iron/randiron]
Advertisement
Add Comment
Please, Sign In to add comment