1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-04-01 08:36:38 +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

116 lines
3.2 KiB
YAML

additionalProperties:
formFields:
- default: '8080'
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: 'WEB_PASSWORD'
edit: true
envKey: WEB_PASSWORD
labelEn: WEB Password
labelZh: Web 界面的管理员模式密码
required: true
type: text
- default: '60'
edit: true
envKey: TASK_SYNC_INTERVAL
labelEn: Sync interval
labelZh: 请求服务器同步玩家在线数据的间隔
required: true
type: number
- default: 'false'
edit: true
envKey: TASK_PLAYER_LOGGING
labelEn: Enable players login/logout message
labelZh: 玩家进入/离开服务器是否通知
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: '玩家 {username} 加入服务器!\n当前在线人数: {online_num}'
edit: true
envKey: TASK_PLAYER_LOGIN_MESSAGE
labelEn: Login message
labelZh: 玩家进入服务器消息
required: false
type: text
- default: '玩家 {username} 离开服务器!\n当前在线人数: {online_num}'
edit: true
envKey: TASK_PLAYER_LOGOUT_MESSAGE
labelEn: Logout message
labelZh: 玩家离开服务器消息
required: false
type: text
- default: '<palworld容器名或ip>:25575'
edit: true
envKey: RCON_ADDRESS
labelEn: RCON Address
labelZh: RCON地址
required: true
type: text
- default: 'http://<palworld容器名或ip>:8212'
edit: true
envKey: REST_ADDRESS
labelEn: REST API Address
labelZh: REST API地址
required: true
type: text
- default: 'ADMIN_PASSWORD'
edit: true
envKey: ADMIN_PASSWORD
labelEn: ADMIN Password
labelZh: 服务器配置文件中的 AdminPassword
required: true
type: text
- default: 'false'
edit: true
envKey: RCON_USE_BASE64
labelEn: Enable PalGuard Base64 RCON
labelZh: 是否开启PalGuard的Base64 RCON
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"
- default: '/opt/1panel/apps/palworld/palworld/data/Pal/Saved'
edit: true
envKey: PALWORLD_SAVE_PATH
labelEn: Palworld External Save Path
labelZh: 帕鲁服务器外部存档路径
required: true
type: text
- default: '600'
edit: true
envKey: SAVE_SYNC_INTERVAL
labelEn: Save Sync Interval
labelZh: 存档同步间隔
required: true
type: number
- default: '0'
edit: true
envKey: SAVE_BACKUP_INTERVAL
labelEn: Save Backup Interval
labelZh: 存档备份间隔
required: true
type: number
- default: 'false'
edit: true
envKey: MANAGE_KICK_NON_WHITELIST
labelEn: Automatically kick non-whitelisted players
labelZh: 非白名单玩家自动踢出
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"