CrazyCrates 3.6.1
on Aug 11, 2024Added:
- Bumped minecraft version to 1.21.1
- You should update to 1.21.1 as soon as possible, there is no changes to prevent any plugins from being used on 1.21.1
- This version of Minecraft is a minor version fixing bugs, it's plug and play unless the plugin developer is insane and has some hardcoded restrictions.
Changes:
- Properly relocate the command framework
- CsgoCrate now when the task is finished, sets an item below and above the prize you won.
- In the future, this will be configurable. I just don't know what to call it.
- Updated permission description
- Updated exclude.give-all to default to FALSE, #774
- Bumped CMI dependencies
Fixed:
CrazyCrates 3.6
on Jul 30, 2024Added:
- Added missing configurable messages to places around the plugin, all messages should now be configurable.
- Added a new config option where you can decide to send messages in chat or in the actionbar.
- Messages that send a list to chat will by default never be sent to actionbar as it would not look pretty.
- Added a new placeholder,
{required_amount}
tocrates.requirements.not-enough-keys
- Added another new placeholder,
{key}
tocrates.requirements.not-enough-keys
, #756- This placeholder returns the name of the key.
- Added a new migration type which converts deprecated fields in the crate files.
- Added 2 new toggles to the
config.yml
which you can find at the top of the file.- The
use-old-editor
requiresuse-minimessage
to be false as it's uses legacy color codes.
- The
- Added per prize broadcast, this will send a message to every player on the server.
'5':
# The display name of the item.
DisplayName: "<yellow>$1,000"
# The item to display in the gui.
# The enchanted book will function with the enchants properly in an anvil.
DisplayItem: "sunflower"
# Prize settings
Settings:
# The custom model data of the item, -1 is disabled.
Custom-Model-Data: -1
# Broadcast a message to the server
Broadcast:
# If the messages should be sent.
Toggle: false
# The messages to broadcast.
Messages:
- '<red>%player% won the prize <yellow>%reward%.'
# If the player has this permission, they don't get the broadcast.
Permission: 'your_permission'
- Added optional arg for
Player
with crazycrates debug, so you can use it in console. - Added missing message notifying an item was added using /crates additem
Changes:
- The permission check for whether a player can open a crate has been changed.
crazycrates.open.<crate_name>
is nowcrazycrates.deny.open.<crate_name>
- The crate name is case-sensitive, so it must match exactly the crate name in the
crates
folder - If the file name is CrateBeans.yml, it must be
crazycrates.deny.open.CrateBeans
- If a message in the
messages.yml
is blank, it will not send the message. - Update default message for
crates.crate-no-permission
- Update some comments because of grammar.
- Update logger message when the
CrateOpenEvent
is cancelled to be more verbose.
Fixed:
- Wheel Crate animation now spins properly. #764
- Roulette Crate inventory size is now normal. #765
- Don't give 2 prizes if the editor items isn't empty.
- Casino/Cosmic crate tier previews would share total items causing pagination to appear despite the inventory not being full.
Deprecations:
- Deprecated
{key_amount}
and replaced it with{required_amount}
incrates.requirements.not-enough-keys
{key_amount}
will stop working in the next major version of Minecraft.
CrazyCrates 3.5.9
on Jul 23, 2024Added:
- Ability the ability to make items glow in
Items
Items:
- 'Item:spawner, Glowing:true'
Fixed:
- The config option for
verbose-logging
was not applied to some parts of the plugin.
Changes:
- No longer add the contents of
DisplayData
to theItems
section on/crazycrates reload
- Lowercase shield pattern types and colors which also fixed a display issue, so previous shield pattern/color configs work. They no longer need to be typed like GRADIENT_UP:LIGHT_GRAY, you can simply type gradient_up:light_gray
- Deprecated
Patterns
in favor ofDisplayPatterns
, it will be removed in the next major version of Minecraft.
'6':
# The name of the item to display in the gui.
DisplayName: "<green>Fancy Shield"
# The enchants to display in the gui.
DisplayItem: "shield"
# A list of patterns: https://jd.papermc.io/paper/1.21/org/bukkit/block/banner/PatternType.html
# The patterns don't need to be uppercased. you can type them lowercased along with the colors.
# Patterns have to be laid out in a specific order, otherwise it won't look right.
# This also applies to the Items section.
DisplayPatterns:
- "base:white"
- "gradient_up:light_gray"
- "straight_cross:light_blue"
- "flower:light_blue"
CrazyCrates 3.5.8
on Jul 22, 2024Added:
- Ability to define spawner type in prizes
'1':
# The name of the item to display in the gui.
DisplayName: "<green>Creeper Spawner"
# The enchants to display in the gui.
DisplayItem: "spawner"
# Prize settings
Settings:
# The custom model data of the item, -1 is disabled.
Custom-Model-Data: -1
# The type of mob for the spawner.
Mob-Type: creeper
# The amount to display in the gui.
DisplayAmount: 1
# The max range i.e. 15/100 = 15% chance to win.
MaxRange: 100
# The chance to win i.e. 15%
Chance: 23
Items:
- 'Item:spawner, Mob:creeper'
Changes:
- Play knockback/sounds if they don't have the required keys.
- Removed runtime dependency loader.
Cosmic Crate:
- Cosmic Crate was changed back in March for the calculation of tiers to be handled when you open the inventory, so that when picking a mystery crate. The choice would actually matter!
- It has been brought to my attention of being able to skimp it using client side mods. this has been addressed, the mods will no longer be able to skimp it by seeing item differences.
- The calculation still happens but, the picks are stored internally to the player's uuid in a cache which clears when the player quits, the inventory closes or the crate task ends for X reason.
Fixed:
- Issue with file not found on first install.
- Issue where examples folder wasn't being created properly.
- Issue with shields not getting color or patterns.
Wonder
crate type never playing the cycle sound.Wheel
crate type playing the stop sound twice.Wheel
crate type not playing the cycle sound as most people have the client music muted.War
crate type played the cycle sound a bit early.
CrazyCrates 3.5.7
on Jul 19, 2024Fixed:
- Issue with /crazycrates migrate.
- Multiple null checks in commands.
- Issue with invalid argument output not outputting the proper syntax.
Changes:
- Updated migrator command format.
- Updated invalid argument output to just describe it better.
CrazyCrates 3.5.6
on Jul 18, 2024Fixed:
- Re-worked how display names are handled for items/previews, This format now works properly and stacks with vanilla items.
'1':
# The item to display/give in the gui.
DisplayItem: "diamond"
# The amount to display/give
DisplayAmount: 3
# The max range i.e. 25/100 = 15% chance to win.
MaxRange: 100
# The chance to win i.e. 25%
Chance: 25
- Applied a bandaid to quadcrates
- Use correct crate name for {crate} when a crate location already exists in
/crazycrates set <crate>
- Fixed npe with /keys view, player name wasn't supplied, so it freaked out.
- Fixed npe with placeholder parsing in messages.
Changes:
- Optimize display reward above quad/quick crate
CrazyCrates 3.5.5
on Jul 15, 2024Fixed:
- Issue with ItemBuilder not allowing further modification of the Oraxen items.
Previous Update
Changes:
- When interacting with a crate previously, it would check both virtual and physical keys, but it was a coin flip on what it would use, the interaction functions the same now as
/crates
in terms of hierarchy... physical keys are checked first then virtual keys. - If you hold a key that can't open the crate you are looking at, it will instead default to checking your virtual keys if the config option is enabled, if a key is found... it will open the crate using virtual keys. as always, please report any bugs.
Fixed:
- Cancel the key check event if the checks find a player does not have enough keys.
- Simplify key checks so virtual keys can work, this removes an unneeded physical key check as we were checking it twice? why...
- Config comments for
physical-crate-accepts-physical-keys
andvirtual-crate-accepts-physical-keys
inconfig.yml
were incorrect.
CrazyCrates 3.5.4
on Jul 15, 2024Changes:
- When interacting with a crate previously, it would check both virtual and physical keys, but it was a coin flip on what it would use, the interaction functions the same now as
/crates
in terms of hierarchy... physical keys are checked first then virtual keys. - If you hold a key that can't open the crate you are looking at, it will instead default to checking your virtual keys if the config option is enabled, if a key is found... it will open the crate using virtual keys. as always, please report any bugs.
Fixed:
- Cancel the key check event if the checks find a player does not have enough keys.
- Simplify key checks so virtual keys can work, this removes an unneeded physical key check as we were checking it twice? why...
- Config comments for
physical-crate-accepts-physical-keys
andvirtual-crate-accepts-physical-keys
inconfig.yml
were incorrect.
Previous Update
Changes:
- The fix below required preview to be only opened through left click so right click can function as for only opening the crate.
Fixed:
- The key check on right-clicking a crate was working, however we didn't inform the player they had no key.
CrazyCrates 3.5.3
on Jul 15, 2024Changes:
- The fix below required preview to be only opened through left click so right click can function as for only opening the crate.
Fixed:
- The key check on right-clicking a crate was working, however we didn't inform the player they had no key.
CrazyCrates 3.5.2
on Jul 12, 2024Fixed:
- Issue with file manager not properly loading/reloading files.
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='