Browse Source

Updating paths and install script

pull/4633/head
Stephan Schaffner 12 months ago
parent
commit
c55bd13ea5
  1. 8
      lgsm/config-default/config-lgsm/xntserver/_default.cfg
  2. 2
      lgsm/modules/install_server_files.sh
  3. 8
      lgsm/modules/update_xnt.sh

8
lgsm/config-default/config-lgsm/xntserver/_default.cfg

@ -12,7 +12,7 @@
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
# List of game types and mutators: https://docs.linuxgsm.com/game-servers/unreal-tournament-3
startparameters="-userdir ${serverfiles}/${selfname}"
startparameters="-userdir ${serverfiles}/Xonotic/${selfname}"
#### LinuxGSM Settings ####
@ -140,10 +140,10 @@ glibc="2.3.2"
# Edit with care
## Game Server Directories
systemdir="${serverfiles}"
executabledir="${serverfiles}"
systemdir="${serverfiles}/Xonotic/"
executabledir="${serverfiles}/Xonotic/"
executable="./xonotic-linux64-dedicated"
servercfgdir="${serverfiles}/${selfname}"
servercfgdir="${serverfiles}/Xonotic/${selfname}"
servercfg="server.cfg"
## Backup Directory

2
lgsm/modules/install_server_files.sh

@ -256,7 +256,7 @@ elif [ "${shortname}" == "ut99" ]; then
update_ut99.sh
elif [ "${shortname}" == "xnt" ]; then
fn_install_server_files
update_xnt.sh
bash update_xnt.sh
elif [ -z "${appid}" ] || [ "${shortname}" == "ahl" ] || [ "${shortname}" == "bb" ] || [ "${shortname}" == "q4" ] || [ "${shortname}" == "ns" ] || [ "${shortname}" == "sfc" ] || [ "${shortname}" == "ts" ] || [ "${shortname}" == "vs" ] || [ "${shortname}" == "zmr" ]; then
if [ "${shortname}" == "ut" ]; then
install_eula.sh

8
lgsm/modules/update_xnt.sh

@ -1,14 +1,14 @@
#!/bin/bash
# LinuxGSM install_steamcmd.sh module
# LinuxGSM update_xnt module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Downloads SteamCMD on install.
# Description: Install Xonotic Default Config
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
echo -e ""
echo -e "${bold}${lightyellow}Installing Xonotic${default}"
fn_messages_separator
mkdir -p "${serverfiles}/${selfname}/data"
cp "${serverfiles}/server/server.cfg ${serverfiles}/${selfname}/data/server.cfg"
mkdir -p "${serverfiles}/Xonotic/${selfname}/data"
cp "${serverfiles}/Xonotic/server/server.cfg ${serverfiles}/Xonotic/${selfname}/data/server.cfg"

Loading…
Cancel
Save