feat:优化palworld-server

This commit is contained in:
okxlin 2024-01-24 17:15:00 +08:00
parent ce615dde30
commit ba661d2f04
6 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@ MAX_PLAYERS="32"
MULTITHREAD_SWITCH="true"
PUBLIC_SWITCH="false"
PUBLIC_IP=""
PUBLIC_PORT=""
PANEL_APP_PORT_PUBLIC=""
UPDATE_SWITCH="true"
SERVER_NAME="Default Palworld Server"
ADMIN_PASSWORD="palworld"

View File

@ -50,7 +50,7 @@ additionalProperties:
edit: true
envKey: PUBLIC_SWITCH
labelEn: Setup server as a community server (true / false)
labelZh: 是否将服务器设置为社区服务器 (true / false)
labelZh: 是否将服务器设置为社区服务器 (true / false)
required: true
type: text
- default: ''
@ -62,7 +62,7 @@ additionalProperties:
type: text
- default: ''
edit: true
envKey: PUBLIC_PORT
envKey: PANEL_APP_PORT_PUBLIC
labelEn: PUBLIC PORT (If not specified, it will be detected automatically)
labelZh: 服务器端口 (留空自动检测)
required: false

View File

@ -19,7 +19,7 @@ services:
- MULTITHREADING=${MULTITHREAD_SWITCH}
- COMMUNITY=${PUBLIC_SWITCH}
- PUBLIC_IP=${PUBLIC_IP}
- PUBLIC_PORT=${PUBLIC_PORT}
- PUBLIC_PORT=${PANEL_APP_PORT_PUBLIC}
- UPDATE_ON_BOOT=${UPDATE_SWITCH}
- SERVER_NAME=${SERVER_NAME}
- ADMIN_PASSWORD=${ADMIN_PASSWORD}

View File

@ -6,7 +6,7 @@ MAX_PLAYERS="32"
MULTITHREAD_SWITCH="true"
PUBLIC_SWITCH="false"
PUBLIC_IP=""
PUBLIC_PORT=""
PANEL_APP_PORT_PUBLIC=""
UPDATE_SWITCH="false"
SERVER_NAME="Default Palworld Server"
SERVER_DESC="Default Palworld Server"

View File

@ -42,7 +42,7 @@ additionalProperties:
edit: true
envKey: PUBLIC_SWITCH
labelEn: Setup server as a community server (true / false)
labelZh: 是否将服务器设置为社区服务器 (true / false)
labelZh: 是否将服务器设置为社区服务器 (true / false)
required: true
type: text
- default: ''
@ -54,7 +54,7 @@ additionalProperties:
type: text
- default: ''
edit: true
envKey: PUBLIC_PORT
envKey: PANEL_APP_PORT_PUBLIC
labelEn: PUBLIC PORT (If not specified, it will be detected automatically)
labelZh: 服务器端口 (留空自动检测)
required: false

View File

@ -17,7 +17,7 @@ services:
- ENABLE_MULTITHREAD=${MULTITHREAD_SWITCH}
- IS_PUBLIC=${PUBLIC_SWITCH}
- PUBLIC_IP=${PUBLIC_IP}
- PUBLIC_PORT=${PUBLIC_PORT}
- PUBLIC_PORT=${PANEL_APP_PORT_PUBLIC}
- FORCE_UPDATE=${UPDATE_SWITCH}
- SERVER_NAME=${SERVER_NAME}
- SERVER_DESC=${SERVER_DESC}