Releases: StrangeOne101/PlatinumArenas
v0.8.1 - Player head fix for 1.21
Fixes
- Fixed player heads not storing correctly in 1.21 (#22)
Changes
- Plugin now supports 1.17 again. Goes all the way to 1.21.4
v0.8.0 - Container support in arenas
Additions
- Added support for all blocks that can store items
- Includes all types of chests, furnaces, camp fires, suspicious sand, decorated pots, lectures and bookshelves
- Requires Paper or a fork of Paper to work
- Added support for double sided signs
- Added support for persistent data in blocks (spigot feature) being saved in arenas
- Updated for MC 1.21 (min version is 1.20.5) and Java 21
- PlatinumArenas is now available on Spigot. https://www.spigotmc.org/resources/platinumarenas.121422/
Fixes
- Fixed tile entities not being stored for the first block of every section
- Fixed tile entities not being stored if multiple tiles of the same type are in a section line
- Changed the debug command to dump cache objects as strings and not bytes
- Closed the issues of people begging me to update the plugin (#16, #17, #18, #19, #20, #21)
SERVER OWNERS NOTE
This update may make arenas with player skulls and banners not reset correctly. There is currently no converter in place, because
- It is a lot of work
- I don't actually know how many people use this plugin, nor how many people are actually affected. It isn't worth me doing this until prompted, but if you are affected and for some reason can't manually fix it, open a github issue and we can sort it
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