Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # If one of the crates' percentages don't add up to 100,
- # then the total chance will be added past 100%.
- #
- # chesttype: 'ender' or 'normal', anything else given will default to normal
- # rewards: List of rewards. Format: 'item_name amount data percentage'
- locations:
- - 169,66,310,world
- fancy: true
- Tiers:
- common:
- name: '&3&lCommon Crate'
- keyName: '&3&lCommon Crate &eKey'
- keyItem: tripwire_hook
- keyLore:
- - '&7You can use this key to open a &3&lCommon Crate&7!'
- - '&7Typ &8&l/warp Crate &7to use the key!'
- message: '&e%player% &7is opening a &3&lCommon Crate!'
- rewards:
- '1':
- chance: 15
- message: '&e&l1000 Coins'
- commands:
- - 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}]
- - eco give %player% 1000
- '2':
- chance: 20
- message: '&e&l500 Coins'
- commands:
- - 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}]
- - eco give %player% 500
- '3':
- chance: 40
- message: '&e&lWoodkit'
- commands:
- - 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}]
- - give %player% 17 16 0
- - give %player% 17 16 1
- - give %player% 17 16 2
- - give %player% 17 16 3
- - give %player% 162 16 0
- - give %player% 162 16 1
- '4':
- chance: 99
- message: '&e&l5 Diamonds'
- commands:
- - 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}]
- - give %player% diamond 5 0
- '5':
- chance: 20
- message: '&e&lFoodkit'
- commands:
- - 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}]
- - give %player% cooked_beef 20 0
- - give %player% bread 10 0
- - give %player% cooked_porkchop 16 0
- '6':
- chance: 15
- message: '&e&l30 Gold Ingot'
- commands:
- - 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}]
- - give %player% gold_ingot 30 0
- '7':
- chance: 25
- message: '&e&l30 Iron Ingot'
- commands:
- - 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}]
- - give %player% iron_ingot 30 0
- '8':
- chance: 35
- message: '&e&l30 Coal'
- commands:
- - 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}]
- - give %player% coal 30 0
- uncommon:
- name: '&b&lUncommon Crate'
- keyName: '&b&lUncommon &eKey'
- keyItem: tripwire_hook
- keyLore:
- - '&7You can use this key to open a &b&lUncommon Crate&7!'
- - '&7Typ &8&l/warp Crate &7to use the key!'
- message: '&e%player% &7is opening a &b&lUncommon Crate!'
- rewards:
- '1':
- chance: 15
- message: '&e&l2000 Coins'
- commands:
- - 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}]
- - eco give %player% 2000
- '2':
- chance: 25
- message: '&e&l600 Coins'
- commands:
- - 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}]
- - eco give %player% 1600
- '3':
- chance: 30
- message: '&e&l1000 Coins'
- commands:
- - 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}]
- - eco give %player% 1000
- legandary:
- name: '&6&lLegandary Crate'
- keyName: '&6&lLegandary &eKey'
- keyItem: tripwire_hook
- keyLore:
- - '&7You can use this key to open a &6&lLegandary Crate&7!'
- - '&7Typ &8&l/warp Crate &7to use the key!'
- message: '&e%player% &7is opening a &6&lLegandary Crate!'
- rewards:
- '1':
- chance: 1
- message: '&e&lElytra'
- commands:
- - 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}]
- - give %player% elytra 1
- - title @a title ["",{"text":"%player% ","color":"gold"},{"text":"found an ","color":"gray"},{"text":"Legandary Price!","color":"red","bold":true}]
- - title @a subtitle ["",{"text":"%player% ","color":"gold"},{"text":"found an ","color":"gray"},{"text":"Elytra!","color":"red","bold":true}]
- - playsound entity.enderdragon.death block @a 169 66 310 10 1
- '2':
- chance: 90
- message: '&e&lChap Rank'
- commands:
- - 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}]
- - pex user %player% group set chap
- - title @a title ["",{"text":"%player% ","color":"gold"},{"text":"found an ","color":"gray"},{"text":"Legandary Price!","color":"red","bold":true}]
- - title @a subtitle ["",{"text":"%player% ","color":"gold"},{"text":"found an ","color":"gray"},{"text":"Chap Rank!","color":"red","bold":true}]
- - playsound entity.enderdragon.death block @a 169 66 310 10 1
Advertisement
Add Comment
Please, Sign In to add comment