arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
678 stars 143 forks source link

Ark Autosaveinterval Confirmation #1200

Closed Haidies-AU closed 2 years ago

Haidies-AU commented 2 years ago

I use the following cronjob to save all instances every 20 minutes, works a treat.

/20 /usr/local/bin/arkmanager --cronjob broadcast @all "World Save Commencing, you may experience some lag or rubber banding" >/dev/null 2>&1 /20 sleep 10; /usr/local/bin/arkmanager --cronjob saveworld @all --args -- >/dev/null 2>&1

I also have in my gus.ini AutoSavePeriodMinutes=20.000000

Why do i feel like im actually saving each instance twice every 20 minutes?

klightspeed commented 2 years ago

The autosave would save the world every 20 minutes from when the server started. I don't know if the autosave keeps running when nobody is logged on - some servers will essentially enter a paused state when nobody is logged on.

Haidies-AU commented 2 years ago

so i am actually saving twice. Always thought the saves were a bit TOO laggy. Is there any way to disable the games auto save and keep the cronjob instead. or is just a case of set the games autosave to 999 and leave the cronjob to do its thing every 20

klightspeed commented 2 years ago

https://ark.fandom.com/wiki/Server_configuration suggests 9000000 (about 17 years) will effectively disable auto-save, but any value over 1440 (1 day) should do the trick if you restart daily.