mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
feat: 优化 Palworld 安装包
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Palworld
|
||||
|
||||
**《幻兽帕鲁》** 是 **Pocketpair** 开发的一款开放世界生存制作游戏,游戏于 2023 年 11 月 02 日至 11 月 05 日进行了封闭网络测试,于 2024 年 01 月 18 日发行抢先体验版本。
|
||||
|
||||
游戏中,玩家可以在广阔的世界中收集神奇的生物“帕鲁”,派他们进行战斗、建造、做农活,工业生产等。
|
||||
@@ -0,0 +1,20 @@
|
||||
name: Palworld
|
||||
tags:
|
||||
- 休闲游戏
|
||||
title: 幻兽帕鲁服务端
|
||||
type: 休闲游戏
|
||||
description: 幻兽帕鲁服务端
|
||||
additionalProperties:
|
||||
key: palworld
|
||||
name: Palworld
|
||||
tags:
|
||||
- Game
|
||||
shortDescZh: 幻兽帕鲁服务端
|
||||
shortDescEn: Palworld Dedicated Server (幻兽帕鲁)
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://hub.docker.com/r/kagurazakanyaa/palworld
|
||||
github: https://github.com/KagurazakaNyaa/palworld-docker
|
||||
document: https://github.com/KagurazakaNyaa/palworld-docker
|
||||
@@ -0,0 +1,100 @@
|
||||
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: 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: text
|
||||
- default: 'true'
|
||||
edit: true
|
||||
envKey: PUBLIC_SWITCH
|
||||
labelEn: Setup server as a community server (true / false)
|
||||
labelZh: 是否将服务器设置为社区服务器 (true / false)
|
||||
required: true
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: PUBLIC_IP
|
||||
labelEn: PUBLIC IP (If not specified, it will be detected automatically)
|
||||
labelZh: 服务器 IP (留空自动检测)
|
||||
required: false
|
||||
type: text
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_PUBLIC
|
||||
labelEn: PUBLIC PORT (If not specified, it will be detected automatically)
|
||||
labelZh: 服务器端口 (留空自动检测)
|
||||
required: false
|
||||
rule: paramPort
|
||||
type: text
|
||||
- default: 'false'
|
||||
edit: true
|
||||
envKey: UPDATE_SWITCH
|
||||
labelEn: Whether the server should be update each time start (true / false)
|
||||
labelZh: 是否每次启动都更新服务器 (true / false)
|
||||
required: true
|
||||
type: text
|
||||
- default: '1Panel Palworld Server'
|
||||
edit: true
|
||||
envKey: SERVER_NAME
|
||||
labelEn: Server name
|
||||
labelZh: 服务器名
|
||||
required: true
|
||||
type: text
|
||||
- default: '1Panel Palworld Server'
|
||||
edit: true
|
||||
envKey: SERVER_DESC
|
||||
labelEn: Server description
|
||||
labelZh: 服务器说明
|
||||
required: true
|
||||
type: text
|
||||
- default: palworld
|
||||
edit: true
|
||||
envKey: ADMIN_PASSWORD
|
||||
labelEn: Admin password
|
||||
labelZh: 管理员密码
|
||||
random: true
|
||||
required: false
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: ''
|
||||
edit: true
|
||||
envKey: SERVER_PASSWORD
|
||||
labelEn: Server password
|
||||
labelZh: 服务器密码
|
||||
required: false
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: 'false'
|
||||
edit: true
|
||||
envKey: RCON_SWITCH
|
||||
labelEn: Enable RCON (true / false)
|
||||
labelZh: 是否启用 RCON (true / false)
|
||||
required: true
|
||||
type: text
|
||||
@@ -0,0 +1,33 @@
|
||||
version: '3.9'
|
||||
services:
|
||||
palworld:
|
||||
image: kagurazakanyaa/palworld:latest
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}/udp
|
||||
- ${PANEL_APP_PORT_RCON}:${PANEL_APP_PORT_RCON}/tcp
|
||||
volumes:
|
||||
- ./data:/opt/palworld/Pal/Saved
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- GAME_PORT=${PANEL_APP_PORT_HTTP}
|
||||
- MAX_PLAYERS=${MAX_PLAYERS}
|
||||
- ENABLE_MULTITHREAD=${MULTITHREAD_SWITCH}
|
||||
- IS_PUBLIC=${PUBLIC_SWITCH}
|
||||
- PUBLIC_IP=${PUBLIC_IP}
|
||||
- PUBLIC_PORT=${PANEL_APP_PORT_PUBLIC}
|
||||
- FORCE_UPDATE=${UPDATE_SWITCH}
|
||||
- SERVER_NAME=${SERVER_NAME}
|
||||
- SERVER_DESC=${SERVER_DESC}
|
||||
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
||||
- SERVER_PASSWORD=${SERVER_PASSWORD}
|
||||
- RCON_ENABLED=${RCON_SWITCH}
|
||||
- RCON_PORT=${PANEL_APP_PORT_RCON}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
chown -R 1000:1000 data
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user