mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-06 04:32:43 +00:00
first working version
This commit is contained in:
13
scripts/start.sh
Normal file
13
scripts/start.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
STARTCOMMAND="./PalServer.sh -port ${PORT} -players ${PLAYERS}"
|
||||
|
||||
printf "\e[0;32m*****STARTING SERVER*****\e[0m"
|
||||
cd /palworld || exit
|
||||
|
||||
|
||||
if [ "${MULTITHREADING}" = true ]; then
|
||||
su steam -c "${STARTCOMMAND} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS"
|
||||
else
|
||||
su steam -c "${STARTCOMMAND}"
|
||||
fi
|
||||
Reference in New Issue
Block a user