Skip to content

Commit

Permalink
extended fixes of pr #5
Browse files Browse the repository at this point in the history
  • Loading branch information
jammsen committed Jan 20, 2024
1 parent 4156711 commit 098f9e3
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ ENV TIMEZONE=Europe/Berlin \
DEBIAN_FRONTEND=noninteractive \
PUID=0 \
PGID=0 \
ALWAYS_UPDATE_ON_START=false \
GAME_PORT=8211 \
MAX_PLAYERS=16 \
ALWAYS_UPDATE_ON_START=true \
MAX_PLAYERS=32 \
MULTITHREAD_ENABLED=true \
COMMUNITY_SERVER=true \
PUBLIC_IP=10.0.0.1 \
PUBLIC_PORT=8211 \
SERVER_NAME= \
SERVER_PASSWORD= \
ADMIN_PASSWORD=
SERVER_NAME=jammsen-docker-generated-###RANDOM### \
SERVER_DESCRIPTION="Palworld-Dedicated-Server running in Docker by jammsen" \
SERVER_PASSWORD=serverPasswordHere \
ADMIN_PASSWORD=adminPasswordHere


VOLUME [ "/palworld" ]
Expand Down
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,18 @@ This includes a Palworld Dedicated Server based on Linux and Docker.
4. After first start, stop the server, setup your config at `game/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini` and start it again

## Environment-Variables
| Variable | Describe | Default Value | Allowed Value |
| ---------------------- | ------------------------------------------------------------------------------------------------- | ------------- | ------------- |
| ALWAYS_UPDATE_ON_START | Updates the server on startup | true | false/true |
| GAME_PORT | Game port of the server | 8211 | 1024-65535 |
| MAX_PLAYERS | Maximum amout of players | 32 | 1-32 |
| MULTITHREAD_ENABLED | Sets options for "Improved multi-threaded CPU performance" | true | false/true |
| COMMUNITY_SERVER | Sets the server to a "Community-Server", will appear in the list. Needs PUBLIC_IP and PUBLIC_PORT | true | false/true |
| PUBLIC_IP | Public ip, auto-detect if not specified, see COMMUNITY_SERVER | false | ip address |
| PUBLIC_PORT | Public port, auto-detect if not specified, see COMMUNITY_SERVER | false | 1024-65535 |
| Variable | Describe | Default Value | Allowed Value |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ | ------------- |
| ALWAYS_UPDATE_ON_START | Updates the server on startup | true | false/true |
| MAX_PLAYERS | Maximum amout of players | 32 | 1-32 |
| MULTITHREAD_ENABLED | Sets options for "Improved multi-threaded CPU performance" | true | false/true |
| COMMUNITY_SERVER | Sets the server to a "Community-Server". If true, the server will appear in the Community-Serverlist. Needs PUBLIC_IP and PUBLIC_PORT | true | false/true |
| PUBLIC_IP | Public ip, auto-detect if not specified, see COMMUNITY_SERVER | 10.0.0.1 | ip address |
| PUBLIC_PORT | Public port, auto-detect if not specified, see COMMUNITY_SERVER | 8211 | 1024-65535 |
| SERVER_NAME | Name of the server | jammsen-docker-generated-###RANDOM### | string |
| SERVER_DESCRIPTION | Desription of the server | Palworld-Dedicated-Server running in Docker by jammsen | string |
| SERVER_PASSWORD | Password of the server | serverPasswordHere | string |
| ADMIN_PASSWORD | Admin password of the server | adminPasswordHere | string |

Look at https://tech.palworldgame.com/optimize-game-balance for more information and config-settings in `game/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini`

Expand Down
16 changes: 8 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ services:
ports:
- "8211:8211/udp"
environment:
- ALWAYS_UPDATE_ON_START=false
- GAME_PORT=8211
- MAX_PLAYERS=16
- ALWAYS_UPDATE_ON_START=true
- MAX_PLAYERS=32
- MULTITHREAD_ENABLED=true
- COMMUNITY_SERVER=true
- PUBLIC_IP=
- PUBLIC_PORT=
- SERVER_NAME=
- SERVER_PASSWORD=
- ADMIN_PASSWORD=
- PUBLIC_IP=10.0.0.1
- PUBLIC_PORT=8211
- SERVER_NAME=jammsen-docker-generated-###RANDOM###
- SERVER_DESCRIPTION=Palworld-Dedicated-Server running in Docker by jammsen
- SERVER_PASSWORD=serverPasswordHere
- ADMIN_PASSWORD=adminPasswordHere
volumes:
- ./game:/palworld

0 comments on commit 098f9e3

Please sign in to comment.