Compare commits
No commits in common. 'e00fd8679a0d5d3176f4cc67552c2bb3105a0b99' and '1bbb3f90a8e62237cbca400280de7d70dc68a9fa' have entirely different histories.
e00fd8679a
...
1bbb3f90a8
@ -1,12 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
steamcmd +@sSteamCmdForcePlatformType linux +force_install_dir /hdd/data/steamcmd/vallheim +login anonymous +app_update 896660 public validate +quit
|
||||||
#Configuration
|
|
||||||
conf_file="valheim-server.ini"
|
|
||||||
|
|
||||||
# No need to change anything under this line
|
|
||||||
|
|
||||||
command -v steamcmd >/dev/null 2>&1 || { echo >&2 "Please install steamcmd to the path"; exit 128; }
|
|
||||||
|
|
||||||
. ./lib_ini.sh
|
|
||||||
server_path=$(ini_read "$conf_file" "server" "srvpath")
|
|
||||||
steamcmd +@sSteamCmdForcePlatformType linux +force_install_dir "$server_path" +login anonymous +app_update 896660 public validate +quit
|
|
||||||
|
|||||||
@ -1,15 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
cd /hdd/data/steamcmd/vallheim
|
||||||
#Configuration
|
screen -dmS log-parser ./log-parser.sh
|
||||||
conf_file="valheim-server.ini"
|
|
||||||
|
|
||||||
# No need to change anything under this line
|
|
||||||
|
|
||||||
# source config parser
|
|
||||||
. ./lib_ini.sh
|
|
||||||
server_path=$(ini_read "$conf_file" "server" "srvpath")
|
|
||||||
|
|
||||||
cd "$server_path"
|
|
||||||
|
|
||||||
screen -dmS valheim-log-parser ./log-parser.sh
|
|
||||||
|
|
||||||
|
|||||||
@ -1,9 +0,0 @@
|
|||||||
[server]
|
|
||||||
srvpath=/home/valheim-server
|
|
||||||
srvname="<server name>"
|
|
||||||
srvpass="<passwd>"
|
|
||||||
srvmoded="true"
|
|
||||||
|
|
||||||
[parser]
|
|
||||||
botnr="+420xxxyyyyyyyyy"
|
|
||||||
targnr="420xxxzzzzzzzzz"
|
|
||||||
@ -1,35 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#Configuration
|
|
||||||
conf_file="valheim-server.ini"
|
|
||||||
|
|
||||||
# No need to change anything under this line
|
|
||||||
|
|
||||||
# source config parser
|
|
||||||
. ./lib_ini.sh
|
|
||||||
|
|
||||||
server_path=$(ini_read "$conf_file" "server" "srvpath")
|
|
||||||
server_name=$(ini_read "$conf_file" "server" "srvname")
|
|
||||||
server_pass=$(ini_read "$conf_file" "server" "srvpass")
|
|
||||||
server_moded=$(ini_read "$conf_file" "server" "srvmoded")
|
|
||||||
|
|
||||||
cd "$server_path"
|
|
||||||
|
|
||||||
if [[ "$server_moded" == "true" ]]; then
|
|
||||||
# source modding engine
|
|
||||||
. ./bepinex_conf.inc
|
|
||||||
fi
|
|
||||||
|
|
||||||
# standard startup routine
|
|
||||||
export templdpath=$LD_LIBRARY_PATH
|
export templdpath=$LD_LIBRARY_PATH
|
||||||
export LD_LIBRARY_PATH=./linux64:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=./linux64:$LD_LIBRARY_PATH
|
||||||
export SteamAppID=892970
|
export SteamAppID=892970
|
||||||
|
|
||||||
# Creating dirs
|
GAMENAME="Pitrisskovo Hall of Lame"
|
||||||
mkdir -p "$server_path/savedir"
|
BASEDIR="/hdd/data/steamcmd/vallheim/"
|
||||||
mkdir -p "$server_path/logs"
|
|
||||||
|
|
||||||
echo "Starting server..."
|
echo "Starting server..."
|
||||||
./valheim_server.x86_64 -name "$server_name" -port 2456 -nographics -batchmode -world "$server_name" -password "$server_pass" -public 1 -crossplay -savedir $server_path/savedir -logFile $server_path/logs/valheim.log -backups 8 -modifier raids none -modifier DeathPenalty casual -modifier Combat veryeasy
|
./valheim_server.x86_64 -name "$GAMENAME" -port 2456 -nographics -batchmode -world "GAMENAME" -password "<PASSWD>" -public 1 -crossplay -savedir $BASEDIR/savedir -logFile $BASEDIR/logs/valheim.log -backups 8 -modifier raids none -modifier DeathPenalty casual -modifier Combat veryeasy
|
||||||
export LD_LIBRARY_PATH=$templdpath
|
export LD_LIBRARY_PATH=$templdpath
|
||||||
|
|
||||||
|
|||||||
@ -1,14 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
cd /hdd/data/steamcmd/vallheim
|
||||||
#Configuration
|
|
||||||
conf_file="valheim-server.ini"
|
|
||||||
|
|
||||||
# No need to change anything under this line
|
|
||||||
# source config parser
|
|
||||||
. ./lib_ini.sh
|
|
||||||
|
|
||||||
server_path=$(ini_read "$conf_file" "server" "srvpath")
|
|
||||||
|
|
||||||
cd "$server_path"
|
|
||||||
screen -dmS valheim-server ./valheim-svc.sh
|
screen -dmS valheim-server ./valheim-svc.sh
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in new issue