Skip to content

Auto Purge, Regen and Auto Sell

FabioZumbi12 edited this page Aug 29, 2020 · 3 revisions

RedProtect can remove or put to seel regions where the leaders or admins don't join anymore on server based on out time. This can be enabled on configuration.

Purge Options:

This is the purge options:

purge {
    enabled=false
    # Names or UUIDs if in online mode, to bypass purge and regen.
    # *That default uuid its a random one and you can remove*
    ignore-regions-from-players=[
        FabioZumbi12
    ]
    regen {
        # If worldedit is installed, regen the region instead remove?
        enable=false
        # Regions with an area greater than this will be ignored.
        max-area-regen=500
        # Stop server on every x regions regenerated (if you is using a script to reboot your server)
        stop-server-every=-1
        # Enable whitelist when regenerating regions?
        whitelist-server-regen=true
    }
    # Remove regions where the leader not logged in for more than x days?
    remove-oldest=90
}

Purge option will remove the region based on the configured time. All items and builded blocks will be public ro removed/regenated after purge.
If regen is enabled, RedProtect will use WorldEdit to regen that region to world seed, including ores and dungeons, as its your original chunk state, including dungeons and ocean temples.


Sell options:

This is the auto sell options:

sell {
    enabled=false
    # Names or UUIDs if in online mode, to bypass purge and regen.
    # *That default uuid its a random one and you can remove*
    ignore-regions-from-players=[
        FabioZumbi12
    ]
    # Put to sell regions not visited by their leader after x days.
    sell-oldest=60
}

Sell option will put to sell regions and set the owner to #server#. The old owner of region cant get the region again and will not get the Money of region.