Skip to content

caleb-devops/docker-palworld-dedicated-server

 
 

Repository files navigation

Docker - Palworld Dedicated Server

Build-Status master Build-Status develop Docker Pulls Docker Stars Image Size Discord

Tip

Do you want to chat with the community?

Join us on Discord

This Docker image includes a Palworld Dedicated Server based on Linux and Docker.


Table of Contents

How to ask for support for this Docker image

If you need support for this Docker image:

  • Feel free to create a new issue.
    • You can reference other issues if you're experiencing a similar problem via #issue-number.
  • Follow the instructions and answer the questions of people who are willing to help you.
  • Once your issue is resolved, please close it and please consider giving this repo and the Docker-Hub repository a star.
  • Please note that any issue that has been inactive for a week will be closed due to inactivity.

Please avoid:

  • Reusing or necroing issues. This can lead to spam and may harass participants who didn't agree to be part of your new problem.
  • If this happens, we reserve the right to lock the issue or delete the comments, you have been warned!

Requirements

To run this Docker image, you need a basic understanding of Docker, Docker-Compose, Linux, and Networking (Port-Forwarding/NAT).

Minimum system requirements

Resource 1-8 players 8-12+ players
CPU 4 CPU-Cores @ High GHz 6-8 CPU Cores @ High GHz
RAM 8GB RAM Base + 2GB per player 12GB RAM Base + 2GB per player
Storage 30GB 30GB+

Getting started

  1. Create a game sub-directory on your Docker-Node in your game-server-directory (Example: /srv/palworld). Give it full ownership with chown -R 1000:1000 game/ or permissions with chmod 777 game.
  2. Set up Port-Forwarding or NAT for the ports in the Docker-Compose file.
  3. Pull the latest version of the image with docker pull jammsen/palworld-dedicated-server:latest.
  4. Download the docker-compose.yml and default.env.
  5. Set up the docker-compose.yml and default.env to your liking.
    1. Refer to the Environment-Variables section for more information.
  6. Start the container via docker-compose up -d && docker-compose logs -f.
    1. Watch the log, if no errors occur you can close the logs with ctrl+c.
  7. Now have fun and happy gaming!

Environment variables

See this file for the documentation

Docker-Compose examples

Gameserver with RCON-CLI-Tool

See example docker-compose.yml.

Run RCON commands

Open a shell into your container via docker exec -ti palworld-dedicated-server bash, then you can run commands against the gameserver via the command rcon or rconcli

$:~/steamcmd$ rcon showplayers
name,playeruid,steamid
$:~/steamcmd$ rcon info
Welcome to Pal Server[v0.1.3.0] jammsen-docker-generated-20384
$:~/steamcmd$ rcon save
Complete Save

Important: Please research the RCON-Commands on the official source: https://tech.palworldgame.com/server-commands

Webhook integration

To enable webhook integration, you need to set the following environment variables in the default.env:

WEBHOOK_ENABLED=true
WEBHOOK_URL="https://your.webhook.url"

After that the server should send messages in a Discord-Compatible way to your webhook.

Supported events

  • Server starting
  • Server stopped

FAQ

How can I use the interactive console in Portainer with this image?

You can run this `docker exec -ti palworld-dedicated-server bash' or you could navigate to the "Stacks" tab in Portainer, select your stack, and click on the container name. Then click on the "Exec console" button.

How can I look into the config of my Palworld container?

You can run this docker exec -ti palworld-dedicated-server cat /palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini and it will show you the config inside the container.

Im seeing S_API errors in my logs when I start the container?

Errors like [S_API FAIL] Tried to access Steam interface SteamUser021 before SteamAPI_Init succeeded. are safe to ignore.

Im using Apple silicon type of hardware, can I run this?

You can try to insert in your docker-compose file this parameter platform: linux/amd64 at the palworld service. This isnt a special fix for Apple silicon, but to run on other than x86 hosts. The support for arm exists only by enforcing x86 emulation, if that isnt to host already. Rosetta is doing the translation/emulation.

I have changed the BaseCampWorkerMaxNum settings, why are changes un-affected on the server?

It is a confirm bug, that changing BaseCampWorkerMaxNum in the PalWorldSettings.ini has no affect on the server. There are tools out there to help with this, like this one: https://github.com/legoduded/palworld-worldoptions

PLEASE NOTE that adding WorldOption.sav will breaking PalWorldSetting.ini and if that happens all the other settings won't be changeable anymore unless that specific tool is used everytime.

Planned features in the future

  • Feel free to suggest something

Software used

About

Docker container to easily provision and manage Palworld Dedicated Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 84.1%
  • Dockerfile 15.9%