Skip to content

Performance and bug fixes

Compare
Choose a tag to compare
@pmdevita pmdevita released this 22 Feb 20:27
· 137 commits to master since this release

This update doesn't contain much in new features but there was a large amount of restructuring. This should result in some performance gains, especially for those of you setting off massive chain explosions.

  • Explosion merging has been moved off the game thread, this should improve performance during large chain explosions
  • Merging explosion block lists is now faster and uses less memory (I wrote a custom linked list type that can be merged together without reallocating new space). Switching to a linked list has provided some additional performance improvements to a few algorithms as well
  • Turbo mode has been added to help repair huge explosions faster (see the config.yml for more information)
  • /ch stats and /ch cancel have been added
    • stats shows current stats of explosions on server, permission is creeperheal2.stats
    • cancel cancels the repair of all explosions on the server (This is for emergencies and you will lose blocks, if you want the blocks replaced ASAP use /ch warp), permission is creeperheal2.cancel
  • Improved repair in instances where a block that is part of the explosion is dependent on a block outside the explosion that is dependent on a block inside the explosion (yes it's confusing lol)
  • Added support for scaffolding blocks
  • Fixed an edge case in vine replacements

Some of the improvements to performance might be detrimental to systems with 2 or less CPU cores. If that's you, open an issue or leave a message in the discussion on spigotmc.org, I could use your help testing.

Thank you to Astrologic for pushing me to make the performance improvements and helping me test! Thank you to my Discord for helping me test as well!