mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-31 14:57:59 +00:00
Merge branch 'main' into main
This commit is contained in:
@@ -45,6 +45,7 @@ services:
|
|||||||
- MULTITHREADING=true
|
- MULTITHREADING=true
|
||||||
- RCON_ENABLED=true
|
- RCON_ENABLED=true
|
||||||
- RCON_PORT=25575
|
- RCON_PORT=25575
|
||||||
|
- TZ=UTC
|
||||||
- ADMIN_PASSWORD="adminPasswordHere"
|
- ADMIN_PASSWORD="adminPasswordHere"
|
||||||
- COMMUNITY=false # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
|
- COMMUNITY=false # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
|
||||||
# Enable the environment variables below if you have COMMUNITY=true
|
# Enable the environment variables below if you have COMMUNITY=true
|
||||||
@@ -71,6 +72,7 @@ docker run -d \
|
|||||||
-e MULTITHREADING=true \
|
-e MULTITHREADING=true \
|
||||||
-e RCON_ENABLED=true \
|
-e RCON_ENABLED=true \
|
||||||
-e RCON_PORT=25575 \
|
-e RCON_PORT=25575 \
|
||||||
|
-e TZ=UTC \
|
||||||
-e ADMIN_PASSWORD="adminPasswordHere" \
|
-e ADMIN_PASSWORD="adminPasswordHere" \
|
||||||
-e COMMUNITY=false \
|
-e COMMUNITY=false \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
@@ -96,6 +98,7 @@ It is highly recommended you set the following environment values before startin
|
|||||||
|
|
||||||
| Variable | Info | Default Values | Allowed Values |
|
| Variable | Info | Default Values | Allowed Values |
|
||||||
|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------|----------------|
|
|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------|----------------|
|
||||||
|
| TZ | Timezone used for time stamping backup server | UTC | See [TZ Identifiers](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#Time_Zone_abbreviations) |
|
||||||
| PLAYERS* | Max amount of players that are able to join the server | 16 | 1-31 |
|
| PLAYERS* | Max amount of players that are able to join the server | 16 | 1-31 |
|
||||||
| PORT* | UDP port that the server will expose | 8211 | 1024-65535 |
|
| PORT* | UDP port that the server will expose | 8211 | 1024-65535 |
|
||||||
| PUID* | The uid of the user the server should run as | 1000 | !0 |
|
| PUID* | The uid of the user the server should run as | 1000 | !0 |
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ services:
|
|||||||
- MULTITHREADING=true
|
- MULTITHREADING=true
|
||||||
- RCON_ENABLED=true
|
- RCON_ENABLED=true
|
||||||
- RCON_PORT=25575
|
- RCON_PORT=25575
|
||||||
|
- TZ=UTC
|
||||||
- ADMIN_PASSWORD="adminPasswordHere"
|
- ADMIN_PASSWORD="adminPasswordHere"
|
||||||
- COMMUNITY=false
|
- COMMUNITY=false
|
||||||
- BACKUP_ENABLED=true
|
- BACKUP_ENABLED=true
|
||||||
|
|||||||
@@ -13,4 +13,77 @@ data:
|
|||||||
COMMUNITY: "false" # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
|
COMMUNITY: "false" # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
|
||||||
# Enable the environment variables below if you have COMMUNITY=true
|
# Enable the environment variables below if you have COMMUNITY=true
|
||||||
# SERVER_PASSWORD: "yourServerPassword"
|
# SERVER_PASSWORD: "yourServerPassword"
|
||||||
SERVER_NAME: "Server_Name" # Note, it seems spaces are not supported, so use underlines.
|
SERVER_NAME: "Server_Name" # Note, it seems spaces are not supported, so use underlines.
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: palworld-settings
|
||||||
|
data:
|
||||||
|
PalWorldSettings.ini: >-
|
||||||
|
[/Script/Pal.PalGameWorldSettings]
|
||||||
|
|
||||||
|
OptionSettings=(
|
||||||
|
Difficulty=None,
|
||||||
|
DayTimeSpeedRate=1.000000,
|
||||||
|
NightTimeSpeedRate=1.000000,
|
||||||
|
ExpRate=1.000000,
|
||||||
|
PalCaptureRate=1.000000,
|
||||||
|
PalSpawnNumRate=1.000000,
|
||||||
|
PalDamageRateAttack=1.000000,
|
||||||
|
PalDamageRateDefense=1.000000,
|
||||||
|
PlayerDamageRateAttack=1.000000,
|
||||||
|
PlayerDamageRateDefense=1.000000,
|
||||||
|
PlayerStomachDecreaceRate=1.000000,
|
||||||
|
PlayerStaminaDecreaceRate=1.000000,
|
||||||
|
PlayerAutoHPRegeneRate=1.000000,
|
||||||
|
PlayerAutoHpRegeneRateInSleep=1.000000,
|
||||||
|
PalStomachDecreaceRate=1.000000,
|
||||||
|
PalStaminaDecreaceRate=1.000000,
|
||||||
|
PalAutoHPRegeneRate=1.000000,
|
||||||
|
PalAutoHpRegeneRateInSleep=1.000000,
|
||||||
|
BuildObjectDamageRate=1.000000,
|
||||||
|
BuildObjectDeteriorationDamageRate=1.000000,
|
||||||
|
CollectionDropRate=1.000000,
|
||||||
|
CollectionObjectHpRate=1.000000,
|
||||||
|
CollectionObjectRespawnSpeedRate=1.000000,
|
||||||
|
EnemyDropItemRate=1.000000,
|
||||||
|
DeathPenalty=All,
|
||||||
|
bEnablePlayerToPlayerDamage=False,
|
||||||
|
bEnableFriendlyFire=False,
|
||||||
|
bEnableInvaderEnemy=True,
|
||||||
|
bActiveUNKO=False,
|
||||||
|
bEnableAimAssistPad=True,
|
||||||
|
bEnableAimAssistKeyboard=False,
|
||||||
|
DropItemMaxNum=3000,
|
||||||
|
DropItemMaxNum_UNKO=100,
|
||||||
|
BaseCampMaxNum=128,
|
||||||
|
BaseCampWorkerMaxNum=15,
|
||||||
|
DropItemAliveMaxHours=1.000000,
|
||||||
|
bAutoResetGuildNoOnlinePlayers=False,
|
||||||
|
AutoResetGuildTimeNoOnlinePlayers=72.000000,
|
||||||
|
GuildPlayerMaxNum=20,
|
||||||
|
PalEggDefaultHatchingTime=72.000000,
|
||||||
|
WorkSpeedRate=1.000000,
|
||||||
|
bIsMultiplay=False,
|
||||||
|
bIsPvP=False,
|
||||||
|
bCanPickupOtherGuildDeathPenaltyDrop=False,
|
||||||
|
bEnableNonLoginPenalty=True,
|
||||||
|
bEnableFastTravel=True,
|
||||||
|
bIsStartLocationSelectByMap=True,
|
||||||
|
bExistPlayerAfterLogout=False,
|
||||||
|
bEnableDefenseOtherGuildPlayer=False,
|
||||||
|
CoopPlayerMaxNum=4,
|
||||||
|
ServerPlayerMaxNum=32,
|
||||||
|
ServerName="Default Palworld Server",
|
||||||
|
ServerDescription="",
|
||||||
|
AdminPassword="",
|
||||||
|
ServerPassword="",
|
||||||
|
PublicPort=8211,
|
||||||
|
PublicIP="",
|
||||||
|
RCONEnabled=False,
|
||||||
|
RCONPort=25575,
|
||||||
|
Region="",
|
||||||
|
bUseAuth=True,
|
||||||
|
BanListURL="https://api.palworldgame.com/api/banlist.txt"
|
||||||
|
)
|
||||||
@@ -20,10 +20,10 @@ spec:
|
|||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8211
|
- containerPort: 8211
|
||||||
name: 8211-palworld
|
name: server
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
- containerPort: 27015
|
- containerPort: 27015
|
||||||
name: 27015-palworld
|
name: query
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
env:
|
env:
|
||||||
- name: ADMIN_PASSWORD
|
- name: ADMIN_PASSWORD
|
||||||
@@ -37,7 +37,13 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /palworld
|
- mountPath: /palworld
|
||||||
name: datadir
|
name: datadir
|
||||||
|
- name: palworld-settings
|
||||||
|
mountPath: /palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini
|
||||||
|
subPath: PalWorldSettings.ini
|
||||||
volumes:
|
volumes:
|
||||||
- name: datadir
|
- name: datadir
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: palworld-server-datadir
|
claimName: palworld-server-datadir
|
||||||
|
- name: palworld-settings
|
||||||
|
configMap:
|
||||||
|
name: palworld-settings
|
||||||
@@ -6,14 +6,14 @@ metadata:
|
|||||||
name: palworld-server
|
name: palworld-server
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: 8211-palworld
|
- name: server
|
||||||
port: 8211
|
port: 8211
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
targetPort: 8211-palworld
|
targetPort: server
|
||||||
- name: 27015-palworld
|
- name: query
|
||||||
port: 27015
|
port: 27015
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
targetPort: 27015-palworld
|
targetPort: query
|
||||||
selector:
|
selector:
|
||||||
app: palworld-server
|
app: palworld-server
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
Reference in New Issue
Block a user