Skip to content

Commit

Permalink
partial fix part five
Browse files Browse the repository at this point in the history
  • Loading branch information
jammsen committed Jan 19, 2024
1 parent 9cece17 commit 968f50a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions servermanager.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

GAME_PATH="/palworld/"
GAME_PATH="/palworld"

function installServer() {
# force a fresh install of all
Expand All @@ -25,7 +25,6 @@ function startServer() {
mkdir -p ${GAME_PATH}/Pal/Saved/Config/LinuxServer
fi
curl -o ${GAME_PATH}/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini https://raw.githubusercontent.com/jammsen/docker-palworld-dedicated-server/master/PalWorldSettings.ini
# wget -qO ${GAME_PATH}/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini https://raw.githubusercontent.com/jammsen/docker-palworld-dedicated-server/master/PalWorldSettings.ini
RAND_VALUE=$RANDOM
echo "Servername is now jammsen-docker-generated-$RAND_VALUE"
sed -i -e "s/###RANDOM###/$RAND_VALUE/g" ${GAME_PATH}/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
Expand Down

0 comments on commit 968f50a

Please sign in to comment.