How to Set Up a Dedicated Palworld Server Using Docker
Hey there, fellow Palworld enthusiasts! Ready to dive into the world of dedicated servers? I remember when I first set up my own Palworld server – it was a game-changer! Let’s walk through this together, step by step, and get you up and running in no time.
Quick Answer
To set up a dedicated Palworld server using Docker, pull the Docker image, configure and run the container, adjust settings, start the server, set up port forwarding, and connect to your new server. We’ll cover each step in detail below.
Why Use Docker for Your Palworld Server?
Before we jump in, let’s talk about why Docker is so great for this:
- It’s super easy: Just a few commands, and you’re good to go!
- Keeps things tidy: Docker makes sure everything runs smoothly, no matter what computer you’re using.
- Tweak it your way: Want to change game modes or settings? Docker makes it a breeze!
What You’ll Need
- Docker and Docker Compose on your computer
- Basic know-how of using the command line
- A bit of patience (trust me, it’s worth it!)
Let’s Get Started!
Step 1: Grab the Docker Image
First things first, we need to download the Palworld server Docker image. It’s like getting the blueprint for our server. Open up your command line and type:
docker pull thijsvanloef/palworld-server-docker:latest
This might take a minute, so maybe grab a snack while you wait!
Step 2: Set Up and Run the Container
Now, let’s set up our server container. This is where the magic happens! Copy and paste this 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="yourAdminPassword" \
-e SERVER_PASSWORD="yourServerPassword" \
-e COMMUNITY=false \
-e SERVER_NAME="My Awesome Palworld Server" \
-e SERVER_DESCRIPTION="Come join the fun!" \
--restart unless-stopped \
--stop-timeout 30 \
thijsvanloef/palworld-server-docker:latest
Don’t forget to change the passwords and server name to something unique!
Step 3: Tweak Your Settings
After the first run, your server will create a settings file. Let’s make it truly yours:
sudo nano /opt/stacks/palworld/data/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
Here, you can adjust things like how often Pals spawn. When you’re done, hit CTRL + X, then Y, and ENTER to save and exit.
Step 4: Fire Up the Server
Time to bring your server to life! Type this command:
docker-compose up -d
This runs your server in the background, so you can close the command line without shutting it down.
Step 5: Open the Gates (Port Forwarding)
Want your friends to join? We need to set up port forwarding. It’s like creating a doorway for your server:
- Log into your router’s settings
- Find the port forwarding section
- Add these rules:
- Rule 1: Name it “Palworld Query Port”, use your IPv4 address, and set port range to 27015-27015 (UDP)
- Rule 2: Name it “Palworld Game Port”, use your IPv4 address, and set port range to 8211-8211 (UDP)
- Save your changes
Step 6: Join Your New World
You’re all set! Here’s how to connect:
- Start Palworld
- Go to the main menu
- Click on Dedicated Server, then Join
- If you’re on the same computer, use “localhost” as the address
- For friends, they’ll need your public IP (find it at www.whatismyip.com)
Keeping Your Server Running Smooth
Updating Your Server
Want to change things up? Edit your docker-compose.yml
file, then restart:
docker-compose restart
Backing Up Your World
Don’t lose your progress! Back up your game world:
docker exec palworld-server backup
Check your backup with:
ls -l /opt/stacks/palworld/data/backups
Remote Control with RCON
RCON lets you manage your server from afar. It’s super handy for quick changes or checks!
Wrapping Up
And there you have it! Your very own Palworld server, ready for adventure. I still remember the first time I saw my friends join my server – it was awesome! Now it’s your turn to create some unforgettable moments.
Got questions? Hit me up in the comments. And don’t forget to share your coolest Palworld server stories!
Happy Pal-ing, everyone!
Leave a Reply