CreeperHeal

CreeperHeal

281k Downloads

Please add a function to replace the block aftert a restart of the server

EnderGriefeur99 opened this issue ยท 4 comments

commented

Please add a function to replace the block aftert a restart of the server

commented

Hi,

I'm not actively developing the plugin anymore, so I don't implement feature requests, sorry.

However, if you want to develop it yourself, I'll lend a hand.

Cheers,

commented

@EnderGriefeur99 Are you attempting to do this only for creepers / explosions or for all block changes in a world?

Most people do the latter by having read only worlds, or restoring from a known good copy.

commented

@ryantheleach imagine restore more 10gb of map x) by restart lol

commented

So it is whole map? Easy!

Have 2 levels configured, blue and green.

if blue is active, you can delete green and copy the updated map to green in the background. When it's time to swap, you simply switch to using green as your level in server.properties.

Once green is active, you can copy/upgrade blue in the background rolling back the changes.

When it's time to reset, change the level back to green.

Keep flip flopping as long as is needed.

(clearly this process is a little more complicated then this, with plugins storing data as configuration, but it should be fairly trivial with a working knowledge of bash/batch scripting).

This is a far easier solution then updating Creeper Heal to handle whole maps, I doubt it would even be possible to do so more efficiently, quickly, or less error prone then the above.


Of course, ignore everything I just said if it's not the whole map that needs rolling back, and just explosion damage. There's no way around that.