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.
CrazyCrates 2.0.2
on Apr 17, 2024Fixed:
- Placeholder issue in commands like /key by using the right config path.
- Key Name if not found in the config would throw an NPE.
CrazyCrates 2.0.1
on Apr 14, 2024Fixed:
- Setting crate type menu tried to create a hologram.
CrazyCrates 2.0
on Apr 14, 2024Big Changes:
- Replaced all instances of NBT-API with PersistentDataContainer. Old Keys will no longer work.
- We do not check if a key has lore/names when checking if you have a valid key because that makes the point of PersistentDataContainer redundant.
- The ItemBuilder has been updated to a slightly more modern version in preparation for MiniMessage support.
Removed:
- Temporarily disabled logging keys to console/file due to a weird issue with keys not being taken, the section handling logging is pending re-write
Added:
- A warning on startup if the spawn protection in server.properties isn't 0.
- Extra placeholders to all messages. The messages.yml will update with new comments showing what each message can use.
- A toggle to allow legacy key checks for niche use cases.
- Default commands to run per crate if no prize commands are found similar to
Prize-Messages
. - %reward_stripped% which returns a stripped version of the reward for plugins like DiscordSRV.
- Ability to select custom particles and colors for QuadCrates.
- Ability to add enchants to ENCHANTED_BOOK, so they function in anvil.
Changes:
- Updated example files in the examples folder
- All internal placeholders used in config.yml and messages.yml have changed.
- %player% is now {player}
- %crate% is now {crate}
- %amount% is now {amount}
- %key% is now {key}
- %keys% is now {keys}
- %page% is now {page}
- %prefix% is now {prefix}
- %world% is now {world}
- %cratetype% is now {cratetype}
- %prize% is now {prize}
- %number% is now {number}
- %keytype% is now {keytype}
- %usage% is now {usage}
- %key-amount% is now {key_amount}
- %crates_opened% is now {crates_opened}
- %id% is now {id}
- Used correct message when a player has no keys using /cc open.
Enhancements:
- Prevent pistons from moving blocks if they are a crate.
- Play sounds in /crazycrates admin when a player gets virtual/physical keys.
- Change from sending messages in chat for /crazycrates admin to using action bars.
- Optimize item meta checks.
- If the crate main menu is turned off, trying to do /crates set menu will send you a message saying you can't.
- If the crate main menu is disabled, /crates will simply open the help message instead.
- Only check if a player has physical keys if the config option is enabled.
API:
- Deprecated and marked for removal
CrazyCratesService
andICrazyCrates
.
Fixed:
- Remove player from crate/page/preview arrays on inventory close event as it wasn't before.
- Player kept getting a preview message if they weren't in the preview when you did /crates reload.
- CrateOnTheGo where the event would fire twice using 2 of your crates.
- Failing to take keys would fire multiple times.
- Issue with mass-open related to being added to opening list and not being removed if no keys found.
- Multiple issues with how the inventory are checked for keys.
- Issue with QuadCrates where if you set the
structure.random
to false, it would still be random.
CrazyCrates 1.22
on Mar 6, 2024Added:
- Ability to override the menu button functionality to use your own menu through DeluxeMenus and any other gui plugin.
Changes:
- Re-did how /crate admin handles giving keys, It expands the size of the inventory to 54 slots and adds a button at the bottom explaining how to get keys.
CrazyCrates 1.21
on Mar 2, 2024Added:
- New crate type called
Casino
. (Idea by slimemcstew) - Ability to have files categorized by folder.
- War Crate as a default generated crate.
- Ability to have holograms created using CMI or DecentHolograms have a configurable "block" range.
- Ability to configure sounds per crate.
- Configure the cycling sounds when crates are doing animations, the sounds played when a crate ends.
- Adjust the volume of sounds and the speed of the sounds.
Changes:
- Cosmic Crate configurations have new options, click me!
Color
has been replaced byItem
as you could have always used any item, so it was misleading to name itColor
.- If
Item
is not found, it will fall back to LIME_STAINED_GLASS_PANE. - You can choose between a pre-defined tier for each row or have it pick randomly between available tiers.
- Cosmic Crate when initially picking crates, all the ??? crates will have a tier bound to them, so it actually matters when you pick them.
- Updated slot checks for menu items to rely on PersistentDataContainer.
- Re-organized the default /crates gui.
- Check uuids for quad crate sessions over player objects.
- Update /crates additem to take input for tiers which only work for cosmic/casino, /crates additem <crate_name> <prize_number> [tier]
- Update /crates additem again to take input for custom chance, Note: The max range by default is still 100 so keep it under 100. /crates additem <crate_name> <prize_number> <chance> [tier].
- No longer create a snapshot of the holder when checking for InventoryHolders.
- Add a config option to switch to a faster implementation of picking numbers. It defaults to
false
which is the old way of doing random. - All messages in chat, lore of preview items, gui names even filler items have
PlaceholderAPI
support.
Fixed:
- Crates being broken in worlds created by world plugins.
- Refund event needed to be fired sync.
- Display damage where if you put a value that can't be parsed as an integer like 50f, it wouldn't be empty durability.
- In-game editor wouldn't add tiers to casino/cosmic crate.
- Stored the wrong value for PDC causing it to error when using QuadCrates.
CrazyCrates 1.20.2
on Jan 21, 2024Changes:
- Removed the wildcard crazycrates.open.*
- Registered crazycrates.open.<crate_name> to server permissions on startup.
- Each crate will have one registered, if you remove a crate. The permission will not be removed from the server until server restart.
- Updated cluster api version.
Fixed:
- Permission checks were not accurate.
CrazyCrates 1.20.1
on Jan 9, 2024Fixed:
- Error when a player left the server.
CrazyCrates 1.20
on Jan 7, 2024Changes:
- We no longer download Adventure API on runtime using the libraries feature in the plugin.yml.
Fixed:
- Remove all data related to the crate they opened if they leave.
CrazyCrates 1.19.3
on Dec 31, 2023Added:
- Toggle for the cosmic crate timeout feature.
Settings.Cosmic-Crate-Timeout
will be automatically added to your config.
Fixed:
- Cosmic Crate time out feature was not working as expected.
CrazyCrates 1.19.2
on Dec 29, 2023Fixed:
- Players not being removed from opening crates on quit thus crates getting stuck in a limbo of "Player is already opening crate."