Advertisement
Sevenous

Untitled

Sep 11th, 2019
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.45 KB | None | 0 0
  1. load("util:items.js")
  2.  
  3. exports.put("patches/content/crates", [
  4. {
  5. id: "voting",
  6. title: "&a&lVoting &7&lCrate",
  7. spawnFirework: false,
  8. rewards: {
  9. "&a&l$10,000": {
  10. icon: "paper 1",
  11. chance: 4,
  12. commands: [
  13. "eco give {name} 10000"
  14. ]
  15. },
  16. "&a&l$15,000": {
  17. icon: "paper 1",
  18. chance: 3.5,
  19. commands: [
  20. "eco give {name} 15000"
  21. ]
  22. },
  23. "&a&l$30,000": {
  24. icon: "paper 1",
  25. chance: 3,
  26. commands: [
  27. "eco give {name} 30000"
  28. ]
  29. },
  30. "&8&l8x Hopper": {
  31. icon: "154 8",
  32. chance: 5,
  33. commands: [
  34. "give {name} hopper 8"
  35. ]
  36. },
  37. "&e2x Chicken Spawner":{
  38. icon: "52 2",
  39. chance: 2.5,
  40. commands: [
  41. "give {name} 52 2 name:&eChicken_Spawner"
  42. ]
  43. },
  44. "&e2x Pig Spawner":{
  45. icon: "52 2",
  46. chance: 3,
  47. commands: [
  48. "give {name} 52 2 name:&ePig_Spawner"
  49. ]
  50. },
  51. "&716x Iron Blocks":{
  52. icon: "42 16",
  53. chance: 6,
  54. commands: [
  55. "give {name} ironblock 16"
  56. ]
  57. },
  58. "&78x Gold Blocks":{
  59. icon: "41 8",
  60. chance: 5.5,
  61. commands: [
  62. "give {name} goldblock 8"
  63. ]
  64. },
  65. "&74x Diamond Blocks":{
  66. icon: "57 4",
  67. chance: 5,
  68. commands: [
  69. "give {name} diamondblock 4"
  70. ]
  71. },
  72. "&72x Emerald Blocks":{
  73. icon: "133 2",
  74. chance: 4.5,
  75. commands: [
  76. "give {name} emeraldblock 2"
  77. ]
  78. },
  79. "&a&lVoting Pickaxe":{
  80. icon: "278",
  81. chance: 4,
  82. commands: [
  83. "give {name} 278 1 name:&f&l*_&aVoting_Pickaxe_&f&l* efficiency:1"
  84. ]
  85. },
  86. "&cTails Kit Paper":{
  87. icon: "339 1",
  88. chance: 1.5,
  89. commands: [
  90. "givekitpaper {name} tails"
  91. ]
  92. },
  93. "&e10 Shards": {
  94. icon: "175 1",
  95. chance: 2.0,
  96. commands: [
  97. "giveshards {name} 10"
  98. ]
  99. },
  100. "&7&l1x &e&lRename Tag": {
  101. icon: "421 1",
  102. chance: 5,
  103. commands: [
  104. "givecoloredtag {name}"
  105. ]
  106. },
  107. "1x Titlecreate Token": {
  108. icon: "421 1",
  109. chance: 4,
  110. commands: [
  111. "givetitlecreate {name} 1"
  112. ]
  113. },
  114. "&7&lNormal &7&lKey": {
  115. icon: "131 1",
  116. chance: 2,
  117. commands: [
  118. "givecratekey normal {name} 1"
  119. ]
  120. },
  121. }
  122. },
  123. {
  124. id: "normal",
  125. title: "&7&lNormal &7&lCrate",
  126. spawnFirework: false,
  127. rewards: {
  128. "&a&l$40,000": {
  129. icon: "paper 1",
  130. chance: 4.5,
  131. commands: [
  132. "eco give {name} 40000"
  133. ]
  134. },
  135. "&a&l$60,000": {
  136. icon: "paper 1",
  137. chance: 4,
  138. commands: [
  139. "eco give {name} 60000"
  140. ]
  141. },
  142. "&a&l$100,000": {
  143. icon: "paper 1",
  144. chance: 4,
  145. commands: [
  146. "eco give {name} 100000"
  147. ]
  148. },
  149. "&e2x Cow Spawner": {
  150. icon: "52 2",
  151. chance: 2.5,
  152. commands: [
  153. "give {name} 52 2 name:&eCow_Spawner"
  154. ]
  155. },
  156. "&e4x Cow Spawner": {
  157. icon: "52 4",
  158. chance: 1,
  159. commands: [
  160. "give {name} 52 4 name:&eCow_Spawner"
  161. ]
  162. },
  163. "&e2x Sheep Spawner": {
  164. icon: "52 2",
  165. chance: 2.5,
  166. commands: [
  167. "give {name} 52 2 name:&eSheep_Spawner"
  168. ]
  169. },
  170. "&e4x Sheep Spawner": {
  171. icon: "52 4",
  172. chance: 1,
  173. commands: [
  174. "give {name} 52 4 name:&eSheep_Spawner"
  175. ]
  176. },
  177. "&b&lKnuckles Kit Paper": {
  178. icon: "339 1",
  179. chance: 1.5,
  180. commands: [
  181. "givekitpaper {name} knuckles"
  182. ]
  183. },
  184. "&e25 Shards": {
  185. icon: "175 1",
  186. chance: 2.0,
  187. commands: [
  188. "giveshards {name} 25"
  189. ]
  190. },
  191. "&7&l1x &e&lRename Tag": {
  192. icon: "421 1",
  193. chance: 5,
  194. commands: [
  195. "givecoloredtag {name}"
  196. ]
  197. },
  198. "2x Titlecreate Token": {
  199. icon: "421 2",
  200. chance: 4,
  201. commands: [
  202. "givetitlecreate {name} 2"
  203. ]
  204. },
  205. "&a&lLevel Up": {
  206. icon: "131 1",
  207. chance: 2,
  208. commands: [
  209. "givecratekey rare {name} 1"
  210. ]
  211. },
  212. "&e&lDouble Play": {
  213. icon: "131 1",
  214. chance: 1,
  215. commands: [
  216. "givecratekey normal {name} 2"
  217. ]
  218. },
  219. }
  220. },
  221. {
  222. id: "rare",
  223. title: "&4&lRare &7&lCrate",
  224. spawnFirework: false,
  225. rewards: {
  226. "&a&l$100,000": {
  227. icon: "paper 1",
  228. chance: 5,
  229. commands: [
  230. "eco give {name} 100000"
  231. ]
  232. },
  233. "&a&l$150,000": {
  234. icon: "paper 1",
  235. chance: 4.5,
  236. commands: [
  237. "eco give {name} 150000"
  238. ]
  239. },
  240. "&a&l$200,000": {
  241. icon: "paper 1",
  242. chance: 4,
  243. commands: [
  244. "eco give {name} 200000"
  245. ]
  246. },
  247. "&e2x Zombie Spawner": {
  248. icon: "52 2",
  249. chance: 2.5,
  250. commands: [
  251. "give {name} 52 2 name:&eZombie_Spawner"
  252. ]
  253. },
  254. "&e4x Zombie Spawner": {
  255. icon: "52 4",
  256. chance: 2,
  257. commands: [
  258. "give {name} 52 4 name:&eZombie_Spawner"
  259. ]
  260. },
  261. "&e2x Spider Spawner": {
  262. icon: "52 2",
  263. chance: 2.5,
  264. commands: [
  265. "give {name} 52 2 name:&eSpider_Spawner"
  266. ]
  267. },
  268. "&e4x Spider Spawner": {
  269. icon: "52 4",
  270. chance: 2,
  271. commands: [
  272. "give {name} 52 4 name:&eSpider_Spawner"
  273. ]
  274. },
  275. "&e2x Zombie Pigman Spawner": {
  276. icon: "52 2",
  277. chance: 0.5,
  278. commands: [
  279. "give {name} 52 2 name:&eZombie_Pigman_Spawner"
  280. ]
  281. },
  282. "&9&lSilver Kit Paper": {
  283. icon: "339 1",
  284. chance: 1.5,
  285. commands: [
  286. "givekitpaper {name} silver"
  287. ]
  288. },
  289. "&e50 Shards": {
  290. icon: "175 1",
  291. chance: 2.0,
  292. commands: [
  293. "giveshards {name} 50"
  294. ]
  295. },
  296. "3x Titlecreate Token": {
  297. icon: "421 3",
  298. chance: 4,
  299. commands: [
  300. "givetitlecreate {name} 3"
  301. ]
  302. },
  303. "&61x God Apple": {
  304. icon: "322:1 1",
  305. chance: 1,
  306. commands: [
  307. "give {name} 322:1 1"
  308. ]
  309. },
  310. "&a&lLevel Up": {
  311. icon: "131 1",
  312. chance: 2,
  313. commands: [
  314. "givecratekey special {name} 1"
  315. ]
  316. },
  317. "&o&e&lDouble Play": {
  318. icon: "131 1",
  319. chance: 1,
  320. commands: [
  321. "givecratekey rare {name} 2"
  322. ]
  323. },
  324. }
  325. },
  326. {
  327. id: "special",
  328. title: "&b&lSpecial &7&lCrate",
  329. spawnFirework: false,
  330. rewards: {
  331. "&a&l$200,000": {
  332. icon: "paper 1",
  333. chance: 5.5,
  334. commands: [
  335. "eco give {name} 200000"
  336. ]
  337. },
  338. "&a&l$250,000": {
  339. icon: "paper 1",
  340. chance: 5,
  341. commands: [
  342. "eco give {name} 250000"
  343. ]
  344. },
  345. "&a&l$300,000": {
  346. icon: "paper 1",
  347. chance: 4.5,
  348. commands: [
  349. "eco give {name} 300000"
  350. ]
  351. },
  352. "&e4x Creeper Spawners": {
  353. icon: "52 4",
  354. chance: 3,
  355. commands: [
  356. "give {name} 52 4 name:&eCreeper_Spawner"
  357. ]
  358. },
  359. "&e4x Zombie Pigman Spawners": {
  360. icon: "52 4",
  361. chance: 3,
  362. commands: [
  363. "give {name} 52 4 name:&eZombie_Pigman_Spawner"
  364. ]
  365. },
  366. "&e2x Blaze Spawner": {
  367. icon: "52 2",
  368. chance: 1,
  369. commands: [
  370. "give {name} 52 2 name:&eBlaze_Spawner"
  371. ]
  372. },
  373. "&e4x Blaze Spawner": {
  374. icon: "52 4",
  375. chance: 0.5,
  376. commands: [
  377. "give {name} 52 4 name:&eBlaze_Spawner"
  378. ]
  379. },
  380. "&5&lSonic Kit Paper": {
  381. icon: "339 1",
  382. chance: 1.5,
  383. commands: [
  384. "givekitpaper {name} sonic"
  385. ]
  386. },
  387. "4x Titlecreate Token": {
  388. icon: "421 4",
  389. chance: 4,
  390. commands: [
  391. "givetitlecreate {name} 4"
  392. ]
  393. },
  394. "&63x God Apple": {
  395. icon: "322:1 3",
  396. chance: 2,
  397. commands: [
  398. "give {name} 322:1 3"
  399. ]
  400. },
  401. "&e100 Shards": {
  402. icon: "175 1",
  403. chance: 2.0,
  404. commands: [
  405. "giveshards {name} 100"
  406. ]
  407. },
  408. "&a&lLevel Up": {
  409. icon: "131 1",
  410. chance: 2,
  411. commands: [
  412. "givecratekey legendary {name} 1"
  413. ]
  414. },
  415. "&o&e&lDouble Play": {
  416. icon: "131 1",
  417. chance: 1,
  418. commands: [
  419. "givecratekey special {name} 2"
  420. ]
  421. },
  422. }
  423. },
  424. {
  425. id: "legendary",
  426. title: "&6&lLegendary &7&lCrate",
  427. spawnFirework: false,
  428. rewards: {
  429. "&a&l$300,000": {
  430. icon: "paper 1",
  431. chance: 6,
  432. commands: [
  433. "eco give {name} 300000"
  434. ]
  435. },
  436. "&a&l$500,000": {
  437. icon: "paper 1",
  438. chance: 5.5,
  439. commands: [
  440. "eco give {name} 500000"
  441. ]
  442. },
  443. "&a&l$1,000,000": {
  444. icon: "paper 1",
  445. chance: 5,
  446. commands: [
  447. "eco give {name} 1000000"
  448. ]
  449. },
  450. "&e6x Creeper Spawners": {
  451. icon: "52 6",
  452. chance: 4.5,
  453. commands: [
  454. "give {name} 52 6 name:&eCreeper_Spawner"
  455. ]
  456. },
  457. "&e6x Zombie Pigman Spawners": {
  458. icon: "52 6",
  459. chance: 5,
  460. commands: [
  461. "give {name} 52 6 name:&eZombie_Pigman_Spawner"
  462. ]
  463. },
  464. "&e6x Blaze Spawner": {
  465. icon: "52 6",
  466. chance: 4.5,
  467. commands: [
  468. "give {name} 52 6 name:&eBlaze_Spawner"
  469. ]
  470. },
  471. "&e4x Iron Golem Spawner": {
  472. icon: "52 4",
  473. chance: 2.5,
  474. commands: [
  475. "give {name} 52 4 name:&eIron_Golem_Spawner"
  476. ]
  477. },
  478. "&e6x Iron Golem Spawners": {
  479. icon: "52 6",
  480. chance: 1.5,
  481. commands: [
  482. "give {name} 52 6 name:&eIron_Golem_Spawner"
  483. ]
  484. },
  485. "&e2x Villagers Spawners": {
  486. icon: "52 2",
  487. chance: 0.25,
  488. commands: [
  489. "give {name} mobspawner 2 name:&eVillager_Spawner"
  490. ]
  491. },
  492. "5x Titlecreate Token": {
  493. icon: "421 5",
  494. chance: 4,
  495. commands: [
  496. "givetitlecreate {name} 5"
  497. ]
  498. },
  499. "&65x God Apple": {
  500. icon: "322:1 5",
  501. chance: 2.5,
  502. commands: [
  503. "give {name} 322:1 5"
  504. ]
  505. },
  506. "&e250 Shards": {
  507. icon: "175 1",
  508. chance: 2.0,
  509. commands: [
  510. "giveshards {name} 250"
  511. ]
  512. },
  513. "&6&lOmega Kit Paper": {
  514. icon: "339 1",
  515. chance: 1.5,
  516. commands: [
  517. "givekitpaper {name} omega"
  518. ]
  519. },
  520. "&o&e&lDouble Play": {
  521. icon: "131 1",
  522. chance: 1,
  523. commands: [
  524. "givecratekey legendary {name} 2"
  525. ]
  526. },
  527. }
  528. },
  529. {
  530. id: "event",
  531. title: "&d&lEvent &7&lCrate",
  532. spawnFirework: false,
  533. rewards: {
  534. "&a&l$2,500,000": {
  535. icon: "paper 1",
  536. chance: 14,
  537. commands: [
  538. "eco give {name} 2500000"
  539. ]
  540. },
  541. "&a&l$3,000,000": {
  542. icon: "paper 1",
  543. chance: 13,
  544. commands: [
  545. "eco give {name} 3000000"
  546. ]
  547. },
  548. "&a&l$4,000,000": {
  549. icon: "paper 1",
  550. chance: 12,
  551. commands: [
  552. "eco give {name} 4000000"
  553. ]
  554. },
  555. "&a&l$5,000,000": {
  556. icon: "paper 1",
  557. chance: 11,
  558. commands: [
  559. "eco give {name} 5000000"
  560. ]
  561. },
  562. "&7&l7x &b&lSpecial &7&lKey": {
  563. icon: "131 7",
  564. chance: 15,
  565. commands: [
  566. "givecratekey 4 {name} 7"
  567. ]
  568. },
  569. "&7&l7x &6&lLegendary &7&lKey": {
  570. icon: "131 7",
  571. chance: 12,
  572. commands: [
  573. "givecratekey 5 {name} 7"
  574. ]
  575. },
  576. "&7&l1x &b&lMonthly Key": {
  577. icon: "381 1",
  578. chance: 8,
  579. commands: [
  580. "givemonthlycrate {name} august 1"
  581. ]
  582. },
  583. "&7&l1x &d&lLuna Minion": {
  584. icon: "76 1",
  585. chance: 8,
  586. commands: [
  587. "minion give {name} tier_four"
  588. ]
  589. },
  590. "&7&l1x &a&lTier 5 Minion": {
  591. icon: "76 1",
  592. chance: 7.5,
  593. commands: [
  594. "minion give {name} tier_five"
  595. ]
  596. },
  597. "&7&l10x &e&lVillager Spawner": {
  598. icon: "52 10",
  599. chance: 10,
  600. commands: [
  601. "give {name} 52 10 name:&eVillager_Spawner"
  602. ]
  603. },
  604. "&7&l10x &e&lSilverfish Spawner": {
  605. icon: "52 10",
  606. chance: 10,
  607. commands: [
  608. "give {name} 52 10 name:&eSilverfish_Spawner"
  609. ]
  610. },
  611. "&7&l1x &e&lCraft Wand": {
  612. icon: "294 1",
  613. chance: 5,
  614. commands: [
  615. "givecraftwand {name}"
  616. ]
  617. },
  618. "&7&l1x &e&lSell Wand": {
  619. icon: "294 1",
  620. chance: 5,
  621. commands: [
  622. "givesellwand {name}"
  623. ]
  624. },"&7&l1x &e&lDSU Sell Wand": {
  625. icon: "293 1",
  626. chance: 5,
  627. commands: [
  628. "givedsusellwand {name}"
  629. ]
  630. }
  631. }
  632. },
  633. ])
  634.  
  635. autoload.watch("patches/content/crates.js")
  636.  
  637. bukkit.runSync(() => bukkit.dispatchCommand("int/crates"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement