Browse Source
feat(arkserver): add altsavedirectoryname to allow custom save location (#2948)
pull/2950/head
Daniel Gibbs
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
lgsm/config-default/config-lgsm/arkserver/_default.cfg
|
|
@ -15,11 +15,12 @@ queryport="27015" |
|
|
|
rconport="27020" |
|
|
|
# Default Map: TheIsland, Ragnarok, CrystalIsles, Aberration_P, ScorchedEarth_P |
|
|
|
defaultmap="TheIsland" |
|
|
|
altsavedirectoryname="${defaultmap}" |
|
|
|
maxplayers="70" |
|
|
|
|
|
|
|
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
|
|
|
fn_parms(){ |
|
|
|
parms="${defaultmap}?AltSaveDirectoryName=${defaultmap}?listen?MultiHome=${ip}?MaxPlayers=${maxplayers}?QueryPort=${queryport}?RCONPort=${rconport}?Port=${port} -automanagedmods -crossplay -PublicIPForEpic=${ip}" |
|
|
|
parms="${defaultmap}?AltSaveDirectoryName=${altsavedirectoryname}?listen?MultiHome=${ip}?MaxPlayers=${maxplayers}?QueryPort=${queryport}?RCONPort=${rconport}?Port=${port} -automanagedmods -crossplay -PublicIPForEpic=${ip}" |
|
|
|
} |
|
|
|
|
|
|
|
#### LinuxGSM Settings #### |
|
|
|