Repository navigation
LofiBox 1.5.0
v1.5.0
New Features
HeadDatabase Categories & Seasonal System
- Added 26 themed head categories with search-term pools (animals, anime, halloween, pokemon, star wars, and more)
- Seasonal availability windows — categories activate and expire on configurable MM-DD dates; year-wrap ranges (e.g. Dec–Jan) supported automatically
- Double-reward mechanic — per-category bonus head chance, optionally scoped to a date range (e.g. 50% on Pokémon Day, 5% during Halloween)
- All-heads pool (random: true) draws from every head in HeadDatabase with no filtering
Default Lootboxes
- 33 default box YAML files ship with the plugin (one per head category + example)
- Auto-copied to plugins/LofiBox/boxes/ on first install — no setup required
Broadcasts & Discord Announce
- Server-wide chat broadcast when a player wins a head-category reward
- Optional EssentialsXDiscord integration — posts head finds to a configurable channel
- Double-reward wins get their own broadcast message
- Both toggleable independently in config.yml
Player Stats GUI
- /lofibox stats [player] opens a paginated 6-row GUI showing per-box open counts
- Entries sorted most-opened first; clicking an entry opens that box's reward preview
- New lofibox.stats permission (default: false) gates direct command access
- Console/NPC path (lofibox stats ) opens the GUI on the target player's screen — no player permission required
Public Developer API
- LofiBoxAPI registered as a Bukkit service; other plugins call LofiBoxAPI.get()
- Exposes box metadata, seasonal availability, season windows, and full reward snapshots
- SeasonWindow and RewardInfo value types with helper methods (isActiveNow(), isDoubleChanceActiveNow(), toDisplayString())
Changes
- lofibox.stats permission added (default false); previously stats were accessible via lofibox.use
- EssentialsDiscord added to softdepend in plugin.yml
- Editor item capture now reads from the cursor rather than the main hand, fixing an issue where holding an item and clicking a capture slot did nothing
Config Changes
New keys in config.yml (added automatically on first run, no action needed on upgrade):
head-found-broadcast: true
discord-head-announce: false
discord-channel: "chat"
New keys in messages.yml:
- head-found-broadcast
- head-double-reward
New fields in head-categories.yml per category (all optional):
- available-from / available-to — seasonal window (MM-DD)
- double-chance — bonus reward percentage
- double-from / double-to — double-reward date window
- random: true — pool all HDB heads with no filtering