I am not a coder, so can anyone help me?
I would like to make a few modifications to the wonderful SmoothRestarter plugin.
I want to change it so that the "server.save" is always done just before a restart.
Can I just add "server.save(null)" to the restart function below?
[why].
I just ran into a situation where "server.saveinterval" did not work.
Everyday when I restart the server, the world is rolled back for quite some time.
I decided to use the Timed Execute plugin to run world.save, based on a past forum post.
(https://umod.org/community/rust/25023-server-seems-to-not-be-saving-rolls-back?page=1)
However, I would like to get a little closer to perfection.
void RestartNow()
{
Instance.KickAll();
server.save(null);
Global.quit(null);
}