Chunk purging plugin

Discussion in 'Plugin Requests' started by MithrandirCraft, Jun 18, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    MithrandirCraft

    (Petition request still on, HELP still needed)

    This plugin would:

    · Remove all (non protected by plugins) chunk files, directly from the world map region file directory whith one simple command.
    · Respect the chunks and areas claimed or protected (by not deleting them) by basic plugins such as: Factions, GriefPrevention & WorldBorder... and maybe adding compatibility whith other plugins in the future which integrate some sort of protection or land claiming system.
    · Maybe include a progressive chunk deletion feature which would delete inactive chunks at set intervals
    · Maybe include a security folder for deleted chunks backup, In both maintainance removals, and progressive removals.

    Similar, but not available for use, broken, or not exactly adequate for the purpose plugins:

    ·
    WorldBeautifier (Inactive developer still "scamming" people 7$ for his broken Spigot resource. Se 4 ur selves.) <This project has recently been closed
    · Massiverestore (No available downloads. Source is 100% private and exclusive for Massivecraft server. Selfish.)
    · WorldBorder (The world trimming feature does indeed get rid of all the chunks outside the determined radius
    of choice, but it won't respect claimed lands. I've sent a request for this but still no answer.)

    The many uses of this plugin:

    ·
    Maintain your worlds always nice looking (Especially greefed worlds)
    ·Reduce disk space consuption (ssd disk space is expensive now a days.)
    ·Enhance server performance. (What doesn't exist can't cause lag.)
     
    Last edited: Jul 9, 2015
  2. Offline

    timtower Administrator Administrator Moderator

    @MithrandirCraft HumanityWorldRegen, link in my signature, not the same as your request but close.
    It will try to regenerate chunks when the amount of player made blocks is low enough.
     
  3. Offline

    MithrandirCraft

    @timtower
    Hey, thank you for your suggestion. I'll take a look at it even though it provably doesn't suit my own needs :)

    Does your plugin actually DELETE the chunk files which later regenerate when someone comes near them? Or does it recreate the chunk according to the seed?

    EDIT by Timtower: merged posts
     
    Last edited: Jun 19, 2015
  4. Offline

    timtower Administrator Administrator Moderator

  5. Offline

    MithrandirCraft

    I need the chunk files deleted. Would be great if it did so.
     
  6. Offline

    timtower Administrator Administrator Moderator

    It isn't doing that. Why do you need them removed?
     
  7. Offline

    MithrandirCraft

    Reduce ssd disk space usage. Chunks are one of the main reasons why I'm having to pay more for more space.
    Also, my large maps always get corrupt after a certain ammount of chunks exist. If I could just remove the inactive ones directly from the region folder that would be great. Unloading them isn't enough, neither is regenerating usefull.
    Large maps are also very heavy during backups.
     
  8. Only way to do this would be to integrate to each plugin. As there are many of these types, simply saying "other plugins which integrate some sort of protection" simply won't do. We can't do them all.
     
  9. Offline

    timtower Administrator Administrator Moderator

    @MithrandirCraft Added a config value.
    This plugin isn't looking at protection of any kind. Keep that in mind.
    Usage on own responsibility.
    When the delete fails then it will delete the chunk data on server stop. Players could already have build there by then. Not responsible for that.
     
  10. Offline

    MithrandirCraft

    I am well aware that "Other Plugins" is not enough specification.
    Doing them all is simply impossible. I'm just trying to give this plugin some general use for other administrators, I'm not selfish enough in order to just tell you to do those three because those are the three plugins I use on my server.

    Still though, those three would be quite enough for such a plugin, being the most commonly used. Factions, GriefPrevention & World Guard.

    @timtower 's method may just be allright if it deletes chunks, it isn't compatible whith other plugins, but it still considers the ammount of player blocks in areas.
     
  11. Offline

    timtower Administrator Administrator Moderator

  12. Offline

    MithrandirCraft

    Your plugin seems to work only whith one world at a time? Can I set more than one?
    I also can't see any config option for chunk file deletion.
     
  13. Offline

    timtower Administrator Administrator Moderator

    No, it only works with 1 world at the time. Just increase the layers if you want it to go faster.
    And did you redownload? It is the delete variable.
     
  14. Offline

    MithrandirCraft

    I must admit, this isn't going to be enough. I need a faster chunk purging method during maintainance.

    Nice plugin though, thanks @timtower :) You also have some other interesting plugins there.
     
  15. Offline

    timtower Administrator Administrator Moderator

    @MithrandirCraft I made it slower to not freeze the server.
    Set the ticks low and the layers high.
     
  16. Offline

    MithrandirCraft

    Anyway, sobs aside, (resumed rewriting.)

    So your plugin can basically be usefull for my fast maintainance chunk purging needs.

    But still, I fear your method for respecting player buildings may not be enough. I will still test it localhosted though.

    I am surprised such a usefull and basic cleaning plugin as I requested still doesn't exist.
    I still think someone should make such a plugin whith more features.
     
  17. Offline

    timtower Administrator Administrator Moderator

    @MithrandirCraft Making one that respects buildings would require it to log all block breaks / places.
    Not something very useful when it is put in after months of work.
    Not to mention temporary buildings / mines.
     
  18. Offline

    MithrandirCraft

    @timtower You said this: "It will try to regenerate chunks when the amount of player made blocks is low enough". Could you please explain some more about this? I imagine you are meaning that it will check for blocks such as "bricks" but will consider grass a natural block even if placed by a player.

    If so, this pile of unclaimed crap would never get deleted, because there are too many crafted wooden blocks and cobblestone:

    [​IMG]

    The fact that you can only target regeneration one world at a time also kills my very soul, but it's understandable.

    Your plugin is nice and simple, it looks great, but I need more features in such a plugin or my server will need new maps in a year.
     
    Last edited: Jun 28, 2015
  19. Offline

    timtower Administrator Administrator Moderator

    @MithrandirCraft There is a txt file in the plugin folder (forgot the file name)
    There is a list of materials and their humanity level, make it higher to let the plugin know: this is a player made thing.
    Lower it to tell that it is a worldgen feature.
    It will make that list when you first load the plugin, all values are the same, even has non-blocks in it I believe
     
  20. Offline

    MithrandirCraft

    BUMP - More specific plugin relative to this thread is still needed.
     
  21. Offline

    MithrandirCraft

    BUMP
     
    Last edited: Jul 11, 2015
  22. Offline

    MithrandirCraft

    BUMP
     
    Last edited by a moderator: Jul 13, 2015
  23. Offline

    MithrandirCraft

  24. Offline

    MithrandirCraft

  25. Offline

    MithrandirCraft

  26. Offline

    MithrandirCraft

  27. Offline

    MithrandirCraft

Thread Status:
Not open for further replies.

Share This Page