Guest User

Untitled

a guest
Apr 9th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.39 KB | None | 0 0
  1. #
  2. # If one of the crates' percentages don't add up to 100,
  3. # then the total chance will be added past 100%.
  4. #
  5. # chesttype: 'ender' or 'normal', anything else given will default to normal
  6. # rewards: List of rewards. Format: 'item_name amount data percentage'
  7. locations:
  8. - 169,66,310,world
  9. fancy: true
  10. Tiers:
  11. common:
  12. name: '&3&lCommon Crate'
  13. keyName: '&3&lCommon Crate &eKey'
  14. keyItem: tripwire_hook
  15. keyLore:
  16. - '&7You can use this key to open a &3&lCommon Crate&7!'
  17. - '&7Typ &8&l/warp Crate &7to use the key!'
  18. message: '&e%player% &7is opening a &3&lCommon Crate!'
  19. rewards:
  20. '1':
  21. chance: 15
  22. message: '&e&l1000 Coins'
  23. commands:
  24. - tellraw @a ["",{"text":"%player% ","color":"yellow"},{"text":"just found ","color":"gray"},{"text":"1000 Coins ","color":"gold","bold":true,"italic":false},{"text":"in a ","color":"gray","bold":false,"italic":false},{"text":"Common Crate!","color":"dark_aqua","bold":true}]
  25. - eco give %player% 1000
  26. '2':
  27. chance: 20
  28. message: '&e&l500 Coins'
  29. commands:
  30. - tellraw @a ["",{"text":"%player% ","color":"yellow"},{"text":"just found ","color":"gray"},{"text":"500 Coins ","color":"gold","bold":true,"italic":false},{"text":"in a ","color":"gray","bold":false,"italic":false},{"text":"Common Crate!","color":"dark_aqua","bold":true}]
  31. - eco give %player% 500
  32. '3':
  33. chance: 40
  34. message: '&e&lWoodkit'
  35. commands:
  36. - tellraw @a ["",{"text":"%player% ","color":"yellow"},{"text":"just found ","color":"gray"},{"text":"a Wood Kit ","color":"gold","bold":true,"italic":false},{"text":"in a ","color":"gray","bold":false,"italic":false},{"text":"Common Crate!","color":"dark_aqua","bold":true}]
  37. - give %player% 17 16 0
  38. - give %player% 17 16 1
  39. - give %player% 17 16 2
  40. - give %player% 17 16 3
  41. - give %player% 162 16 0
  42. - give %player% 162 16 1
  43. '4':
  44. chance: 99
  45. message: '&e&l5 Diamonds'
  46. commands:
  47. - tellraw @a ["",{"text":"%player% ","color":"yellow"},{"text":"just found ","color":"gray"},{"text":"5 Diamonds ","color":"gold","bold":true,"italic":false},{"text":"in a ","color":"gray","bold":false,"italic":false},{"text":"Common Crate!","color":"dark_aqua","bold":true}]
  48. - give %player% diamond 5 0
  49. '5':
  50. chance: 20
  51. message: '&e&lFoodkit'
  52. commands:
  53. - tellraw @a ["",{"text":"%player% ","color":"yellow"},{"text":"just found ","color":"gray"},{"text":"a Food Kit ","color":"gold","bold":true,"italic":false},{"text":"in a ","color":"gray","bold":false,"italic":false},{"text":"Common Crate!","color":"dark_aqua","bold":true}]
  54. - give %player% cooked_beef 20 0
  55. - give %player% bread 10 0
  56. - give %player% cooked_porkchop 16 0
  57. '6':
  58. chance: 15
  59. message: '&e&l30 Gold Ingot'
  60. commands:
  61. - tellraw @a ["",{"text":"%player% ","color":"yellow"},{"text":"just found ","color":"gray"},{"text":"30 Gold Ingot ","color":"gold","bold":true,"italic":false},{"text":"in a ","color":"gray","bold":false,"italic":false},{"text":"Common Crate!","color":"dark_aqua","bold":true}]
  62. - give %player% gold_ingot 30 0
  63. '7':
  64. chance: 25
  65. message: '&e&l30 Iron Ingot'
  66. commands:
  67. - tellraw @a ["",{"text":"%player% ","color":"yellow"},{"text":"just found ","color":"gray"},{"text":"30 Iron Ingot ","color":"gold","bold":true,"italic":false},{"text":"in a ","color":"gray","bold":false,"italic":false},{"text":"Common Crate!","color":"dark_aqua","bold":true}]
  68. - give %player% iron_ingot 30 0
  69. '8':
  70. chance: 35
  71. message: '&e&l30 Coal'
  72. commands:
  73. - tellraw @a ["",{"text":"%player% ","color":"yellow"},{"text":"just found ","color":"gray"},{"text":"30 Coal ","color":"gold","bold":true,"italic":false},{"text":"in a ","color":"gray","bold":false,"italic":false},{"text":"Common Crate!","color":"dark_aqua","bold":true}]
  74. - give %player% coal 30 0
  75. uncommon:
  76. name: '&b&lUncommon Crate'
  77. keyName: '&b&lUncommon &eKey'
  78. keyItem: tripwire_hook
  79. keyLore:
  80. - '&7You can use this key to open a &b&lUncommon Crate&7!'
  81. - '&7Typ &8&l/warp Crate &7to use the key!'
  82. message: '&e%player% &7is opening a &b&lUncommon Crate!'
  83. rewards:
  84. '1':
  85. chance: 15
  86. message: '&e&l2000 Coins'
  87. commands:
  88. - tellraw @a ["",{"text":"%player% ","color":"yellow"},{"text":"just found ","color":"gray"},{"text":"2000 Coins ","color":"gold","bold":true,"italic":false},{"text":"in a ","color":"gray","bold":false,"italic":false},{"text":"Uncommon Crate!","color":"aqua","bold":true}]
  89. - eco give %player% 2000
  90. '2':
  91. chance: 25
  92. message: '&e&l600 Coins'
  93. commands:
  94. - tellraw @a ["",{"text":"%player% ","color":"yellow"},{"text":"just found ","color":"gray"},{"text":"1600 Coins ","color":"gold","bold":true,"italic":false},{"text":"in a ","color":"gray","bold":false,"italic":false},{"text":"Uncommon Crate!","color":"aqua","bold":true}]
  95. - eco give %player% 1600
  96. '3':
  97. chance: 30
  98. message: '&e&l1000 Coins'
  99. commands:
  100. - tellraw @a ["",{"text":"%player% ","color":"yellow"},{"text":"just found ","color":"gray"},{"text":"1000 Coins ","color":"gold","bold":true,"italic":false},{"text":"in a ","color":"gray","bold":false,"italic":false},{"text":"Uncommon Crate!","color":"aqua","bold":true}]
  101. - eco give %player% 1000
  102. legandary:
  103. name: '&6&lLegandary Crate'
  104. keyName: '&6&lLegandary &eKey'
  105. keyItem: tripwire_hook
  106. keyLore:
  107. - '&7You can use this key to open a &6&lLegandary Crate&7!'
  108. - '&7Typ &8&l/warp Crate &7to use the key!'
  109. message: '&e%player% &7is opening a &6&lLegandary Crate!'
  110. rewards:
  111. '1':
  112. chance: 1
  113. message: '&e&lElytra'
  114. commands:
  115. - tellraw @a ["",{"text":"%player% ","color":"yellow"},{"text":"just found ","color":"gray"},{"text":"an Elytra ","color":"gold","bold":true,"italic":false},{"text":"in a ","color":"gray","bold":false,"italic":false},{"text":"Legandary Crate!","color":"gold","bold":true}]
  116. - give %player% elytra 1
  117. - title @a title ["",{"text":"%player% ","color":"gold"},{"text":"found an ","color":"gray"},{"text":"Legandary Price!","color":"red","bold":true}]
  118. - title @a subtitle ["",{"text":"%player% ","color":"gold"},{"text":"found an ","color":"gray"},{"text":"Elytra!","color":"red","bold":true}]
  119. - playsound entity.enderdragon.death block @a 169 66 310 10 1
  120. '2':
  121. chance: 90
  122. message: '&e&lChap Rank'
  123. commands:
  124. - tellraw @a ["",{"text":"%player% ","color":"yellow"},{"text":"just found ","color":"gray"},{"text":"an Chap Rank ","color":"gold","bold":true,"italic":false},{"text":"in a ","color":"gray","bold":false,"italic":false},{"text":"Legandary Crate!","color":"gold","bold":true}]
  125. - pex user %player% group set chap
  126. - title @a title ["",{"text":"%player% ","color":"gold"},{"text":"found an ","color":"gray"},{"text":"Legandary Price!","color":"red","bold":true}]
  127. - title @a subtitle ["",{"text":"%player% ","color":"gold"},{"text":"found an ","color":"gray"},{"text":"Chap Rank!","color":"red","bold":true}]
  128. - playsound entity.enderdragon.death block @a 169 66 310 10 1
Advertisement
Add Comment
Please, Sign In to add comment