Dragonleet_

Crates

Jul 18th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. load("util:items.js")
  2.  
  3. exports.put("patches:content/crates", {
  4. settings: {},
  5. crates: {
  6. voting: {
  7. id: "voting",
  8. title: "&a&lVoting",
  9. color: 5,
  10. chance: 100,
  11. rewards: [
  12. {
  13. chance: 12.5,
  14. icon: itemName(itemStack("paper"), colorize("&a&l$&f5,000")),
  15. commands: "eco give {player} 5000",
  16. },
  17. {
  18. chance: 11,
  19. icon: itemName(itemStack("paper"), colorize("&a&l$&f10,000")),
  20. commands: "eco give {player} 10000",
  21. },
  22. {
  23. chance: 10,
  24. icon: itemName(itemStack("paper"), colorize("&a&l$&f15,000")),
  25. commands: "eco give {player} 15000",
  26. },
  27. {
  28. chance: 12,
  29. icon: itemName(itemStack("iron block"), colorize("&7&l16x &7&lIron &7&lBlocks")),
  30. commands: "give {player} 42 8",
  31. },
  32. {
  33. chance: 10,
  34. icon: itemName(itemStack("gold block"), colorize("&7&l16x &6&lGold &7&lBlocks")),
  35. commands: "give {player} 41 8",
  36. },
  37. {
  38. chance: 9,
  39. icon: itemName(itemStack("diamond block"), colorize("&7&l8x &b&lDiamond &7&lBlocks")),
  40. commands: "give {player} 57 6",
  41. },
  42. {
  43. chance: 7.5,
  44. icon: itemName(itemStack("emerald block"), colorize("&7&l4x &a&lEmerald &7&lBlocks")),
  45. commands: "give {player} 133 4",
  46. },
  47. {
  48. chance: 0.9,
  49. icon: itemName(itemStack("paper"), colorize("&3&lVindicator &f&lRank Note")),
  50. commands: "giverankcoupon {player} Vindicator",
  51. },
  52. {
  53. chance: 0.08,
  54. icon: itemName(itemStack("paper"), colorize("&a&lTitan &f&lRank Note")),
  55. commands: "giverankcoupon {player} Titan",
  56. },
  57. {
  58. chance: 0.05,
  59. icon: itemName(itemStack("paper"), colorize("&c&lHero &f&lRank Note")),
  60. commands: "giverankcoupon {player} Hero",
  61. },
  62. {
  63. chance: 5,
  64. icon: itemName(itemStack("double plant"), colorize("&c&l➢&f50 &6Mob Coins")),
  65. commands: "givemobcoins {player} 50",
  66. },
  67. {
  68. chance: 10,
  69. icon: itemName(itemStack("enchanted book"), colorize("&b&lBat&4&lman &f&lKit")),
  70. commands: "givekitpaper {player} Batman",
  71. },
  72. {
  73. chance: 8.5,
  74. icon: itemName(itemStack("mobspawner 1"), colorize("&c&l3x &f&lCow Spawner")),
  75. commands: "give {player} spawner 3 name:&eCow_Spawner",
  76. },
  77. {
  78. chance: 8.5,
  79. icon: itemName(itemStack("mobspawner 1"), colorize("&c&l3x &f&lSheep Spawner")),
  80. commands: "give {player} spawner 3 name:&eSheep_Spawner",
  81. },
  82. {
  83. chance: 5,
  84. icon: itemName(itemStack("tripwire hook"), colorize("&b&lUncommon Key")),
  85. commands: "givecratekey {player} uncommon 1",
  86. },
  87. ]
  88. },
  89. uncommon: {
  90. id: "uncommon",
  91. title: "&b&lUncommon",
  92. color: 3,
  93. chance: 70,
  94. rewards: [
  95. {
  96. chance: 12,
  97. icon: itemName(itemStack("paper"), colorize("&a&l$&f15,000")),
  98. commands: "eco give {player} 15000",
  99. },
  100. {
  101. chance: 10,
  102. icon: itemName(itemStack("paper"), colorize("&a&l$&f25,000")),
  103. commands: "eco give {player} 25000",
  104. },
  105. {
  106. chance: 9,
  107. icon: itemName(itemStack("paper"), colorize("&a&l$&f35,000")),
  108. commands: "eco give {player} 35000",
  109. },
  110. {
  111. chance: 12.5,
  112. icon: itemName(itemStack("iron block"), colorize("&7&l16x &7&lIron &7&lBlocks")),
  113. commands: "give {player} 42 16",
  114. },
  115. {
  116. chance: 10,
  117. icon: itemName(itemStack("gold block"), colorize("&7&l16x &6&lGold &7&lBlocks")),
  118. commands: "give {player} 41 16",
  119. },
  120. {
  121. chance: 7.5,
  122. icon: itemName(itemStack("diamond block"), colorize("&7&l8x &b&lDiamond &7&lBlocks")),
  123. commands: "give {player} 57 8",
  124. },
  125. {
  126. chance: 5,
  127. icon: itemName(itemStack("emerald block"), colorize("&7&l6x &a&lEmerald &7&lBlocks")),
  128. commands: "give {player} 133 6",
  129. },
  130. {
  131. chance: 0.005,
  132. icon: itemName(itemStack("paper"), colorize("&b&lSuperhero &f&lRank Note")),
  133. commands: "giverankcoupon {player} Superhero",
  134. },
  135. {
  136. chance: 0.004,
  137. icon: itemName(itemStack("paper"), colorize("&b&lBat&4&lman &f&lRank Note")),
  138. commands: "giverankcoupon {player} Batman",
  139. },
  140. {
  141. chance: 10,
  142. icon: itemName(itemStack("diamond pickaxe"), colorize("&b&lUncommon &7&lPickaxe")),
  143. commands: "give {player} 278 1 name:&b&lUncommon_&f&lPickaxe ench: Efficiency:2 unbreaking:2",
  144. },
  145. {
  146. chance: 4.5,
  147. icon: itemName(itemStack("double plant"), colorize("&c&l➢&f75 &6Mob coins")),
  148. commands: "givemobcoins {player} 75",
  149. },
  150. {
  151. chance: 10,
  152. icon: itemName(itemStack("enchanted book"), colorize("&c&lJ&6&lo&a&lk&b&le&d&lr &7&lKit")),
  153. commands: "givekitpaper {player} Joker",
  154. },
  155. {
  156. chance: 5.5,
  157. icon: itemName(itemStack("mobspawner 1"), colorize("&c&l2x &f&lEnderman Spawner")),
  158. commands: "give {player} spawner 2 name:&eEnderman_Spawner",
  159. },
  160. {
  161. chance: 6.5,
  162. icon: itemName(itemStack("mobspawner 1"), colorize("&c&l2x &f&lSpider Spawner")),
  163. commands: "give {player} spawner 2 name:&eSpider_Spawner",
  164. },
  165. {
  166. chance: 2,
  167. icon: itemName(itemStack("tripwire hook"), colorize("&7&l2x &9&lRare Key")),
  168. commands: "givecratekey {player} rare 2",
  169. },
  170. ]
  171. },
  172. rare: {
  173. id: "rare",
  174. title: "&9&lRare",
  175. color: 11,
  176. chance: 30,
  177. rewards: [
  178. {
  179. chance: 11,
  180. icon: itemName(itemStack("paper"), colorize("&a&l$&f50,000")),
  181. commands: "eco give {player} 50000",
  182. },
  183. {
  184. chance: 10,
  185. icon: itemName(itemStack("paper"), colorize("&a&l$&f60,000")),
  186. commands: "eco give {player} 60000",
  187. },
  188. {
  189. chance: 9,
  190. icon: itemName(itemStack("paper"), colorize("&a&l$&f75,000")),
  191. commands: "eco give {player} 75000",
  192. },
  193. {
  194. chance: 12.5,
  195. icon: itemName(itemStack("iron block"), colorize("&7&l32x &7&lIron &7&lBlocks")),
  196. commands: "give {player} 42 24",
  197. },
  198. {
  199. chance: 10,
  200. icon: itemName(itemStack("gold block"), colorize("&7&l24x &6&lGold &7&lBlocks")),
  201. commands: "give {player} 41 24",
  202. },
  203. {
  204. chance: 7.5,
  205. icon: itemName(itemStack("diamond block"), colorize("&7&l16x &b&lDiamond &7&lBlocks")),
  206. commands: "give {player} 57 16",
  207. },
  208. {
  209. chance: 7,
  210. icon: itemName(itemStack("emerald block"), colorize("&7&l12x &a&lEmerald &7&lBlocks")),
  211. commands: "give {player} 133 12",
  212. },
  213. {
  214. chance: 0.005,
  215. icon: itemName(itemStack("paper"), colorize("&c&lJ&6&lo&a&lk&b&le&d&lr &f&lRank Note")),
  216. commands: "giverankcoupon {player} Joker",
  217. },
  218. {
  219. chance: 10,
  220. icon: itemName(itemStack("diamond pickaxe"), colorize("&9&lRare &7&lPickaxe")),
  221. commands: "give {player} 278 1 name:&9&lRare_&7&lPickaxe ench: Efficiency:3 fortune:1 unbreaking:3",
  222. },
  223. {
  224. chance: 3.5,
  225. icon: itemName(itemStack("double plant"), colorize("&c&l➢&f100 &6Mob Coins")),
  226. commands: "givemobcoins {player} 100",
  227. },
  228. {
  229. chance: 3,
  230. icon: itemName(itemStack("double plant"), colorize("&c&l➢&f150 &6Mob Coins")),
  231. commands: "givemobcoins {player} 150",
  232. },
  233. {
  234. chance: 9.5,
  235. icon: itemName(itemStack("enchanted book"), colorize("&d&lFlamingo &7&lKit")),
  236. commands: "givekitpaper {player} flamingo",
  237. },
  238. {
  239. chance: 3.5,
  240. icon: itemName(itemStack("mobspawner 1"), colorize("&c&l3x &f&lSkeleton Spawner")),
  241. commands: "give {player} spawner 3 name:&eSkeleton_Spawner",
  242. },
  243. {
  244. chance: 3.5,
  245. icon: itemName(itemStack("mobspawner 1"), colorize("&c&l3x &f&lZombie Spawner")),
  246. commands: "give {player} spawner 3 name:&eZombie_Spawner",
  247. },
  248. {
  249. chance: 2,
  250. icon: itemName(itemStack("tripwire hook"), colorize("&7&l1x &5&lMythical Key")),
  251. commands: "givecratekey {player} mythical 1",
  252. },
  253. ]
  254. },
  255. mythical: {
  256. id: "mythical",
  257. title: "&5&lMythical",
  258. color: 10,
  259. chance: 5,
  260. manual: true,
  261. rewards: [
  262. {
  263. chance: 12.5,
  264. icon: itemName(itemStack("paper"), colorize("&a&l$&f100,000")),
  265. commands: "eco give {player} 100000",
  266. },
  267. {
  268. chance: 10,
  269. icon: itemName(itemStack("paper"), colorize("&a&l$&f150,000")),
  270. commands: "eco give {player} 150000",
  271. },
  272. {
  273. chance: 7,
  274. icon: itemName(itemStack("paper"), colorize("&a&l$&f200,000")),
  275. commands: "eco give {player} 200000",
  276. },
  277. {
  278. chance: 12.5,
  279. icon: itemName(itemStack("iron block"), colorize("&7&l48x &7&lIron &7&lBlocks")),
  280. commands: "give {player} 42 48",
  281. },
  282. {
  283. chance: 10,
  284. icon: itemName(itemStack("gold block"), colorize("&7&l32x &6&lGold &7&lBlocks")),
  285. commands: "give {player} 41 32",
  286. },
  287. {
  288. chance: 8,
  289. icon: itemName(itemStack("diamond block"), colorize("&7&l24x &b&lDiamond &7&lBlocks")),
  290. commands: "give {player} 57 24",
  291. },
  292. {
  293. chance: 7.5,
  294. icon: itemName(itemStack("emerald block"), colorize("&7&l22x &a&lEmerald &7&lBlocks")),
  295. commands: "give {player} 133 22",
  296. },
  297. {
  298. chance: 0.0005,
  299. icon: itemName(itemStack("paper"), colorize("&d&lFlamingo &f&lRank Note")),
  300. commands: "giverankcoupon {player} flamingo",
  301. },
  302. {
  303. chance: 10,
  304. icon: itemName(itemStack("diamond pickaxe"), colorize("&5&lMythical &7&lPickaxe")),
  305. commands: "give {player} 278 1 name:&5&lMythical_&7&lPickaxe ench: fortune:3 unbreaking:3 efficiency:4",
  306. },
  307. {
  308. chance: 2.5,
  309. icon: itemName(itemStack("double plant"), colorize("&c&l➢&f250 &6Mob Coins")),
  310. commands: "givemobcoins {player} 250",
  311. },
  312. {
  313. chance: 2,
  314. icon: itemName(itemStack("double plant"), colorize("&c&l➢&f500 &6Mob Coins")),
  315. commands: "givemobcoins {player} 500",
  316. },
  317. {
  318. chance: 5,
  319. icon: itemName(itemStack("enchanted book"), colorize("&7&lArkham&b&lKnight &3&lKit")),
  320. commands: "givekitpaper {player} arkhamknight",
  321. },
  322. {
  323. chance: 3.5,
  324. icon: itemName(itemStack("mobspawner 1"), colorize("&c&l3x &f&lZombie Pigman Spawner")),
  325. commands: "give {player} spawner 3 name:&eZombie_Pigman_Spawner",
  326. },
  327. {
  328. chance: 3,
  329. icon: itemName(itemStack("mobspawner 1"), colorize("&c&l1x &f&lBlaze Spawner")),
  330. commands: "give {player} spawner 1 name:&eBlaze_Spawner",
  331. },
  332. {
  333. chance: 1.2,
  334. icon: itemName(itemStack("tripwire hook"), colorize("&7&l1x &6&lLegendary Key")),
  335. commands: "givecratekey {player} Legendary 1",
  336. },
  337. ]
  338. },
  339. legendary: {
  340. id: "legendary",
  341. title: "&6&lLegendary",
  342. color: 3,
  343. chance: 0.001,
  344. rewards: [
  345. {
  346. chance: 10,
  347. icon: itemName(itemStack("paper"), colorize("&a&l$&f300,000")),
  348. commands: "eco give {player} 300000",
  349. },
  350. {
  351. chance: 7.5,
  352. icon: itemName(itemStack("paper"), colorize("&a&l$&f500,000")),
  353. commands: "eco give {player} 500000",
  354. },
  355. {
  356. chance: 5,
  357. icon: itemName(itemStack("paper"), colorize("&a&l$&f750,000")),
  358. commands: "eco give {player} 750000",
  359. },
  360. {
  361. chance: 12.5,
  362. icon: itemName(itemStack("iron block"), colorize("&7&l128x &7&lIron &7&lBlocks")),
  363. commands: "give {player} 42 128",
  364. },
  365. {
  366. chance: 12,
  367. icon: itemName(itemStack("gold block"), colorize("&7&l64x &6&lGold &7&lBlocks")),
  368. commands: "give {player} 41 64",
  369. },
  370. {
  371. chance: 8,
  372. icon: itemName(itemStack("diamond block"), colorize("&7&l48x &b&lDiamond &7&lBlocks")),
  373. commands: "give {player} 57 48",
  374. },
  375. {
  376. chance: 7.5,
  377. icon: itemName(itemStack("emerald block"), colorize("&7&l32x &a&lEmerald &7&lBlocks")),
  378. commands: "give {player} 133 32",
  379. },
  380. {
  381. chance: 6,
  382. icon: itemName(itemStack("diamond pickaxe"), colorize("&6&lLegendary &7&lPickaxe")),
  383. commands: "give {player} 278 1 name:&4&lLegendary_&7&lPickaxe ench: fortune:4 unbreaking:3 efficiency:5",
  384. },
  385. {
  386. chance: 3,
  387. icon: itemName(itemStack("double plant"), colorize("&c&l➢&f750 &6Mob Coins")),
  388. commands: "givemobcoins {player} 750",
  389. },
  390. {
  391. chance: 2.5,
  392. icon: itemName(itemStack("double plant"), colorize("&c&l➢&f1000 &6Mob Coins")),
  393. commands: "givemobcoins {player} 1000",
  394. },
  395. {
  396. chance: 7.5,
  397. icon: itemName(itemStack("enchanted book"), colorize("&4&lM&c&le&4&lm&c&le&4&ll&c&lo&4&lr&c&ld &7&lKit")),
  398. commands: "givekitpaper {player} memelord",
  399. },
  400. {
  401. chance: 1.75,
  402. icon: itemName(itemStack("enchanted book"), colorize("&4&lOP &e&lTools &4&lKit")),
  403. commands: "givekitpaper {player} optools",
  404. },
  405. {
  406. chance: 3,
  407. icon: itemName(itemStack("mobspawner 1"), colorize("&c&l4x &f&lBlaze Spawner")),
  408. commands: "give {player} spawner 4 name:&eBlaze_Spawner",
  409. },
  410. {
  411. chance: 3.5,
  412. icon: itemName(itemStack("mobspawner 1"), colorize("&c&l1x &f&lVillager Spawner")),
  413. commands: "give {player} spawner 1 name:&eVillager_Spawner",
  414. },
  415. {
  416. chance: 1,
  417. icon: itemName(itemStack("tripwire hook"), colorize("&7&l2x &6&lLegendary Key")),
  418. commands: "givecratekey {player} legendary 2",
  419. },
  420. ]
  421. },
  422. }
  423. })
  424. //
  425. // if (interserver.getId() === "skyblock1" || interserver.getId() === "prison1") {
  426. autoload.watch("servers/skyblock1/jcrates.js")
  427. // } else {
  428. // autoload.watch("patches:content/newcrates.js")
  429. // }
Add Comment
Please, Sign In to add comment