Tags: Autosaver, autosave, auto saver, auto save, saver
Autosaver v3 is completely reworked than last Autosaver versions.
FeaturesToggle your autosaver anytime!
Timestamps! Know when your autosaver is doing something.
Change the speed and number of bricks to save per tick of your autosaver! (NeatSaving feature can affect this)
Load bricks from the autosave folder!
Get reports in the console!
Cool centerprint progress!
Show elapsed time when nothing happens.
Save your autosaver with a name!
Auto-delete old files feature. This is capable of deleting your old autosave files. This is off by default because it may not work properly, especially on Linux and Mac because I have never tested on those with this feature. (Seems to be working though, but I recommend being careful with this) - This will only delete saves in your autosaver folder, and will only delete names starting with "Autosaver - ". If you name the autosave something else, this will avoid deleting it.
Neat saving! This is off by default because it can cause lag after hitting a number of bricks.
Why does this lag? The server creates a list and adds them, and sorts them based on their distance from the ground. This feature is only good to make your build load from the ground and up in a nice way. If you have a lot of bricks make sure you either disable this, or turn on your
NeatSaveProtect preference.
PreferencesThere are a total of 22 preferences. This should support a few preferences mod.
Info:
Preference name (Default value/Max amount) -
DescriptionEnable (true) -
Enables the autosaver.Announce (true) -
Announces any autosaver stuff into the chat. Console will always echo and log the time of the autosaver messages.Announce sounds (false) -
Plays sounds with some messages, must have "Announce" enabled.Announce save name (true) -
Announces what the save is being named to, must have "Announce" enabled.Centerprint progress (false) -
Centerprints progress of saving.Report (false) -
Reports how many events and brickgroups were saved, this is kind of pointless unless you want to know what is going on. This will always echo in the console.Show time stamps (false) -
Show time stamps on every autosaver message (console always shows time stamps). This could create more clutter so this is off by default.Show time elapsed (true) -
Show time elapsed on messages that do now show time (such as related saves not showing, save errors, etc). Time elapsed is also shown in centerprint (if enabled).Interval (5/1440) -
Interval to activate autosaving (minutes).Directory (saves/Autosaver/) -
Location to save the files. Make sure to always have a "/" at the end or you will mess saving up.Ownership (true) -
Save individual ownership?Events (true) -
Save events? (Brick name is included on this)Overwrite on change (true) -
Painting a brick (color and fx), changing lights/emitters/items/name/etc will trigger the autosaver to actually save the build. Changing events will not trigger this preference.Save related brickcount (false) -
Always save even though nothing has changed? I don't know why anyone would enable this but it's there in case someone wants to have multiple saves. If you are on a budget of saving storage I do not recommend enabling this.Save after bootloading (false) -
Save the bricks right after they are loaded, if this is disabled it will just schedule saving instead. Note: This may not work if you have changed the gamemode without restarting the server completely.Load save on start (false) -
Loads the last autosaved build on server startEnable neat saving (false) -
Neat saving is basically using a list and sort it by getting the distance from the ground. This makes it so when you load the autosave bricks load from bottom to top. If this is disabled it is possible have bricks loading everywhere. If you are autosaving with tons of bricks (+80,000), I suggest disabling this to reduce lag when it sorts the distance.Neat saving auto-off (true) -
Turn off neat saving if there are too many bricks to handle (detected before autosaving bricks).Chunk saving count (4000/20000) -
Autosaver introduces a chunk saver which basically saves a bunch of bricks at once at every save tick. Going over a certain amount such as 4500 can possibly lag the server, this also varies on the tick preference and what exactly is going on in the server. If you do not like chunk saving I recommend to have this preference around 1-25.Remove unwanted tempbricks (false) -
Attempt to remove any tempbricks that do not have an existing player.Save tick MS (1/1000) -
This is the amount of time in MS to run another save loop.Max autosaves (-1/1000) (Disabled if 0 or less) -
Amout of autosave files to keep - I have not tested this on a Mac or Linux, so this will be off by default.CommandsSuper Admin/ToggleAutosaver
/ToggleSaving
/ToggleSaver
/ToggleAS
/TogAS
/AutosaveBricks (autosave name)
/ASB
/AutoloadBricksID (bl_id) (autosave name)
/AutoloadBricksID
/LoadAutosaveID
/ABID
/LoadAutoSave (autosave name)
/LAS
/ALB
/AutoloadBricks
/AutoloadSave
Note #1: Trust your super admins as they can abuse these commands by making so many saves in your autosave folder.
Note #2: This can create a lot of saves, I recommend deleting old ones after a while. You can test the auto-delete feature.
Please report any bugs I may have missed.
Support_AutoSaver (Version 3)