added parameters. descriptions taken from: https://community.bistudio.com/wiki/Arma_3_Startup_Parameters
-servermod
Loads the specified sub-folders for different server-side (not broadcasted to clients) mods. Separated by semi-colons. Absolute path and multiple stacked folders are possible.
-autoinit:
Automatically initialize mission just like first client does. Note: Server config file (server.cfg) must contain Persistent=1; , if it's 0 autoInit skips.
-loadmissiontomemory:
Server will load mission into memory on first client downloading it. Then it keeps it pre-processed pre-cached in memory for next clients, saving some server CPU cycles
I useful feature for developers.
This will enable a log to be created of everything that ran when
executing a command. It uses the set command.
When you run a command a file dev-debug.log is created and will output
set -x
SteamCMD will run before updates once to ensure that it works.
This will make sure that if steamguard is required it will list the
code.
Also if dependencies are missing it will also fail.
if failure script will exit
Modified from @jaredballou pull request. Now uses curl as it better
handles errors.
Can now select different repo and branch if needed. This is very useful
for development.