Bug fixes:
• Gradients, hex colors, and text shadows now render correctly in crate names, lore, GUIs, and holograms
• Key counts and PlaceholderAPI placeholders no longer show as raw text in crate items and picker GUIs
New features:
• Crate YAML files support placeholders like {crate_upper}, {crate_capital}, {keys}, and {keys_formatted} in icon, inventory, hologram, and reward text
• Hologram lines accept {keys} and {keys_formatted} and update per player like standard PAPI placeholders
Code:# No config.yml changes — replace JAR only. # Optional: use these placeholders in plugins/PerfDonutCrates/crates/*.yml # (icon, inventory, hologram lines, reward item name/lore): # # {crate} {crate_id} — crate id (e.g. common) # {crate_upper} — COMMON # {crate_lower} — common # {crate_capital} — Common # {crate_name} — icon.name from the crate file # {keys} — player's key count (GUI) # {keys_formatted} — e.g. "3 Keys" (GUI or hologram via PAPI) # # MiniMessage examples: # <#59B209>text # <gradient:#59B209:#34D399>text</gradient> # <shadow:#000000FF>text</shadow>
Bug fixes:
• Crate preview and rewards now respect the configured item amount in reward configs
Code:# plugins/PerfDonutCrates/crates/common.yml — example reward: rewards: 8: give-icon: true item: slot: 19 material: BREAD amount: 16 name: '<#FFD166>16x Bread
Bug fixes:
• Command-based crate rewards now give the selected item again on Folia servers
• Opening a crate now shows the actual reward name in chat instead of the generic "crate reward" text
• Empty message keys in messages.yml no longer send blank chat lines
