Supported Games
support
for fast support join the support server Here
This plugin is a simple bridge, which splits the map save process in two locations. It does save the default file in your instance folder and does also save into a custom folder tree in your server instance directory under saves. This works like it did before it was changed to support only one file.
The folder holding the custom saves is: server/your_server_identity/saves. The files saved there could be named like that
Note If "SaveToOxideData" true maps will be saved in "/oxide/data/SaveMyMap"(same as default):
craggyisland.1024.1725106428.134.sav (<levelname>.<mapsize>.<mapseed>.134.sav)
Hint the "134" is the wipe number you can change to newest to keep saves
The plugin checks on server start/restart, where the last file was saved. It will override the use of the default map save, when the last logged save was a custom save and when the file is valid.
In normal cases, the server saves on shutdown/restart the map, which is then used to load again after restart. When the server would crash, and the last logged file was saved in the custom location, the plugin is able to check and load this custom location file.
By default, it uses a save interval of 20 minutes = 1200 seconds, and by default also saves every second save call as a custom save file.
Console Commands
smm.save-- Save a custom save to the destination foldersmm.loadmap force-- Load instant the latest original map save back into the map (kicks all online players)smm.loadfile last-- Load the last saved file (can be default or custom)smm.loadfile 0..#-- Load a custom save file by number (kicks all online players)smm.loadnamed <filename>-- Load any older save into the current map
Yes, its possible to do a live restore without the need to reboot; the server save procedure is able to work like that.
The plugin is able to load automatically the last saved custom file.
Configuration
{
"Settings": {
"allowOutOfDateSaves": false, // setting to true can load every older map-save
"callOnServerSave": true, // most plugins use the hook 'OnServerSave' for datasaving
"delayCallOnServerSave": 3, // will delay other plugins datasaving for x seconds
"enableLoadOverride": true, // setting to false would disable loading of custom saves on server start
"saveAfterLoadFile": true, // save right after manual savefile load
"saveCustomAfter": 1, // custom save after 'x' normal saves
"saveInterval": 1200, // seconds between every save action
"numberOfSaves": 10, // number of folders to hold
"SaveToOxideData": false // set true if you whant your maps to save in oxides data folder
}
}
saveCustomAfter can be also set to 0. This will save then on every save point in the custom location.
SaveToOxideData this setting is for server managers that wipe the full server folder
Support
The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.
Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.
Lincoln Developer

