Releases: StrangeOne101/PlatinumArenas
v0.7.5 - 1.20.4 Patch
- Updated the plugin for 1.20.4
- Added config option to allow arenas to still load even when materials fail to load
- Plugin now requires 1.17+ and Java 17+
v0.7.4 - 1.20 Sign Support
- Added support for 1.20 bamboo and hanging signs
Fix Pre-1.17 bug
- Fixed bug where the commons-io library was missing on lower Minecraft versions (#6)
Major Bug Fix
Additions
- Added tab completion for cancel command
- Added warnings for loading arenas made in newer versions of minecraft
- Added support for beacon NBT
- Added support for glowing signs in 1.17+
Fixes
- Fixed sections not resetting if they had more than 32,767 in a row. Arenas made with this bug in effect have also been patched
- Fixed 1.16+ sign support not working
Minor Fixes
- Added
-silent
option to the reset command to reset an arena without constant updates (useful when executing the command as the console) - Optimized arena loading to load in parallel, making load times much faster
- Fixed arenas resetting from the point they were cancelled at
- Fixed the reload command not reloading the reset speed config options
Basic NBT, Compression & Enhancements
Basic NBT Support
This update allows "basic" NBT to be stored within arena files. "Basic" is in quotes because this only includes the normal features of player heads, banners and signs. Custom NBT stored within the Block Entities will not be stored in the arena file (since it goes via the Spigot API)
This means that player heads with textures, banner patterns, and signs with text will no longer be cleared when resetting an arena.
Compression
All arena files will now be compressed by default. You won't notice any performance impacts because of this, but the filesize will now be smaller.
Compressed files will be in the .datc
format while uncompressed remains in the .dat
format. Both will still be loaded, but if you want to convert between them, double click the jar (on your desktop) and a GUI will pop up to help you with that.
To give an example on how well it works: One insane 38 million block arena was reduced from a 3.20mb file to a 392kb file
Commands
- Added
reload
command - Added
info
command - The reset command can change the speed of an existing arena reset
- The teleport command suggested from clicking in
/arena list
is now configurable
Arena File Storage
Arena files now store:
- The MC version the arena was created in
- The player who created the arena
- The time it was created
Older arena files can still be loaded.
Fixes
- Grass Paths, Beetroot, Cauldrons and Walls from older arena files no longer cause issues due to Mojang changing their blockstates
- Fixed storing "git" as the version in arenas (issue in the private 0.6 release)
- Fixed arenas created in unloaded worlds crashing
Performance Update, Tab Completion, Reset Update Messages
Performance Improvements
The last update (v0.4), although it fixed a lot of bugs, made performance TANK. I have implemented benchmarking features into this plugin as well as into old versions to measure it, and with lots of testing with it, made LOTS of improvements to performance.
- Up to 10x faster calculations on reset in some instances
- Resetting arenas on fast can once again do so without dropping TPS on most servers
If you are interested in seeing these timings, reset an arena then do /arena debug
. It will tell you the amount of time it took to do the calculations and resetting execution (different to the time the arena took to reset).
Tab completion
Commands now have tab completion
Reset update messages
Resetting arenas will now send you update messages. The interval of these can be configured, so REGENERATE YOUR CONFIG FILES OR ADD THIS TO YOUR CONFIG BELLOW
# The interval is how long until it can update you again (in seconds),
# while the percentage is how much it must achieve since it last
# notified you before it can do so again.
ResetUpdate:
Interval: 10
Percent: 15
UPDATE IMMEDIATELY
I do not recommend using the previous version (0.4 / 0.4.1) of PlatinumArenas AT ALL. Compared to 0.5 and 0.3, it is TERRIBLE in performance. So sorry you had to deal with it, but at least it's fixed now.
v0.4.1 - Fixed IndexOutOfBoundsException for some arena resets
DO NOT USE THIS VERSION, USE 0.5 INSTEAD
- Fixed IndexOutOfBoundsException that occurred when you reset some arenas. Still don't know why it happened to only some
v0.4 - Added config, delayed borders & arena creation without WE
DO NOT USE THIS VERSION, USE 0.5 INSTEAD
A lot of good features have been added to the plugin in this release. Including:
- Added config.yml
- You can now configure the reset speeds as well as section sizes
- The border command now shows borders over multiple ticks. Will reduce client lag a lot.
- Arenas can now be created without WorldEdit with a stick. Experimental.
- Arenas now give a reset complete message
- Fixed #3 (large arenas resetting instantly for slower speeds)
- Fixed some sections resetting before others
First Usable Release
Plugin can now be used on servers. See the readme for usage.
Notable features of this release:
- Saving/Loading now works flawlessly in a compact format
- All arenas load async on plugin load
- Arenas can be listed while displaying their stats as well as have a clickable link to TP to them
- Arenas can be created by selecting a world edit region, then running
/arena create <name>
. The creation process updates you every so often. - Arenas can be reset at different speeds and can be cancelled to start again (at different speeds if desired)
Thanks to @jayoevans for being a real MVP and fixing the reset issue.