Ability to opt in to different branches of a steamgame, e.g. iwillbackupmysave branch from Project Zomboid. To us this you have to add a variable named "branch" to your gameserverscript.
After we started the server with the new password we should reset the ts3serverpass variable
otherwise it would start the server again in new password mode.
Fixes https://github.com/dgibbs64/linuxgsm/issues/685
Tickrate needs to be lowered in order to be able to handle a large amount of players.
Default tickrate is 66.66, but the -tickrate commnand will round numbers to the lower integer. So i'll default at 66 and not -the more accurate- 67 to not worry anyone with a "non standard" value.
For the +r_hunkalloclightmaps 0, it fixes the hunk overflow crash on server startup when using maps with too much lights (and there are a lot of them). It changes the way lights are stored in RAM, the 0 mode (default one a few years ago, and still default one on clients) can handle a way larger amount of lights, but a theoretically a bit slower way. I noticed no difference, so it's a good thing to fix it by default.
I checked the default value, it's 4, not 2. A value of 2 is causing issue with physics while running complex builds' physics, a value of 4 fixes it.
To check the default value, input gmod_physiterations into your gmod console
gmod_physiterations
"gmod_physiterations" = "2" (def. 4)