From 7471a5975469f50158fcea7719a501be551d6a7e Mon Sep 17 00:00:00 2001 From: Phil Date: Mon, 21 Dec 2015 18:33:40 +0100 Subject: [PATCH] enhanced mod-support 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 --- Arma3/arma3server | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Arma3/arma3server b/Arma3/arma3server index 93a4256c8..e39534122 100644 --- a/Arma3/arma3server +++ b/Arma3/arma3server @@ -28,7 +28,7 @@ ip="0.0.0.0" updateonstart="off" fn_parms(){ -parms="-netlog -ip=${ip} -cfg=${networkcfgfullpath} -config=${servercfgfullpath} -mod=${mods}" +parms="-netlog -ip=${ip} -cfg=${networkcfgfullpath} -config=${servercfgfullpath} -mod=${mods} -servermod=${servermods} -autoinit -loadmissiontomemory" } # ARMA 3 Modules @@ -38,6 +38,7 @@ parms="-netlog -ip=${ip} -cfg=${networkcfgfullpath} -config=${servercfgfullpath} # mods/\@CBA_A3\;mods/\@task_force_radio # and chmod modules directories to 775 mods="" +servermods="" #### Advanced Variables ####