diff --git a/tools/arkmanager b/tools/arkmanager index 229bf04..450f7ce 100755 --- a/tools/arkmanager +++ b/tools/arkmanager @@ -212,6 +212,11 @@ checkConfig() { done fi + # Warn if mod_branch=Linux + if [ "$mod_branch" == "Linux" -a -z "$nowarnmodbranch" ]; then + echo -e "[" "$YELLOW" "WARN" "$NORMAL" "]" "\tmod_branch is set to Linux. Linux mods are known to cause the server to crash. It is suggested you set mod_branch to Windows." + fi + # Service configuration # logdir if [ ! -w "$logdir" ] ; then @@ -1198,7 +1203,7 @@ isModUpdateNeeded(){ local modid=$1 local modsrcdir="$steamcmdroot/steamapps/workshop/content/$mod_appid/$modid" local moddestdir="$arkserverroot/ShooterGame/Content/Mods/$modid" - local modbranch="${mod_branch:-Linux}" + local modbranch="${mod_branch:-Windows}" for varname in "${!mod_branch_@}"; do if [ "mod_branch_$modid" == "$varname" ]; then