-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server save script improvements #3192
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see the previous version opening the server back. Did it make sense? Was there a reason for it?
There is no reason to be able to clean if you will shutdown to restart it. |
how is this script supposed to save server when it doesn't have also while we're at it, why there is no /save talkaction? |
I agree with @DSpeichert I always thought this was a mistake, I had to create my own custom event for this purpose, since the current script is useless, it is not useful at all However, what you propose fixes what did not work before 🤩 👏 |
It still doesn't actually call saveServer as @Zbizu pointed out. Do we want to keep that behavior with closing the server or use the saveServer function instead? |
kicking players is ok - they get saved before everything else so no rollback will happen in case of crash on save scenario however, Clean can be executed last, after everything was saved. |
Now the map will not be cleared before restarting the server.