PerfectLootbox v1.3.1
2026-05-26
Hytale Update 5 compatibility update.
Changes:
- Updated for Hytale Update 5 (Pre-Release 5).
- Recompiled against the latest server API (JOML vectors, new permission and HUD APIs).
- Fixed the red "Target Version" warning shown in the mod manager.
- No feature changes. Your existing configs, data and saved files are kept as is.
How to update:
- Stop your server.
- Replace the old PerfectLootbox jar with this one.
- Start your server. Nothing else to do.
v1.3.1 — Major polish update
Player UI
- Pressing F on a placed crate now opens a clean preview page with the full drop list, pagination, rarity colors, and pity status
- Open Crate button consumes the key only when you confirm
- 12 drops per page card layout
Admin pages (5 new)
- Pity Settings: toggle, mode (Personal/Shared), threshold, item/command reward, broadcast
- Stats viewer: per-crate total opens, top drops, top players, reset
- Conditions editor per drop: World / Permission / Hour range / Gamemode with invert flag
- Rarity selector per drop (5 tiers)
- Animation Style picker (4 styles) + Max Animation Duration cap
Drop editor
- Reward Type toggle ITEM / COMMAND with command input field and placeholders {player} {crate}
- Broadcast on win toggle exposed in UI (no more lootboxes.json edits)
Shared Pity events
- Counter now tracks contributors and distributes the configured reward to every participant when the threshold triggers a rare win
- Optional global broadcast
Performance and quality of life
- Max animation duration cap so crates with many drops still finish quickly (scales per-step ticks)
- All v1.3 data (pity, conditions, rarity, animation style, max duration) now persists properly to disk
- 10 key items rebuilt with the correct Hytale model pattern - keys now render correctly in hand and as drops
Bug fixes
- Player preview no longer crashes on style changes
- Drop list shows real item names and rarity colors
- Pagination prev/next added to preview UI
PerfectLootbox v1.1.0 - Patch Notes
Bug Fixes
- Fixed keys from drops/give/vote not working - Keys obtained from lootbox drops, /give commands, or vote reward plugins can now be used to open lootboxes. Previously only keys created via /plb getkey or /plb givekey worked due to a metadata-only check.
- Fixed "Nametags OFF" not hiding hologram - Toggling nametags off now properly removes the hologram above placed chests. Toggling back on restores them.
- Fixed wrong message when setting key item - /plb setkey now correctly says "Key item set" instead of "Chest item set".
- Fixed delete not cleaning up placed lootboxes - Deleting a lootbox definition now removes all placed instances and their holograms from the world.
- Removed debug logging - Removed verbose UseBlockEvent.Pre debug output that spammed the server console on every block interaction.
- Fixed build output path - JAR now builds to UserData/Mods/ instead of dev/mods/.
New Animations
- Fountain - Items erupt from the chest one by one in parabolic arcs. Each non-winner rises, hangs, falls back and despawns. The winner launches last, rises highest and stays floating for the reveal.
- Spiral - All items spawn at the chest and rise together in a helix pattern. At the top, items are eliminated one by one with sound effects. The winner descends slowly back to the chest center.
UI Rework
- Single-page design - Replaced the old 7-page navigation (list, create, editor, drops, drop edit, holo, holo edit) with a single-page layout.
- Sidebar + editor panel - Left sidebar shows the lootbox list with selection. Right panel shows all settings, hologram lines and drops for the selected lootbox.
- Full flat design - Dark theme background (#1a1a2e), no decorated containers, custom flat button styles with gold/teal/red accents.
- Inline create - Create new lootboxes directly from the sidebar without opening a separate page.
- Inline drops and holo management - Edit drops and hologram lines without leaving the editor. Only the drop edit and holo line edit forms open as modals.
Other
- Removed all em-dash characters from translations (5 languages).
- Added missing lb.key_set translation key in all 5 languages.
- Plugin size reduced from 694KB to 676KB.
![]()
