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."
CrazyCrates 1.19.1
on Dec 19, 2023Fixed:
- ItemBuilder was throwing an error in console.
CrazyCrates 1.19
on Dec 11, 2023Removed:
- plugin-config.yml as it was just weird, Options in there will migrate to config.yml automatically.
Changed:
- Bumped to 1.20.4
- Bumped nbt api
- Nested placeholders now work
%crazycrates_<player>_<crate>_opened%
must be done like%crazycrates_{player_name}_your_crate_opened%
- {player_name} can be replaced with almost any player variable from https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders
- /crazycrates admin-help has been removed.
- /crazycrates help now has a permission check if the player has crazycrates.admin-access
- The permission crazycrates.command.player.help has been changed to crazycrates.help which defaults to TRUE
- Console can now use /crazycrates help.
Full Changelog: https://github.com/Crazy-Crew/CrazyCrates/compare/v1.18.5...v1.19
CrazyCrates 1.18.5
on Dec 2, 2023Fixed:
- Glow did not work.
CrazyCrates 1.18.4
on Dec 1, 2023Fixed:
- CSGO Crate animation was out of order.
CrazyCrates 1.18.3
on Nov 30, 2023Changes:
- Close CosmicCrate menu after 10 seconds when all 4 prizes are given.
- Clean up after ourselves when we need to.
Fixed:
- Custom Heads and Custom Items were not working.
CrazyCrates 1.18.2
on Nov 28, 2023Fixed:
- QuadCrate/CrateOnTheGo were not being opened when the command was run.​
CrazyCrates 1.18.1
on Nov 25, 2023Changes:
- Better support for custom items.
Fixed:
- Prevent obtaining keys when in /crates admin if clicking already existing keys in your inventory.
CrazyCrates 1.18
on Nov 24, 2023Added:
- Simple warning about plans to migrate from Spigot to Paper only.
- Config option to hide the QuickCrate item.
Changes:
- Respect a client's sound settings.
- CosmicCrate has been re-coded and optimized.
- Re-coded how crates are handled to allow for new crate types.
- Developer API has been updated.
Fixed:
- CosmicCrate had a bug
- CrateOpenEvent was fired twice.
- Spigot Compatibility.
CrazyCrates 1.17.1
on Nov 8, 2023Changes:
- %Player% no longer works, you must use %player%. This applies to all our internal placeholders.
Fixed:
- QuadCrate, QuickCrate or CrateOnTheGo were labeled as a virtual crate despite being in the Physical World.
CrazyCrates 1.17
on Nov 7, 2023Added:
- Track opened crates for /crates mass-open.
- Added a new message for when taking keys from poor people as an admin i.e. if they are offline or online.
- A directory called examples will be re-generated on every startup and /crates reload to always ensure that you get fresh example files if needed.
Changes:
- If no display name option in the crate config prize section is present, the material name will be used for %reward%.
- Inventories are no longer checked by if the view matches, this led to you being able to name your inventory Enchant and now you can't use the Enchant table.
- Use customizable message for when getting keys out of the admin menu.
- If you try to use the /crates give/take command with any number equal or less then 0, It will tell you that it isn't a valid number.
- /crates mass-open now allows you to pick between physical and virtual keys.
Fixed:
- /crates set was not functioning properly.
- Menu Crate was not in tab completion.
- QuadCrate told you it can't be used as a virtual crate.
- Don't clean player data for users who have no keys if tracking is present under the user.