DEV Community

Cover image for Create PalWorld server on Linux with docker
gameindie
gameindie

Posted on

Create PalWorld server on Linux with docker

Reference to creating-a-cheap-palworld-dedicated-server

In this article, will 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
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

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.
Enter fullscreen mode Exit fullscreen mode

Step 3: Check the Running Server

Ensure everything is working as expected by checking the container’s logs:

docker logs -f palworld-server
Enter fullscreen mode Exit fullscreen mode

Top comments (2)

Collapse
 
garmanrou profile image
Garmanrou • Edited

I find myself immersing deeply in vast worlds like those in Palworld. The game's enormous Palword Fast Travel Map, coupled with its efficient fast-travel system, lets me seamlessly traverse diverse landscapes and uncover hidden corners of the game. Each session turns into a grand exploration, where the sheer scale of the world offers both tranquility and excitement, making it easy to lose track of time as I delve into every nook and cranny. The combination of expansive terrain and quick navigation makes the experience both exhilarating and absorbing.

Collapse
 
codesmart_1 profile image
gameindie

i also love this game , i played 20+ hours at the first time :)