Added a new placeholder to check how many players are inside an arena.
Please refer to the
documentation for more info.
ArenaRegen now supports PlaceholderAPI with new placeholders:
- %arenaregen_region%: Shows the arena a player is in, or "None" if not in one.
- %arenaregen_locked%: Returns "true" if the arena is locked, "false" if not.
- %arenaregen_status%: Displays arena status ("Regenerating", "Locked", "Available", "Invalid Arena", or "None").
- %arenaregen_nextregen%: Shows time until next regen (e.g., "50s"), or "Regenerating"/"Not Scheduled".
- %arenaregen_size%: Shows the arena’s block count (e.g., "1000").
- %arenaregen_creator%: Displays the arena creator’s name, or "Unknown".
- %arenaregen_world%: Shows the arena’s world name, or "Invalid Arena"/"None".
Usage with Players:
Stand in an arena and use /papi parse me %arenaregen_nextregen% to see the timer. In holograms (e.g., Decent Holograms), add /dh addline myholo &eNext Regen: %arenaregen_nextregen%.
Usage without Players:
Specify an arena name like /papi parse me %arenaregen_nextregen_testarena% to get info for "testarena". From console, use /papi parse console %arenaregen_nextregen_testarena% (returns "Arena or Player Required" if no arena specified).
- Removed some unnecessary getters in the code
- New info command
Usage: /ar info <arena>
- Added async loading/saving so it wont block the main thread
- Higher buffer sizes for larger arenas
- replaced all logger variables with Bukkit#getLogger
New features:
Arena locking/unlocking - Prevents players from entering arenas during regeneration. Please refer to the
documentation for more info.
- Improvements to how entities are serialized/deserialized
- Message will now not be sent to the command sender in scheduled regenerations
- Added a config option to customize the preview particle for better customizability. Refer to the
documentation for more info.
New features:
/arenaregen preview command - Preview the borders of an arena with particles.
Usage: /arenaregen preview [arena_name]
- Fixed old arenas not working
- Improvements to how arenas are loaded and saved
- Most messages have the prefix now
- Backup files are now created when saving arenas
- Added NMS support and optimized the regeneration process.
- Please download the LEGACY jar if your server is running Minecraft 1.20.4 or below, and download the MODERN jar if your server is running Minecraft 1.20.5 or above.
- Already regenerating arenas won't regenerate now
- Added scheduled arena regeneration
- Added more logging to arena saving and loading
- Fixed selection tool not syncing with config
- Proper entity tracking added
- RegionData rewrite
- Minor optimizations in create command
- fixed the selection tool not working
changed api version in plugin.yml
Changelog:
Change from HashMap to ConcurrentHashMap for registeredRegions, pendingDeletions and pendingRegenerations (thanks DereC)
- Fixed selection tool duplicate messages (hopefully)
- Fixed some issues with reload command