- Added 1.20.5/6 support
- Some fixes to min-distance
- Added a new "key" feature, you can set a required-item for a reward, if you open the crate with that item in your hand you are guaranteed to get that reward. Required-item rewards are not inside the regular lootpool
- Added support for furnitures in ItemsAdder
- Added sound rewards
- Fixed rewards not correctly reloading
- Fixed envoys sometimes not correctly stopping on server stop/world unload
- Added some API events
- Added a check for chunk loaded state before getting entities in the chunk (Thanks, Zffu!)
- Added %name% placeholder to reward collect messages
- Disabled physics in block placing (Thanks, rudde0!)
- Made blank messages not send
- Added differentiation between x and z max distance, you can create rectangular envoy spawn areas
Almost completely rewritten the plugin!
New features:
- Added Folia support (envoy starting is much slower on Folia sadly, that's due to the strict threading checks that have to be made in order to not have issues. Might be able to improve the performance in the future)
- Added suuport for "health" for crates: you can set how many interactions are needed for the crate to be collected
- No longer using DecentHolograms for holograms, but rather our own system
- Envoys don't stop now on reload of the plugin
- Added item rewards
Fixes:
- Fixed a logic issue causing massively degraded performance (~50,000% faster) (also fixes a rare servercrash)
- Fixed ItemsAdder hook
Backend:
- Changed config handling, new settings are now added automatically
Some issues may arise when using this build as it's a first release after a major rewrite, please report them either on our discord or our github!
- Added /envoy toggle to be able to toggle collect & spawn messages per player. Permission:
axenvoy.command.toggle
- Added auto-updating to messages.yml
- Added %world% %x% %y% %z% placeholders to envoy start messages
- Added different messages for starting with one and multiple crates
- Migrated "start" message to "start.multiple"
- Migrated "flare-start" message to "flare-start.multiple"
- Removed "crash-safety" functionality due to it crashing the server on boot sometimes (will be reworked in the future)
- Fixed various bugs
- Fixed decentholograms support sometimes not working correctly
- Added support for falling blocks falling through blocks
- Added option to limit predefined spawn amount
- Fixed issues with timeout
- Fixed issues with autostart
- Added way to automatically fix crashed envoys
- Added message type rewards
- Added toggle to listening to blockphysicsevent
- Added settings to automatically start events every 'x time'
- Added timeout to envoys after which the envoy will automatically stop
- Added placeholderapi placeholders for next start and timeout. %axenvoy_<envoy>nextstart% and %axenvoy<envoy>_timeleft%
- Fixed predefined spawns counting twice
- Added /envoy coords <envoy> command to list all crate locations
- Fixed some small bugs