Advertisement
Sevenous

Untitled

Jun 23rd, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.93 KB | None | 0 0
  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$&f10,000")),
  15. commands: "eco give {player} 10000",
  16. },
  17. {
  18. chance: 10,
  19. icon: itemName(itemStack("paper"), colorize("&a&l$&f15,000")),
  20. commands: "eco give {player} 15000",
  21. },
  22. {
  23. chance: 5,
  24. icon: itemName(itemStack("paper"), colorize("&a&l$&f25,000")),
  25. commands: "eco give {player} 25000",
  26. },
  27. {
  28. chance: 2.5,
  29. icon: itemName(itemStack("paper"), colorize("&a&l$&f35,000")),
  30. commands: "eco give {player} 35000",
  31. },
  32. {
  33. chance: 10,
  34. icon: itemName(itemStack("iron block"), colorize("&7&l16x &7&lIron &7&lBlocks")),
  35. commands: "give {player} 42 16",
  36. },
  37. {
  38. chance: 7.5,
  39. icon: itemName(itemStack("gold block"), colorize("&7&l16x &6&lGold &7&lBlocks")),
  40. commands: "give {player} 41 16",
  41. },
  42. {
  43. chance: 5,
  44. icon: itemName(itemStack("diamond block"), colorize("&7&l8x &b&lDiamond &7&lBlocks")),
  45. commands: "give {player} 57 8",
  46. },
  47. {
  48. chance: 2.5,
  49. icon: itemName(itemStack("emerald block"), colorize("&7&l8x &a&lEmerald &7&lBlocks")),
  50. commands: "give {player} 133 8",
  51. },
  52. {
  53. chance: 0.05,
  54. icon: itemName(itemStack("paper"), colorize("&c&lHero &f&lRank Note")),
  55. commands: "giverankcoupon {player} hero",
  56. },
  57. {
  58. chance: 10,
  59. icon: itemName(itemStack("diamond sword"), colorize("&a&lVote &7&lSword")),
  60. commands: "give {player} 276 1 name:&a&lVote_&7&lSword ench: sharpness:1 unbreaking:2",
  61. },
  62. {
  63. chance: 10,
  64. icon: itemName(itemStack("diamond pickaxe"), colorize("&a&lVote &7&lPickaxe")),
  65. commands: "give {player} 278 1 name:&a&lVote_&7&lPickaxe ench: fortune:1 unbreaking:2",
  66. },
  67. {
  68. chance: 10,
  69. icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f250 &3Shards")),
  70. commands: "giveshards {player} 250",
  71. },
  72. {
  73. chance: 7.5,
  74. icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f500 &3Shards")),
  75. commands: "giveshards {player} 500",
  76. },
  77. {
  78. chance: 1.5,
  79. icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1000 &3Shards")),
  80. commands: "giveshards {player} 1000",
  81. },
  82. {
  83. chance: 7.5,
  84. icon: itemName(itemStack("enchanted book"), colorize("&d&lFlamingo &7&lKit")),
  85. commands: "givekitpaper {player} flamingo",
  86. },
  87. {
  88. chance: 5,
  89. icon: itemName(itemStack("tripwire hook"), colorize("&b&lUncommon Key")),
  90. commands: "givecratekey {player} uncommon 1",
  91. },
  92. ]
  93. },
  94. uncommon: {
  95. id: "uncommon",
  96. title: "&b&lUncommon",
  97. color: 3,
  98. chance: 70,
  99. rewards: [
  100. {
  101. chance: 12.5,
  102. icon: itemName(itemStack("paper"), colorize("&a&l$&f10,000")),
  103. commands: "eco give {player} 10000",
  104. },
  105. {
  106. chance: 10,
  107. icon: itemName(itemStack("paper"), colorize("&a&l$&f15,000")),
  108. commands: "eco give {player} 15000",
  109. },
  110. {
  111. chance: 5,
  112. icon: itemName(itemStack("paper"), colorize("&a&l$&f25,000")),
  113. commands: "eco give {player} 25000",
  114. },
  115. {
  116. chance: 2.5,
  117. icon: itemName(itemStack("paper"), colorize("&a&l$&f40,000")),
  118. commands: "eco give {player} 40000",
  119. },
  120. {
  121. chance: 12.5,
  122. icon: itemName(itemStack("iron block"), colorize("&7&l16x &7&lIron &7&lBlocks")),
  123. commands: "give {player} 42 16",
  124. },
  125. {
  126. chance: 10,
  127. icon: itemName(itemStack("gold block"), colorize("&7&l16x &6&lGold &7&lBlocks")),
  128. commands: "give {player} 41 16",
  129. },
  130. {
  131. chance: 7.5,
  132. icon: itemName(itemStack("diamond block"), colorize("&7&l8x &b&lDiamond &7&lBlocks")),
  133. commands: "give {player} 57 8",
  134. },
  135. {
  136. chance: 5,
  137. icon: itemName(itemStack("emerald block"), colorize("&7&l8x &a&lEmerald &7&lBlocks")),
  138. commands: "give {player} 133 8",
  139. },
  140. {
  141. chance: 0,
  142. icon: itemName(itemStack("paper"), colorize("&c&lHero &f&lRank Note")),
  143. commands: "giverankcoupon {player} hero",
  144. },
  145. {
  146. chance: 0,
  147. icon: itemName(itemStack("paper"), colorize("&b&lSuperhero &f&lRank Note")),
  148. commands: "giverankcoupon {player} superhero",
  149. },
  150. {
  151. chance: 10,
  152. icon: itemName(itemStack("diamond sword"), colorize("&b&lUncommon &7&lSword")),
  153. commands: "give {player} 276 1 name:&b&lUncommon_&7&lSword ench: sharpness:2 unbreaking:2",
  154. },
  155. {
  156. chance: 10,
  157. icon: itemName(itemStack("diamond pickaxe"), colorize("&b&lUncommon &7&lPickaxe")),
  158. commands: "give {player} 278 1 name:&b&lUncommon_&7&lPickaxe ench: fortune:2 unbreaking:2",
  159. },
  160. {
  161. chance: 10,
  162. icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f250 &3Shards")),
  163. commands: "giveshards {player} 250",
  164. },
  165. {
  166. chance: 7.5,
  167. icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f500 &3Shards")),
  168. commands: "giveshards {player} 500",
  169. },
  170. {
  171. chance: 1.5,
  172. icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1000 &3Shards")),
  173. commands: "giveshards {player} 1000",
  174. },
  175. {
  176. chance: 7.5,
  177. icon: itemName(itemStack("enchanted book"), colorize("&d&lFlamingo &7&lKit")),
  178. commands: "givekitpaper {player} flamingo",
  179. },
  180. {
  181. chance: 2,
  182. icon: itemName(itemStack("tripwire hook"), colorize("&7&l2x &9&lRare Key")),
  183. commands: "givecratekey {player} rare 2",
  184. },
  185. ]
  186. },
  187. rare: {
  188. id: "rare",
  189. title: "&9&lRare",
  190. color: 11,
  191. chance: 30,
  192. rewards: [
  193. {
  194. chance: 12.5,
  195. icon: itemName(itemStack("paper"), colorize("&a&l$&f25,000")),
  196. commands: "eco give {player} 25000",
  197. },
  198. {
  199. chance: 10,
  200. icon: itemName(itemStack("paper"), colorize("&a&l$&f35,000")),
  201. commands: "eco give {player} 35000",
  202. },
  203. {
  204. chance: 5,
  205. icon: itemName(itemStack("paper"), colorize("&a&l$&f50,000")),
  206. commands: "eco give {player} 50000",
  207. },
  208. {
  209. chance: 2.5,
  210. icon: itemName(itemStack("paper"), colorize("&a&l$&f75,000")),
  211. commands: "eco give {player} 75000",
  212. },
  213. {
  214. chance: 12.5,
  215. icon: itemName(itemStack("iron block"), colorize("&7&l32x &7&lIron &7&lBlocks")),
  216. commands: "give {player} 42 32",
  217. },
  218. {
  219. chance: 10,
  220. icon: itemName(itemStack("gold block"), colorize("&7&l32x &6&lGold &7&lBlocks")),
  221. commands: "give {player} 41 32",
  222. },
  223. {
  224. chance: 7.5,
  225. icon: itemName(itemStack("diamond block"), colorize("&7&l16x &b&lDiamond &7&lBlocks")),
  226. commands: "give {player} 57 16",
  227. },
  228. {
  229. chance: 5,
  230. icon: itemName(itemStack("emerald block"), colorize("&7&l16x &a&lEmerald &7&lBlocks")),
  231. commands: "give {player} 133 16",
  232. },
  233. {
  234. chance: 0,
  235. icon: itemName(itemStack("paper"), colorize("&c&lHero &f&lRank Note")),
  236. commands: "giverankcoupon {player} hero",
  237. },
  238. {
  239. chance: 0,
  240. icon: itemName(itemStack("paper"), colorize("&b&lSuperhero &f&lRank Note")),
  241. commands: "giverankcoupon {player} superhero",
  242. },
  243. {
  244. chance: 0,
  245. icon: itemName(itemStack("paper"), colorize("&5&lBatman &f&lRank Note")),
  246. commands: "giverankcoupon {player} batman",
  247. },
  248. {
  249. chance: 10,
  250. icon: itemName(itemStack("diamond sword"), colorize("&9&lRare &7&lSword")),
  251. commands: "give {player} 276 1 name:&9&lRare_&7&lSword ench: sharpness:2 unbreaking:3 ",
  252. },
  253. {
  254. chance: 10,
  255. icon: itemName(itemStack("diamond pickaxe"), colorize("&9&lRare &7&lPickaxe")),
  256. commands: "give {player} 278 1 name:&9&lRare_&7&lPickaxe ench: fortune:2 unbreaking:3",
  257. },
  258. {
  259. chance: 10,
  260. icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f500 &3Shards")),
  261. commands: "giveshards {player} 500",
  262. },
  263. {
  264. chance: 7.5,
  265. icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1000 &3Shards")),
  266. commands: "giveshards {player} 1000",
  267. },
  268. {
  269. chance: 1.5,
  270. icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1500 &3Shards")),
  271. commands: "giveshards {player} 1500",
  272. },
  273. {
  274. chance: 7.5,
  275. icon: itemName(itemStack("enchanted book"), colorize("&d&lFlamingo &7&lKit")),
  276. commands: "givekitpaper {player} flamingo",
  277. },
  278. {
  279. chance: 1,
  280. icon: itemName(itemStack("tripwire hook"), colorize("&7&l2x &9&lRare Key")),
  281. commands: "givecratekey {player} rare 2",
  282. },
  283. {
  284. chance: 2,
  285. icon: itemName(itemStack("tripwire hook"), colorize("&7&l4x &b&lUncommon Key")),
  286. commands: "givecratekey {player} uncommon 4",
  287. },
  288. ]
  289. },
  290. mythical: {
  291. id: "mythical",
  292. title: "&5&lMythical",
  293. color: 10,
  294. chance: 5,
  295. manual: true,
  296. rewards: [
  297. {
  298. chance: 12.5,
  299. icon: itemName(itemStack("paper"), colorize("&a&l$&f75,000")),
  300. commands: "eco give {player} 75000",
  301. },
  302. {
  303. chance: 10,
  304. icon: itemName(itemStack("paper"), colorize("&a&l$&f100,000")),
  305. commands: "eco give {player} 100000",
  306. },
  307. {
  308. chance: 5,
  309. icon: itemName(itemStack("paper"), colorize("&a&l$&f125,000")),
  310. commands: "eco give {player} 125000",
  311. },
  312. {
  313. chance: 2.5,
  314. icon: itemName(itemStack("paper"), colorize("&a&l$&f150,000")),
  315. commands: "eco give {player} 150000",
  316. },
  317. {
  318. chance: 12.5,
  319. icon: itemName(itemStack("iron block"), colorize("&7&l32x &7&lIron &7&lBlocks")),
  320. commands: "give {player} 42 32",
  321. },
  322. {
  323. chance: 10,
  324. icon: itemName(itemStack("gold block"), colorize("&7&l32x &6&lGold &7&lBlocks")),
  325. commands: "give {player} 41 32",
  326. },
  327. {
  328. chance: 7.5,
  329. icon: itemName(itemStack("diamond block"), colorize("&7&l32x &b&lDiamond &7&lBlocks")),
  330. commands: "give {player} 57 32",
  331. },
  332. {
  333. chance: 7.5,
  334. icon: itemName(itemStack("emerald block"), colorize("&7&l16x &a&lEmerald &7&lBlocks")),
  335. commands: "give {player} 133 16",
  336. },
  337. {
  338. chance: 0,
  339. icon: itemName(itemStack("paper"), colorize("&c&lHero &f&lRank Note")),
  340. commands: "giverankcoupon {player} hero",
  341. },
  342. {
  343. chance: 0,
  344. icon: itemName(itemStack("paper"), colorize("&b&lSuperhero &f&lRank Note")),
  345. commands: "giverankcoupon {player} superhero",
  346. },
  347. {
  348. chance: 0,
  349. icon: itemName(itemStack("paper"), colorize("&5&lBatman &f&lRank Note")),
  350. commands: "giverankcoupon {player} batman",
  351. },
  352. {
  353. chance: 0,
  354. icon: itemName(itemStack("paper"), colorize("&c&lJ&6&lO&a&lK&b&lE&5&lR &f&lRank Note")),
  355. commands: "giverankcoupon {player} joker",
  356. },
  357. {
  358. chance: 10,
  359. icon: itemName(itemStack("diamond sword"), colorize("&5&lMythical &7&lSword")),
  360. commands: "give {player} 276 1 name:&5&lMythical_&7&lSword ench: sharpness:3 unbreaking:3 ",
  361. },
  362. {
  363. chance: 10,
  364. icon: itemName(itemStack("diamond pickaxe"), colorize("&5&lMythical &7&lPickaxe")),
  365. commands: "give {player} 278 1 name:&5&lMythical_&7&lPickaxe ench: fortune:3 unbreaking:3 efficiency:1",
  366. },
  367. {
  368. chance: 10,
  369. icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f500 &3Shards")),
  370. commands: "giveshards {player} 500",
  371. },
  372. {
  373. chance: 7.5,
  374. icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1000 &3Shards")),
  375. commands: "giveshards {player} 1000",
  376. },
  377. {
  378. chance: 2.5,
  379. icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1500 &3Shards")),
  380. commands: "giveshards {player} 1500",
  381. },
  382. {
  383. chance: 7.5,
  384. icon: itemName(itemStack("enchanted book"), colorize("&d&lFlamingo &7&lKit")),
  385. commands: "givekitpaper {player} flamingo",
  386. },
  387. {
  388. chance: 5,
  389. icon: itemName(itemStack("enchanted book"), colorize("&7&lArkham&b&lKnight &3&lKit")),
  390. commands: "givekitpaper {player} arkhamknight",
  391. },
  392. {
  393. chance: 2,
  394. icon: itemName(itemStack("tripwire hook"), colorize("&7&l3x &9&lRare Key")),
  395. commands: "givecratekey {player} rare 3",
  396. },
  397. {
  398. chance: 1,
  399. icon: itemName(itemStack("tripwire hook"), colorize("&7&l6x &b&lUncommon Key")),
  400. commands: "givecratekey {player} uncommon 6",
  401. },
  402. ]
  403. },
  404. legendary: {
  405. id: "legendary",
  406. title: "&6&lLegendary",
  407. color: 3,
  408. chance: 0.001,
  409. rewards: [
  410. {
  411. chance: 12.5,
  412. icon: itemName(itemStack("paper"), colorize("&a&l$&f100,000")),
  413. commands: "eco give {player} 100000",
  414. },
  415. {
  416. chance: 10,
  417. icon: itemName(itemStack("paper"), colorize("&a&l$&f200,000")),
  418. commands: "eco give {player} 200000",
  419. },
  420. {
  421. chance: 5,
  422. icon: itemName(itemStack("paper"), colorize("&a&l$&f300,000")),
  423. commands: "eco give {player} 300000",
  424. },
  425. {
  426. chance: 2.5,
  427. icon: itemName(itemStack("paper"), colorize("&a&l$&f400,000")),
  428. commands: "eco give {player} 400000",
  429. },
  430. {
  431. chance: 12.5,
  432. icon: itemName(itemStack("iron block"), colorize("&7&l64x &7&lIron &7&lBlocks")),
  433. commands: "give {player} 42 64",
  434. },
  435. {
  436. chance: 10,
  437. icon: itemName(itemStack("gold block"), colorize("&7&l64x &6&lGold &7&lBlocks")),
  438. commands: "give {player} 41 64",
  439. },
  440. {
  441. chance: 7.5,
  442. icon: itemName(itemStack("diamond block"), colorize("&7&l32x &b&lDiamond &7&lBlocks")),
  443. commands: "give {player} 57 32",
  444. },
  445. {
  446. chance: 7.5,
  447. icon: itemName(itemStack("emerald block"), colorize("&7&l32x &a&lEmerald &7&lBlocks")),
  448. commands: "give {player} 133 32",
  449. },
  450. {
  451. chance: 0.05,
  452. icon: itemName(itemStack("paper"), colorize("&c&lHero &f&lRank Note")),
  453. commands: "giverankcoupon {player} hero",
  454. },
  455. {
  456. chance: 0.05,
  457. icon: itemName(itemStack("paper"), colorize("&b&lSuperhero &f&lRank Note")),
  458. commands: "giverankcoupon {player} superhero",
  459. },
  460. {
  461. chance: 0.05,
  462. icon: itemName(itemStack("paper"), colorize("&5&lBatman &f&lRank Note")),
  463. commands: "giverankcoupon {player} batman",
  464. },
  465. {
  466. chance: 0.05,
  467. icon: itemName(itemStack("paper"), colorize("&c&lJ&6&lO&a&lK&b&lE&5&lR &f&lRank Note")),
  468. commands: "giverankcoupon {player} joker",
  469. },
  470. {
  471. chance: 0.05,
  472. icon: itemName(itemStack("paper"), colorize("&d&lFlamingo &f&lRank Note")),
  473. commands: "giverankcoupon {player} flamingo",
  474. },
  475. {
  476. chance: 10,
  477. icon: itemName(itemStack("diamond sword"), colorize("&6&lLegendary &7&lSword")),
  478. commands: "give {player} 276 1 name:&4&lLegendary_&7&lSword ench: sharpness:3 unbreaking:3 knockback:2 ",
  479. },
  480. {
  481. chance: 5,
  482. icon: itemName(itemStack("diamond pickaxe"), colorize("&6&lLegendary &7&lPickaxe")),
  483. commands: "give {player} 278 1 name:&4&lLegendary_&7&lPickaxe ench: fortune:4 unbreaking:3 efficiency:5",
  484. },
  485. {
  486. chance: 10,
  487. icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1000 &3Shards")),
  488. commands: "giveshards {player} 1000",
  489. },
  490. {
  491. chance: 7.5,
  492. icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f1500 &3Shards")),
  493. commands: "giveshards {player} 1500",
  494. },
  495. {
  496. chance: 5,
  497. icon: itemName(itemStack("prismarine shard"), colorize("&6&l➢&f2000 &3Shards")),
  498. commands: "giveshards {player} 2000",
  499. },
  500. {
  501. chance: 7.5,
  502. icon: itemName(itemStack("enchanted book"), colorize("&d&lFlamingo &7&lKit")),
  503. commands: "givekitpaper {player} flamingo",
  504. },
  505. {
  506. chance: 5,
  507. icon: itemName(itemStack("enchanted book"), colorize("&7&lArkham&b&lKnight &3&lKit")),
  508. commands: "givekitpaper {player} arkhamknight",
  509. },
  510. {
  511. chance: 1.5,
  512. icon: itemName(itemStack("enchanted book"), colorize("&6&lOP &e&lPickaxe &7&lKit")),
  513. commands: "givekitpaper {player} oppickaxe",
  514. },
  515. {
  516. chance: 0,
  517. icon: itemName(itemStack("tripwire hook"), colorize("&7&l6x &9&lRare Key")),
  518. commands: "givecratekey {player} rare 3",
  519. },
  520. {
  521. chance: 0,
  522. icon: itemName(itemStack("tripwire hook"), colorize("&7&l10x &b&lUncommon Key")),
  523. commands: "givecratekey {player} uncommon 6",
  524. },
  525. {
  526. chance: 0,
  527. icon: itemName(itemStack("tripwire hook"), colorize("&7&l3x &5&lMythical Key")),
  528. commands: "givecratekey {player} mythical 2",
  529. },
  530. {
  531. chance: 0,
  532. icon: itemName(itemStack("tripwire hook"), colorize("&7&l3x &6&lLegendary Key")),
  533. commands: "givecratekey {player} legendary 1",
  534. },
  535. ]
  536. },
  537. }
  538. })
  539.  
  540. if (interserver.getId() === "skyblock2" || interserver.getId() === "prison1") {
  541. autoload.watch("patches:content/jcrates.js")
  542. } else {
  543. autoload.watch("patches:content/newcrates.js")
  544. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement