AutoWipe Module
Introducing Carbon's AutoWipe module, designed with automation to be as helpful as it can to managing your Server wipes.
Config
Here's an up to date description about all of the config values, what they mean and how they're used.
Full & Map Wipe Configs
Config definitions for a full wipe type and a map wipe. These events happen after a new server start where a new wipe is detected.
Maps
It's a list of map URLs. If marked as temporary, when they're picked from the list, they will get removed. Basically a one-time map pick.
Wipes
The base definition of a wipe.
WipeName is an unused value and its sole purpose is to identify the wipes in the config.
Commands is a list of commands which execute after the server was initialized, ideally used to let players know that a new wipe is available before restarting.
MapBrowserName is the custom name of your map which shows up in the server browser. Keep empty for default behavior.
MapUrl is the wipe's map URL. Keep empty for procedural mode (map size and seed are used), set it with a custom map URL or name it "POOL" if you want for a random map from the MapPool to be used for said wipe.
MapSize is only used when MapUrl is empty/not set, when procedural mode is activated.
ServerSeed is the same as MapSize.
WipeType or Type, is the wipe type which can be 0 (full wipe) or 1 (map wipe). Depending on this, when wipes happen, events defined in the previous Full & Map Wipe configs will happen.
Temp means that once true, the wipe configuration that got picked as the new wipe will be removed from the list - it's a one-time wipe.
Cron is the Cron expression of when the Wipe configuration should be applied. If this condition is met, all Commands defined in this wipe, will be ran while the server is running. Do the announcements and restarts there. Next boot will apply this wipe configuration accordingly.
Commands
They're minimal and straightforward to quickly configure the module. Otherwise update the config directly in carbon/modules/AutoWipe/config.json
then run c.reloadmodule AutoWipe
.
autowipe.wipes
: Prints all available wipes present in the Wipes config property.autowipe.delete
: Deletes an existent wipe present in the Wipes config property.autowipe.add
: Adds a new wipe to the list.autowipe.maps
: Prints all available map urls present in the MapPool config property.autowipe.deletemap
: Deletes an existent map url present in the MapPool config property.autowipe.addmap
: Adds a new map url to the list. (Syntax eg. autowipe.addmap "MapUrl")
Last updated