
RandomItems999
RandomItems999 is a dynamic Bukkit plugin that allows players to receive random items from the entire game at customizable intervals, enhancing gameplay with surprise rewards
Список изменений
- Config Support Added
Added config.yml support for:
interval (default item interval)
excluded-materials (items to ignore)
bossbar.color and bossbar.style
✅ 2. data.yml Persistence System
Created a data.yml file to store receivedItems count across server restarts.
loadData() on enable.
saveData() on disable.
✅ 3. Boss Bar Toggle System
Added /randomitem togglebossbar command.
Players can now opt-out of seeing the boss bar.
Boss bars no longer show or update if player has it disabled.
✅ 4. Permissions Added
randomitems.admin required to run:
/randomitem start
/randomitem stop
/randomitem setinterval
Non-OPs are denied access to these admin commands.
✅ 5. Player Join Integration
Players who join while distribution is active automatically get the boss bar (after a short delay).
✅ 6. Dynamic Config Saving
When using /randomitem setinterval
✅ 7. Improved Safety in Config Parsing
✅ 8. Boss Bar Uses Configured Color and Style
Boss bar now uses bossBarColor and bossBarStyle from config.yml.
