CrazyCrates 3.5.1
on Jul 12, 2024Fixed:
- Apply
MaxStackSize
to the player's inventory when using Player#addItem, so now instead of 99 items popping up in the inventory if giving 99 keys or any items, it'll split 64/35- Spigot for some odd reason made Player#addItem use the max stack size for the inventories. #hardforkwhen
Changes:
- Simplified parsing messages internally with placeholders
CrazyCrates 3.5
on Jul 11, 2024Changes:
- All file read/writes operations are actually moved off the main thread.
CrazyCrates 3.4.9
on Jul 11, 2024Removed:
console_prefix
config option no longer needed.
Changes:
- Use component logger for startup dependencies.
Fixed:
- Issue with PlaceholderAPI.
CrazyCrates 3.4.8
on Jul 8, 2024Changed:
- Updated how interaction with crates has been handled.
Fixed:
- Prevents placeable blocks from being placed on blocks if a key like tripwire hook or candle.
CrazyCrates 3.4.7
on Jul 6, 2024Added:
- A different way to apply
CustomModelData
to an item, this addition avoids an error that isn't an error from appearing.-1
means no custom model data will be applied!- Our documentation will be updated with the new format sometime this weekend however you can keep using the old format.
- The old format
tripwire_hook#custom_model_data
will continue to work however consider this the deprecation notice. - Try and make an effort to use the new format please, you can look in the
examples
folder to see some applications of the format.
CrazyCrates 3.4.6
on Jul 6, 2024Changes:
- Deprecation warning for
Lore
->DisplayLore
is now more verbose, it'll tell you the prize name and crate file now.
CrazyCrates 3.4.5
on Jul 6, 2024Changes:
verbose_logging
inconfig.yml
now applies to everything including errors, turn it on if something isn't working.
CrazyCrates 3.4.4
on Jul 1, 2024Fixed:
- Player Heads were not stacking previously, they should now.
CrazyCrates 3.3.1
on Jun 25, 2024Fixed:
/crazycrates giveall
did not have a permission requirement.- Items not stacking with vanilla items if obtained through
Items
Previous Updates
Added:
- 1.20.6 support
Removed:
- 1.20.4 support
Fixed:
- War Crate no longer bugs out if you close the inventory.
- Files were not loading properly on Linux.
- Uppercase player name in default files to avoid some stupid error.
- Virtual Keys were not being taken from offline players.
- add {key} placeholder to /crazycrates open-others
- Missing placeholder {key} in /crates mass-open
- Temporarily commented out code for direct ItemsAdder support until LoneDev is finished making any changes they would like to.
- New players if the config option Crate.StartingKeys is not 0 weren't getting keys.
- Removing a file from the crates folder and then running /crazycrates reload, It would yell about file not found.
- Lore was not properly handled when using /crates additem.
- Updated the message in commands, instead of misc.no-virtual-keys, It will be using misc.no-keys message.
- Send the message to the command sender instead of the player when using /crates forceopen.
- b25b867 Issue with the preview not working for casino/cosmic tiers (#726)
- 46e6dba Add /crazycrates forceopen back (#715)
- 5940d29 Compile issue with workflows (#724)
- d9a9f49 Cosmic crate (#716)
- 854efe6 Error on player quit (#719)
- Issue with QuickCrate where holograms were stacking.
- Issue where the display name of the item above QuickCrate had [] around it i.e. [Diamond Helmet]
- open-others shouldn't be usable by everyone.
- Default casino crate.
- Update fallback sound.
Added:
- Support for heads from HeadDatabase by Arcaniax! Check the CrateExample.yml in the examples/crates folder for how to use HeadDatabase heads.
API:
- Bumped crazycrates api to 0.7
Breaking Changes:
- All items ids used for potions, materials, blocks, trim materials/patterns and sounds etc. have all been changed.
- A list of sounds: https://minecraft.wiki/w/Sounds.json#Java_Edition_values, Custom Sounds from resource packs are also supported!
- Enchantments instead of
PROTECTION_ENVIRONMENTAL
andDAMAGE_ALL
, It would beprotection
andsharpness
Changes:
- Updated to 2.2.0 FancyHolograms, they made a breaking change in the api so all previous versions of FancyHolograms will no longer work.
- Command / General Permissions have been updated!
- You can find a list of permissions @ https://docs.crazycrew.us/docs/plugins/crazycrates/commands/permissions
- Update the order some if checks go in to prevent potentially unnecessarily heavy calls when not needed.
- Removed unsupported-settings from the example config.yml
- War/Cosmic Crate listeners for PlayerCloseEvent have been combined and had unnecessary method calls reduced.
- Ability to set update intervals for holograms, -1 disables it.
- /crazycrates migrate <crate> <type> which should update materials/enchants/trim materials to mojang mapped ids.
- /crazycrates set <crate> on a location already taken will tell you that you that a location already exists.
- Allow left/right-clicking for locations created by /crazycrates set Menu.
- Updated the /crazycrates additem command to support any item you can make in-game, it will still allow you to apply other configuration to the item added like your own custom lore.
- This change required a few other tweaks in some areas so please report any oddities to our Github Issues tab.
'7':
DisplayName: '<red>This is a name.'
DisplayLore:
- '<yellow>This is a lore.'
DisplayEnchantments:
- 'sharpness:5'
DisplayData: H4sIAAAAAAAA/53PQQrCMBAF0N8mQo0giEtv4sqFZ3Bb0iRiaDNTkhS8vTaI1KV0OfDfzB8FCOyuOuubi8kzAftXg9pbnIInZ6K+53M3aNO36TENvYttx0+BjeGJMoBKQRkOI5OjnLY4LswwZT1PUc05KSDTwIVAQfrswufOYQHW68Bkf7ZfSr+vq1a6eqUT/7umvPUGDbb6oU0BAAA=
MaxRange: 100
Chance: 10
- Note: Items used still have different restrictions like Shulker Boxes do not glow for example. If you can't do it in Vanilla Minecraft through /minecraft:give, our plugin can't either.
- Deprecated usage of
Lore
in prizes in favor ofDisplayLore
, you will be given a warning in console if using.Lore
will be removed in the next major version of Minecraft (1.22)
CrazyCrates 3.4.3
on Jun 25, 2024Fixed:
/crazycrates giveall
did not have a permission requirement.
Previous Updates
Added:
- 1.21 support
Removed:
- 1.20.6 support
Changes:
- Issue with items given through
Items
not stacking with items obtained through vanilla means. - Issue with /crates additem not adding
Data:
to theItems
section which caused the plugin to think it was an enchantment. - Updated the output of
/crazycrates additem
again to create anItems
section with theItem
you held in your hand - All pre-existing options in your prizes if they have
DisplayData
will create anItems
section. - The purpose of
DisplayData
should only be for what is outputted in the Crate previews however you can still removeItems
if you want the existing options to function as the prize as well.
'7':
DisplayName: '<red>This is a name.'
DisplayLore:
- '<yellow>This is a lore.'
DisplayEnchantments:
- 'sharpness:5'
# This only acts as the base display item which can be modified even after as you can see directly above.
DisplayData: H4sIAAAAAAAA/53PQQrCMBAF0N8mQo0giEtv4sqFZ3Bb0iRiaDNTkhS8vTaI1KV0OfDfzB8FCOyuOuubi8kzAftXg9pbnIInZ6K+53M3aNO36TENvYttx0+BjeGJMoBKQRkOI5OjnLY4LswwZT1PUc05KSDTwIVAQfrswufOYQHW68Bkf7ZfSr+vq1a6eqUT/7umvPUGDbb6oU0BAAA=
MaxRange: 100
Chance: 10
# This is what the plugin will try to give when winning this prize.
Items:
- 'Data:H4sIAAAAAAAA/53PQQrCMBAF0N8mQo0giEtv4sqFZ3Bb0iRiaDNTkhS8vTaI1KV0OfDfzB8FCOyuOuubi8kzAftXg9pbnIInZ6K+53M3aNO36TENvYttx0+BjeGJMoBKQRkOI5OjnLY4LswwZT1PUc05KSDTwIVAQfrswufOYQHW68Bkf7ZfSr+vq1a6eqUT/7umvPUGDbb6oU0BAAA='
CrazyCrates 2.1.6
on Jun 11, 2024Quick Note:
Migrate your configurations to MiniMessage!, this was changed in Version 2.1, please take a gander at our previous changelogs and as always, contact support if you need assistance.
Fixed:
- The migrator for Editor-Items would cause an error on fresh install.​
CrazyCrates 2.1.5
on Jun 10, 2024Fixed:
- Editor-Items are now migrated on start-up to a new format to prevent an error.
CrazyCrates 2.1.4
on Jun 10, 2024Fixed:
- Files were not loading properly on Linux.
- Holograms duplicated with QuickCrate.
- Prize Names that hovered above QuickCrate had [] around them.
CrazyCrates 2.1.3
on May 25, 2024Added
- Translation keys on materials, so it respects client language settings.
Fixed
- Startup errors preventing the use of the plugin.
CrazyCrates 2.1.2
on May 15, 2024Fixed:
- Immutable error when doing /crates additem on a prize already existing.
CrazyCrates 2.1.1
on May 9, 2024Fixed:
- /crazycrates debug/additem allowed you to use Menu as an argument.
CrazyCrates 2.1
on May 9, 2024Migrate your configurations to MiniMessage!
Previous Breaking Changes:
-
Added minimessage support which replaces legacy color codes like &7 or &c
- CMI/DecentHolograms do not support MiniMessage so you still have to use legacy color codes for that.
-
b290d54 Updated /cc additem to be much more precise and friendly -> This will likely change again in the next version of CrazyCrates for 1.20.6, The item internals have changed.
Previously added rewards will still work for now. The new /cc additem currently only supports 1 item at a time but it's an improvement from before. DisplayAmount is what tells the plugin how much of the item to give so that is required. It will default to 1!
If you add an
Items:
section, It will use that instead for rewards and treat the nbt tag as if it was just purely for display.
Previous Additions:
- Added folia support.
- Added the ability to color the background using hex colors of holograms. It only works with CMI and FancyHolograms.
- You can check the examples/crates folder under Hologram section for an example of how to add colors.
transparent
is an option that can be used as well for see through holograms which is the default.
- Add the option to HideItemFlags in filler glass and crate preview items.
- Add config option to turn off the auto updating of examples folder.
Extra Item Options:
1:
DisplayName: '<red>Porkchop'
DisplayItem: 'PORKCHOP'
DisplayAmount: 4
Chance: 60
If you simply want to give basic items without the need for using
Items:
orCommands:
, You can configure a prize like this and it will give 4 porkchop.DisplayAmount defines how many items to give, DisplayItem defines the material to give to the player.
You cannot have
commands
oritems
while using these type of format for giving items.
Removal:
- Removed the config option crate.unsupported-settings.old-key-checks as a bug I fixed broke what this setting was used for.
Previous Changes:
- Updated how holograms are handled. FancyHolograms should be less finnicky and CMI should perform better.
- Ability to set
Chance
in crate fields to -1 to use filler items.
Plugin Support:
- Add placeholder api support to broadcast message in each crate file.
- Added support for FancyHolograms by Oliver.
- Add support for PlaceholderAPI in key displayname/lores.
Previous Fixes:
- Fixed double lines with decentholograms.
- Fixed an issue where list messages would have an extra line at the end.
- Fixed an issue with materials not being recognized.
- Fixed a bug where keys did not have lores.
- Fixed an issue where if display names matched, it would not give the right prize.
- Fixed an issue with casino crate where you could open a casino crate without the key.
- Temp fix for double message when trying to open a crate with key in off hand. This means for the time being, Keys cannot be used in off hand for physical crates.
CrazyCrates 2.0.5
on Apr 27, 2024Fixed:
- Prizes were being picked incorrectly as we were checking if the display name of prizes matched when picking a prize.​
CrazyCrates 2.0.4
on Apr 25, 2024Fixed:
- Casino Crate was allowed to be opened without a key.
CrazyCrates 2.0.3
on Apr 17, 2024Fixed:
- Leather Armor not being colored.