Coder Social home page Coder Social logo

hmes98318 / palworld-docker Goto Github PK

View Code? Open in Web Editor NEW
35.0 2.0 6.0 39 KB

Docker container that can easily run Palworld dedicated server

Home Page: https://hub.docker.com/r/hmes98318/palworld-docker

License: GNU General Public License v3.0

Dockerfile 11.32% Shell 88.68%
dedicated-server palworld palworld-dedicated-server arm64

palworld-docker's Introduction

palworld-docker

English | 繁體中文

Docker container that can easily run Palworld dedicated server
View on Docker Hub

Environments

Variable Describe Default Values Allowed Values
CHECK_UPDATE_ON_START Whether to automatically check for game updates every time you start it true true/false
PORT The server listening port 8211 0-65535
PLAYERS Max number of players 16 1-32
MULTITHREAD Whether to enable multithreading true true/false
ADMIN_PASSWORD Server admin password None string
SERVER_NAME The name of your server string string
SERVER_DESC Description of your server string string
SERVER_PASSWORD The password of your server None string
COMMUNITY Whether the server is appears in the community server list (please set SERVER_PASSWORD) false true/false
COMMUNITY_IP The IP of the community server None string
COMMUNITY_PORT The port of the community server 8211 0-65535
RCON_ENABLED Enable RCON for your server true true/false
RCON_PORT RCON port number 25575 0-65535

The first startup will download the Palworld server file, which may take a while (depends on your network condition)

Volumes

Container mount point Description
/home/steam/palworld/Pal/Saved Game config and saves

You must modify the permissions of your host's mounting directory, otherwise the container cannot read it.
(ex: chmod -R 777 ./palSaved)

Game settings

The game settings are in the local directory ./palSaved/Config/LinuxServer/PalWorldSettings.ini (it will be generated after running it for the first time).
Please refer to DefaultPalWorldSettings.ini and official documents for modification.

Docker Compose

Refer to this docker-compose.yml example file

version: '3.8'

services:
  palserver:
    image: hmes98318/palworld-docker:latest
    container_name: palserver
    restart: always
    environment:
      TZ: "Asia/Taipei"
      CHECK_UPDATE_ON_START: true
      PORT: 8211
      PLAYERS: 32
      MULTITHREAD: true
      ADMIN_PASSWORD: "youradminpassword"
      SERVER_NAME: "Palworld Server"
      SERVER_DESC: "Palworld Server Description"
      SERVER_PASSWORD: ""
      # COMMUNITY: false  # Enable this option if you want your server to appear in the community servers list, please set SERVER_PASSWORD
      # COMMUNITY_IP: 
      # COMMUNITY_PORT: 8211
      RCON_ENABLED: false
      RCON_PORT: 25575
    volumes:
      - ./palSaved:/home/steam/palworld/Pal/Saved
    ports:
      - 8211:8211/udp

Docker run

docker run -d \
  --name palserver \
  --restart always \
  -e TZ="Asia/Taipei" \
  -e CHECK_UPDATE_ON_START=true \
  -e PORT=8211 \
  -e PLAYERS=32 \
  -e MULTITHREAD=true \
  -e ADMIN_PASSWORD="youradminpassword" \
  -e SERVER_NAME="Palworld Server" \
  -e SERVER_DESC="Palworld Server Description" \
  -e SERVER_PASSWORD="" \
  -e RCON_ENABLED=false \
  -e RCON_PORT=25575 \
  -v ./palSaved:/home/steam/palworld/Pal/Saved \
  -p 8211:8211/udp \
  hmes98318/palworld-docker:latest

palworld-docker's People

Contributors

hmes98318 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

palworld-docker's Issues

palserver | /home/steam/palworld/entrypoint.sh: line 84: /home/steam/palworld/PalServer.sh: No such file or directory

Hello, i got an error when i start the container

palserver | /home/steam/palworld/entrypoint.sh: line 84: /home/steam/palworld/PalServer.sh: No such file or directory

palserver  | PalServer-docker: v0.1.2
palserver  | Build ID: 0
palserver  | Author: hmes98318
palserver  | GitHub: https://github.com/hmes98318/palworld-docker
palserver  | ----------------------------------------
palserver  | OS: "Debian GNU/Linux 11 (bullseye)"
palserver  | CPU:  AMD Ryzen 9 5950X 16-Core Processor
palserver  | RAM: 7.31GB/7.96GB
palserver  | Disk Space: 25G/30G
palserver  | Startup Time: Sun Jan 21 23:16:57 CET 2024
palserver  | ----------------------------------------
palserver  | -> Installing the server...
palserver  | tid(53) burning pthread_key_t == 0 so we never use it
palserver  | Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
palserver  | Logging directory: '/home/steam/Steam/logs'
palserver  | [  0%] Checking for available updates...
palserver  | [----] Verifying installation...
palserver  | Steam Console Client (c) Valve Corporation - version 1705108307
palserver  | -- type 'quit' to exit --
palserver  | Loading Steam API...OK
palserver  | 
palserver  | Connecting anonymously to Steam Public...OK
palserver  | Waiting for client config...OK
palserver  | Waiting for user info...OK
palserver  |  Update state (0x0) unknown, progress: 0.00 (0 / 0)
palserver  | Error! App '2394010' state is 0x202 after update job.
palserver  | ----------------------------------------
palserver  | Startup Parameters: 
palserver  |  /home/steam/palworld/PalServer.sh -port=8211 -players=16 -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS  
palserver  | ----------------------------------------
palserver  | -> Starting the PalServer...
palserver  | /home/steam/palworld/entrypoint.sh: line 84: /home/steam/palworld/PalServer.sh: No such file or directory

I make

chmod -R 777 ./palSaved

Thanks for creating this Docker container though :)

Docker or server auto restart

Server usually disconnected player after 15 min . When I check docker container uptime it also show that uptime is 1 hours or 30 min ago maybe docker or game have issues ?

I am using VPS 8 core 16GB

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.