1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-27 06:44:58 +08:00
duxdyu e4204ac9fd fix: update Palworld and Palworld Server Tool settings (#2875)
* fix: update Palworld and Palworld Server Tool settings

1.Adjust the default version 1.2.2 documentation link on the Palworld installation instructions page to correspond to the appropriate mirror link, with added explanations for the mirror version.
2.Modify the Palworld docker-compose file and data configuration file to include port mapping for the new REST API feature and environment variables for the manual configuration file modification feature. Added server description configurations, and revised the port mapping logic.
3.Update the Palworld Server Tool's docker-compose file and data configuration file to include new features from the latest version. Adjusted the save path mapping for compatibility with server.

1. 将palworld安装说明页面的默认版本1.2.2对应的文档链接调整为对应镜像的链接,增加了对镜像版本的说明。
2. 修改palworld的docker-compose文件和data配置文件,加入新功能rest api的端口映射和手动修改配置文件功能的环境变量,增加了服务器描述的配置,修改了端口映射的逻辑。
3. 修改palworld-server-tool的docker-compose文件和data配置文件,加入最近版本的新功能,修改了存档路径的映射可以直接配套服务器使用。

* fix: Configuration Setting Optimization
2024-12-31 13:09:39 +08:00

171 lines
5.5 KiB
YAML

additionalProperties:
formFields:
- default: 8211
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: 25575
edit: true
envKey: PANEL_APP_PORT_RCON
labelEn: RCON Port
labelZh: RCON 端口
required: true
rule: paramPort
type: number
- default: 8212
edit: true
envKey: PANEL_APP_PORT_REST
labelEn: REST API Port
labelZh: REST API 端口
required: true
rule: paramPort
type: number
- default: 27015
edit: true
envKey: PANEL_APP_PORT_QUERY
labelEn: Query port used to communicate with Steam servers
labelZh: Query 端口 (用于与 Steam 服务器通信的查询端口)
required: true
rule: paramPort
type: number
- default: 32
edit: true
envKey: MAX_PLAYERS
labelEn: Maximum number of participants on the server
labelZh: 玩家数量限制
required: true
rule: paramPort
type: number
- default: 'true'
edit: true
envKey: MULTITHREAD_SWITCH
labelEn: Improves performance in multi-threaded CPU environments (true / false)
labelZh: 是否启用 CPU 多线程优化 (true / false)
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: 'false'
edit: true
envKey: PUBLIC_SWITCH
labelEn: Setup server as a community server (true / false)
labelZh: 是否将服务器设置为社区服务器 (true / false)
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: ''
edit: true
envKey: PUBLIC_IP
labelEn: Community server IP (If not specified, it will be detected automatically)
labelZh: 社区服务器 IP (留空自动检测)
required: false
type: text
- default: ''
edit: true
envKey: PUBLIC_PORT
labelEn: Community server PORT (If not specified, it will be detected automatically)
labelZh: 社区服务器端口 (留空自动检测)
required: false
rule: paramPort
type: text
- default: 'true'
edit: true
envKey: UPDATE_SWITCH
labelEn: Whether the server should be update each time start (true / false)
labelZh: 是否每次启动都更新服务器 (true / false)
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: 'false'
edit: true
envKey: ENABLE_PLAYER_LOGGING
labelEn: Enable players login/logout message (true / false)
labelZh: 玩家进入/离开服务器是否通知 (true / false)
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: 'false'
edit: true
envKey: DISABLE_GENERATE_SETTINGS
labelEn: Disable auto-generated configuration files (affects the settings below)
labelZh: 禁用自动生成配置文件(会影响下方配置项生效)
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: 'Default Palworld Server'
edit: true
envKey: SERVER_NAME
labelEn: Server name
labelZh: 服务器名
required: true
type: text
- default: ''
edit: true
envKey: SERVER_DESCRIPTION
labelEn: Server description
labelZh: 服务器描述
required: false
type: text
- default: palworld
edit: true
envKey: ADMIN_PASSWORD
labelEn: Admin password
labelZh: 管理员密码
random: true
required: true
type: text
- default: palworld
edit: true
envKey: SERVER_PASSWORD
labelEn: Server password
labelZh: 服务器密码
required: true
type: text
- default: 'true'
edit: true
envKey: RCON_SWITCH
labelEn: Enable RCON (true / false)
labelZh: 是否启用 RCON (true / false)
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: 'true'
edit: true
envKey: REST_SWITCH
labelEn: Enable REST API (true / false)
labelZh: 是否启用 REST API (true / false)
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"