Have you ever dreamed about minecraft giving you treasures while mining?
Features:
- Change the probability to find treasures
- Select what blocks are able to have treasures
- Custom Loot Table
![[IMG]](/proxy/image?url=https%3A%2F%2Fimgur.com%2FcWRp0RM)
- Your own chest
- Fully customizable
- Give money to the player if vault installed
- Have track of the amounts of treasures gotten
Commands:
It has just an easy command to reload the config, however there are some options that may only work restarting or reloading your server.
/chestreload
/cr - same command but alias
Permissions:
spawningchest.reload - Able to reload config
spawningchest.interact - Lets you interact with all the generated chests
spawningchest.break - Lets you break all the generated chests
If you need any help, or any suggest for this plugin, you can leave a review or contact us by discord: https://discord.gg/3KWqjZUGVD
PLACEHOLDERS:
%chests_amount% - Indicates the amount of treasures gotten by the player
Config file:
Code (Text):
#If you need any help try asking by the spigot page or asking in our discord: https://discord.gg/3KWqjZUGVD
#in percentage
probability: 1
#whether the chests vanish or not
#I do not recommend setting this to false as if not your world will be full of useless chests.
Do-Chests-Disappear: true
#Time after the chests vanishes, in ticks. Only works if what is above is true.
#(20 ticks are a second) set by default to 20 seconds or 400 ticks
Disappearing-Time: 400
#Only chests owners will be able to break their chests
#or with the permission spawningchest.break
Break-Chests: true
#Message shown when you try to break a chests that you haven't spawned
Break-Message: "&cThis is not your chest!"
Interaction-Message: "&cThis is not your chest!"
Money_message: "&cYou have received {money}"
#Blocks that makes you have a probability to spawn a chests.
AllowedBlocks:
- "STONE"
- "DIAMOND_ORE"
- "DEEPSLATE_DIAMOND_ORE"
#You can check item id's from this page: https://minecraft-ids.grahamedgecombe.com
#Money will only work if maxAmount is not 0.
Money:
minAmount: 0
maxAmount: 10
LootTable:
0:
material: IRON_SWORD
name: "IRON SWORD"
lore:
- "&aTest"
- "hey"
chance: 20
minAmount: 1
maxAmount: 1
1:
material: DIAMOND
chance: 10
minAmount: 12
maxAmount: 35
2:
material: WOODEN_PICKAXE
name: "&3The fast pickaxe"
chance: 100
minAmount: 1
maxAmount: 1
enchantments:
EFFICIENCY: 2
3:
material: CHAINMAIL_CHESTPLATE
chance: 75
minAmount: 1
maxAmount: 1
enchantments:
PROTECTION: 3