Skip to content

Releases: pmdevita/CreeperHeal2

2.1.1 - Minor bug fixes

03 Mar 04:56
Compare
Choose a tag to compare

This addresses a few minor bugs with the 2.1.0 release

  • Fixed an issue where an explosion of only blacklisted blocks would cause a crash
  • Fixed an oversight in how door blocks were handled
  • Some under the hood organizational improvements for multiblocks (doors, beds, dripleafs, etc.)

Check out the 2.1.0 release notes and it's discussion thread.

2.1.0 - 1.20 support, some customizability and compatibility

24 Feb 22:03
Compare
Choose a tag to compare

Hey everyone, it's been a busy year for me but I've found a bit of time to add and fix some things.

  • Full 1.20 support, getting the last few blocks that weren't automatically detected
  • Fix loading compatibility plugins for duplicate named plugins (#20)
  • Overhaul compatibility plugins to use the Spigot event system (#28)
  • Add config option to disable saving containers (chests, etc.) inventory (#27)
  • Add config option to black/whitelist certain block types (#29)
  • Improved accuracy and reasoning of when to teleport entities (#26)
  • Support for custom explosions (Cannons support!) (#4)
  • Small fix for dripleaf stems facing north
  • Updated dependencies and Kotlin to 1.9.22

I'll note here that the if you disable saving a container's inventory, it will save the container but not the inventory. You can blacklist the container block type itself to fully disable saving it with its inventory.

At long last Cannons is supported! The fix ended up being dead simple so please test this yourself and let me know if it works! You can enable it by enabling the new custom explosion type in the config.yml

Also at long last, I finally published the maven repo and API docs for CreeperHeal2! If you've ever wanted to be able to repair blocks as gracefully as CreeperHeal2 does, you can now add it as a dependency to your own plugin! I'll add some extra docs later to the wiki to help get people started.

If you like the project and want to help, I'm always open to help guide new programmers and contributors! Post a discussion on GitHub or join my Discord (or Spigot but I don't check that as often). You can also donate to my PayPal (which is linked on the Spigot page) to pay for my late night coffee while I work on this thing lol.

Thank you to my Discord and the PDP Discord for helping me test and special thanks to TylorTurner who is this project's first sponsor! And thank you for using the plugin!

Entity block support, 1.19 support, world blacklist/whitelist, Movecraft and Factions support

04 Jan 01:46
Compare
Choose a tag to compare

Hello everyone and happy new year! After about a year of on and off work, the next release is finally here, and it's a big one! The most notable new feature is finally, at last, support for entity-type blocks, including paintings, item frames, and armor stands!

Here's the full set of changes. As always, you might want to take a look at the updated config file to configure the new settings.

  • Support for restoring entity-type blocks (Paintings, Item Frames, Armor Stands)
    • Can be disabled with the entity-type option in the config.
  • Support for the 1.19 blocks.
    • The block system has been changed a bit to use the Material Tags whenever possible. This cleans up the list and future proofs it to a degree, meaning some blocks in future versions will already have support.
  • Support for world blacklist/whitelist. A new world.yml config will be added to the plugin folder on start for you to
    configure.
  • Rename command from /ch to /creeperheal to improve compatibility with other plugins.
  • Automatic development builds courtesy of TylerS1066. You can find them on GitHub by clicking on the checkmark next
    to a commit or going to the Action tab.
  • Support for Movecraft and Factions! CreeperHeal2 will no longer interfere with Movecraft crafts, and you can configure
    what kind of regions CreeperHeal2 is active in now for Factions.
    • There is now an interface for developers to add support for their plugins. Documentation is coming later but for now, you can open an issue and I can guide you through the process.

Finally, thank you to TylerS1066 for fixing the command compatibility and providing guidance and testing with the
Movecraft support! Thank you as well to my Discord for helping me test! Finally, if you want to help support my work, you can donate to my PayPal which is linked on the Spigot page. Thank you for using the plugin!

1.17/1.18 support

13 Dec 01:17
Compare
Choose a tag to compare

At long last, 1.17 and 1.18 support is here!

Added

  • 1.17/1.18 block support
  • Rewritten support for "multi-blocks", blocks that are considered a group of blocks (ex. beds, doors, dripleaf) or rely on multiple blocks to be placed properly (ex. glow lichen, vines)

Fixed/Changed

  • Vines moved to multi-block system for better restoration
  • Explosion processing pipeline is now more modular, will help make adding unusual blocks in the future easier
  • Some code clean up

I worked a bit on adding support for paintings and item frames but since they are entities, they are actually blown up prior to the plug-in receiving the explosion event. If you've worked with explosions or entities and you think you might be able to help, please open an issue or message me on spigotmc.org

I'm going to be looking at some of the issues to add support for other plugins and other minor features next so look for a release for that in a few days.

Thank you to my Discord for helping me test and thanks for using this plugin!

Fix 1.13-1.15 compatibility

24 Feb 05:55
Compare
Choose a tag to compare

This is a release just to fix compatibility for versions 1.13-1.15. If you are already using 1.3.0 on a 1.16 server you should be good to go.

  • Fixed an crash due to the plugin trying to correcting weeping vines even in versions below 1.16

If you are coming from version 1.1.1 or earlier, be sure to read the patch notes from the last few releases, there have been a number of fixes and features added.

Performance and bug fixes

22 Feb 20:27
Compare
Choose a tag to compare

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!

Large chain explosions and performance fixes

14 Feb 06:39
Compare
Choose a tag to compare

Thank you once again to my Discord for destroying a ton of stuff and crashing the test server. I probably wouldn't have caught all of this without them.

Make sure to read the 1.2.0 notes to learn about the other new features and fixes!

  • Fixed a problem where massive chain explosions could lose blocks when merging
  • Fixed a problem where CreeperHeal2 might attempt to merge an explosion with itself
  • Improved performance of merging gravity block lists
  • Increased boundary calculations by one to improve merging in some cases

Chain explosions and other fixes

14 Feb 04:09
Compare
Choose a tag to compare

At long last, chain explosion support has finally been added! You can now allow for TNT to chain explode nearby TNT with the explode-tnt option in your config.yml (you can see an example of it here).

The plugin also now merges nearby explosions into a single explosion handler. This should significantly improve repair of blocks affected by multiple simultaneous explosions.

  • TNT chaining now works, toggleable with explode-tnt
  • Nearby explosions automatically merge, providing for better repair
  • Fixed a potential error caused by explosions that affected zero blocks
  • Fixed Wither explosion support not repairing the initial charge up blast
  • Improved extended piston support

Thank you to my Discord for helping me test this!

WorldGuard compatibility

11 Feb 18:56
Compare
Choose a tag to compare

Very small release, the only functional difference is that the plugin should now be more compatible with WorldGuard. In general, any plugin that also handles explosion-related events could have compatibility issues so make sure to test and file an issue if there is a problem.

  • Improved compatibility with WorldGuard (#2)
  • Under the hood changes to simplify the block dependency logic

1.16 support, async, beds and doors

16 Dec 06:49
Compare
Choose a tag to compare
  • Support added for the new 1.16 blocks
  • Some processing of explosions moved to a separate thread to decrease lag
  • Fixed beds and doors sometimes duping and repairing in half (#1)
  • Fixed lanterns

Thank you to my Discord for helping me test and thank you for using the plugin!