Create PalWorld server on Linux
Reference to creating-a-cheap-palworld-dedicated-server
In this article, we’ll guide you through the steps to set up a PalWorld dedicated server.
Prerequisites
A Linux-based system
• Docker installed on your system
• Basic knowledge of command-line operations
Step 1: Download the Docker Image
docker pull thijsvanloef/palworld-server-docker:latest
Step 2: Configure and Run the Docker Container
run the PalWorld server container using the following command:
docker run -d \
--name palworld-server \
-p 8211:8211/udp \
-p 27015:27015/udp \
-v ./palworld:/palworld/ \
-e PUID=1000 \
-e PGID=1000 \
-e PORT=8211 \
-e PLAYERS=16 \
-e MULTITHREADING=true \
-e RCON_ENABLED=true \
-e RCON_PORT=25575 \
-e TZ=UTC \
-e ADMIN_PASSWORD="adminPasswordHere" \
-e SERVER_PASSWORD="worldofpals" \
-e COMMUNITY=false \
-e SERVER_NAME="palworld-server-docker by Thijs van Loef" \
-e SERVER_DESCRIPTION="palworld-server-docker by Thijs van Loef" \
--restart unless-stopped \
--stop-timeout 30 \
thijsvanloef/palworld-server-docker:latest
Params explain
• -d runs the server in detached mode, freeing up your terminal.
• --name palworld-server assigns a distinct name to the container.
• -p 8211:8211/udp and -p 27015:27015/udp map the necessary UDP ports from the container to your host machine.
• -v ./palworld:/palworld/ sets a volume linking a host system directory to a corresponding directory within the container.
• The --restart unless-stopped flag ensures the server resumes operation after unexpected shutdowns or reboots.
• --stop-timeout 30 is a grace period for the server to shut down cleanly before Docker forces it to stop.
Step 3: Check the Running Server
Ensure everything is working as expected by checking the container’s logs:
docker logs -f palworld-server