support
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 folder
- smm.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
The plugin is able to load automatically the last saved custom file.
Configuration
The settings and options can be configured in the SaveMyMap file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.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