Add unlimited crates to your server with 11 different crate types to choose from!
- Added the prize display when opening FireCracker crate type.
- Added the ability to hide components on items in the new `Items` section. (turn it on in config.yml)
'1':
DisplayName: <red>Diamond Helmet
DisplayEnchantments:
- protection:5
- unbreaking:3
# The item to display in the gui.
DisplayItem: diamond_helmet
# The amount to display in the gui.
DisplayAmount: 1
# The lore of the item.
DisplayLore:
- <gradient:#8fcfa0:#32a852>A gradient lore!
# The chance to win i.e. 15%
Weight: 15.0
Items:
1ca8f0ac:
material: diamond_helmet
# The name of the item.
name: <red>Diamond Helmet
# The configuration section for enchantments, minecraft: is not needed in front of the enchantment.
# A list of enchantments https://jd.papermc.io/paper/1.21.4/io/papermc/paper/registry/keys/EnchantmentKeys.html
# enchantment: amount
enchantments:
unbreaking: 3
protection: 3
# A list of components to hide.
# https://jd.papermc.io/paper/1.21.5/io/papermc/paper/registry/keys/DataComponentTypeKeys.html, Grab the value from the description without minecraft:
hidden-components:
- "enchantments"
- Fixed an issue with a try catch firing when it shouldn't.
- Fixed a deprecation warning in the ExcellentCrates migrator.
- Fixed #850 which was an issue with the examples folder loading.
- If you still have issues, turn off update-examples-folder in the config.yml
- Updated to [1.21.5](https://github.com/Crazy-Crew/CrazyCrates/pull/845)
- Added authors to paper-plugin.yml
- Fixed an issue on default installations where the rows were set to 3 instead of 6 in the config.yml
locations.yml or data.yml to be replaced.crates folderItem Models which was introduced in 1.21.4
Custom-Model-Data wherever you see it, It's up to the plugin/resource pack you use to find the new id.
PhysicalKey:
# Name of the Key.
Name: "<bold><gradient:#084CFB:#ADF3FD>Wonder Crate Key</gradient></bold>"
# Lore of the Key.
Lore:
- "<gradient:#084CFB:#ADF3FD>A fancy key to open a wonderful crate!</gradient>"
# The item the key is.
Item: "blue_dye"
# The item model, Mojang introduced this in 1.21.4... this replaces custom model data!
# Set this to blank for it to do nothing.
# The format is namespace:id
Model:
# The namespace i.e. nexo
Namespace: ""
# The id i.e. emerald_helmet
Id: ""
# Makes the key look enchanted.
Glowing: true
# This is an example of the new crate format.
Crate:
# A list of prizes.
Prizes:
"1":
# The name of the item to display in the gui.
DisplayName: "<gradient:light_purple:dark_purple>Witch's Potion"
# The item to display in the gui.
DisplayItem: "potion"
# The configuration section for potions, minecraft: is not needed in front of the potion.
# A list of potion effects https://jd.papermc.io/paper/1.21.4/io/papermc/paper/registry/keys/MobEffectKeys.html
DisplayPotions:
# This must be the potion name typed exactly as it is, A list of potions linked above.
poison:
# The length of the potion in seconds.
# https://minecraft.wiki/w/Calculators/Tick
duration: 20
# The strength of the potion.
level: 5
absorption:
duration: 30
level: 5
# The amount to display in the gui.
DisplayAmount: 1
# The lower the number, the less likely to win it.
Weight: 1.0
New Item Format
This is only for the new item format behind a toggle in config.yml
Fixes
Additions
New Item Format
I've been working on a new format for the Items section as the current one is very restrictive, You can experiment with this by enabling it in your config.yml
You can find an example of the Items format linked below
https://github.com/Crazy-Crew/CrazyCrates/blob/main/core/src/main/resources/crates/beta/NewCrate.yml
Fixes
Changes