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:
@@ -1,59 +0,0 @@
|
|||||||
# 使用说明
|
|
||||||
|
|
||||||
## 数据文件夹授权
|
|
||||||
|
|
||||||
- 1、**必要操作:** 首次安装完成后,进入已安装应用界面,点击跳转数据目录,修改目录下的`data`文件夹为`1000`用户和用户组。
|
|
||||||
|
|
||||||
命令行修改则类似如下,路径按需修改:
|
|
||||||
```
|
|
||||||
chown -R 1000:1000 /opt/1panel/apps/local/palworld-server/palworld-server/data
|
|
||||||
```
|
|
||||||
|
|
||||||
- 2、回到已安装应用界面,重建应用。
|
|
||||||
|
|
||||||
# 原始相关
|
|
||||||
***
|
|
||||||
|
|
||||||
# palworld-docker
|
|
||||||
|
|
||||||
[](https://github.com/KagurazakaNyaa/palworld-docker/actions/workflows/update.yml)
|
|
||||||
[](https://github.com/KagurazakaNyaa/palworld-docker/actions/workflows/build.yml)
|
|
||||||

|
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
Palworld dedicated server with docker
|
|
||||||
|
|
||||||
## Environments
|
|
||||||
|
|
||||||
The variables in the table below affect the server's startup command, see <https://tech.palworldgame.com/dedicated-server-guide#settings> and <https://tech.palworldgame.com/community-server-guide>
|
|
||||||
| Variable | Describe | Default Values | Allowed Values |
|
|
||||||
|--------------------|-------------------------------------------------------------|----------------|----------------------|
|
|
||||||
| MAX_PLAYERS | Change the maximum number of participants on the server. | 32 | 1-32 |
|
|
||||||
| GAME_PORT | Change the port number used to listen to the server. | 8211 | 1024-65535 |
|
|
||||||
| ENABLE_MULTITHREAD | Improves performance in multi-threaded CPU environments. | true | true/false |
|
|
||||||
| IS_PUBLIC | Setup server as a community server. | false | true/false |
|
|
||||||
| PUBLIC_IP | If not specified, it will be detected automatically. | | all vaild ip address |
|
|
||||||
| PUBLIC_PORT | If not specified, it will be detected automatically. | | 1024-65535 |
|
|
||||||
| FORCE_UPDATE | Whether the server should be update each time start. | false | true/false |
|
|
||||||
|
|
||||||
The variables in the table below only valid during initialization, if you need to make it valid, please delete `/opt/palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini` and restart the container.
|
|
||||||
| Variable | Describe | Default Values | Allowed Values |
|
|
||||||
|--------------------|--------------------------|-------------------------|----------------|
|
|
||||||
| SERVER_NAME | Server name | Default Palworld Server | string |
|
|
||||||
| SERVER_DESC | Server description | Default Palworld Server | string |
|
|
||||||
| ADMIN_PASSWORD | AdminPassword | | string |
|
|
||||||
| SERVER_PASSWORD | Set the server password. | | string |
|
|
||||||
| RCON_ENABLED | Enable RCON | false | true/false |
|
|
||||||
| RCON_PORT | Port number for RCON | 25575 | 1024-65535 |
|
|
||||||
|
|
||||||
For balance changes, please directly modify `/opt/palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini`, please refer to <https://tech.palworldgame.com/optimize-game-balance>
|
|
||||||
|
|
||||||
## Volumes
|
|
||||||
|
|
||||||
|Path |Describe |
|
|
||||||
|--------------------------|----------------------|
|
|
||||||
|`/opt/palworld/Pal/Saved` |Game config and saves.|
|
|
||||||
|
|
||||||
NOTE: If you use bind instead of volume to mount, you need to manually change the volume owner to uid=1000.
|
|
||||||
In the case of the docker-compose.yml of the example, you need to execute `chown -R 1000:1000 ./data`
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# Palworld
|
||||||
|
|
||||||
|
**《幻兽帕鲁》** 是 **Pocketpair** 开发的一款开放世界生存制作游戏,游戏于 2023 年 11 月 02 日至 11 月 05 日进行了封闭网络测试,于 2024 年 01 月 18 日发行抢先体验版本。
|
||||||
|
|
||||||
|
游戏中,玩家可以在广阔的世界中收集神奇的生物“帕鲁”,派他们进行战斗、建造、做农活,工业生产等。
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
name: Palworld Dedicated Server (幻兽帕鲁)
|
name: Palworld
|
||||||
tags:
|
tags:
|
||||||
- 休闲游戏
|
- 休闲游戏
|
||||||
title: 幻兽帕鲁服务端
|
title: 幻兽帕鲁服务端
|
||||||
type: 休闲游戏
|
type: 休闲游戏
|
||||||
description: 幻兽帕鲁服务端
|
description: 幻兽帕鲁服务端
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
key: palworld-server
|
key: palworld
|
||||||
name: Palworld Dedicated Server (幻兽帕鲁)
|
name: Palworld
|
||||||
tags:
|
tags:
|
||||||
- Game
|
- Game
|
||||||
shortDescZh: 幻兽帕鲁服务端
|
shortDescZh: 幻兽帕鲁服务端
|
||||||
@@ -31,11 +31,11 @@ additionalProperties:
|
|||||||
labelZh: 是否启用 CPU 多线程优化 (true / false)
|
labelZh: 是否启用 CPU 多线程优化 (true / false)
|
||||||
required: true
|
required: true
|
||||||
type: text
|
type: text
|
||||||
- default: 'false'
|
- default: 'true'
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PUBLIC_SWITCH
|
envKey: PUBLIC_SWITCH
|
||||||
labelEn: Setup server as a community server (true / false)
|
labelEn: Setup server as a community server (true / false)
|
||||||
labelZh: 是否启将服务器设置为社区服务器 (true / false)
|
labelZh: 是否将服务器设置为社区服务器 (true / false)
|
||||||
required: true
|
required: true
|
||||||
type: text
|
type: text
|
||||||
- default: ''
|
- default: ''
|
||||||
@@ -47,7 +47,7 @@ additionalProperties:
|
|||||||
type: text
|
type: text
|
||||||
- default: ''
|
- default: ''
|
||||||
edit: true
|
edit: true
|
||||||
envKey: PUBLIC_PORT
|
envKey: PANEL_APP_PORT_PUBLIC
|
||||||
labelEn: PUBLIC PORT (If not specified, it will be detected automatically)
|
labelEn: PUBLIC PORT (If not specified, it will be detected automatically)
|
||||||
labelZh: 服务器端口 (留空自动检测)
|
labelZh: 服务器端口 (留空自动检测)
|
||||||
required: false
|
required: false
|
||||||
@@ -60,14 +60,14 @@ additionalProperties:
|
|||||||
labelZh: 是否每次启动都更新服务器 (true / false)
|
labelZh: 是否每次启动都更新服务器 (true / false)
|
||||||
required: true
|
required: true
|
||||||
type: text
|
type: text
|
||||||
- default: 'Default Palworld Server'
|
- default: '1Panel Palworld Server'
|
||||||
edit: true
|
edit: true
|
||||||
envKey: SERVER_NAME
|
envKey: SERVER_NAME
|
||||||
labelEn: Server name
|
labelEn: Server name
|
||||||
labelZh: 服务器名
|
labelZh: 服务器名
|
||||||
required: true
|
required: true
|
||||||
type: text
|
type: text
|
||||||
- default: 'Default Palworld Server'
|
- default: '1Panel Palworld Server'
|
||||||
edit: true
|
edit: true
|
||||||
envKey: SERVER_DESC
|
envKey: SERVER_DESC
|
||||||
labelEn: Server description
|
labelEn: Server description
|
||||||
+4
-5
@@ -1,6 +1,7 @@
|
|||||||
version: '3.9'
|
version: '3.9'
|
||||||
services:
|
services:
|
||||||
palworld-server:
|
palworld:
|
||||||
|
image: kagurazakanyaa/palworld:latest
|
||||||
container_name: ${CONTAINER_NAME}
|
container_name: ${CONTAINER_NAME}
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
@@ -9,15 +10,15 @@ services:
|
|||||||
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}/udp
|
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}/udp
|
||||||
- ${PANEL_APP_PORT_RCON}:${PANEL_APP_PORT_RCON}/tcp
|
- ${PANEL_APP_PORT_RCON}:${PANEL_APP_PORT_RCON}/tcp
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- ./data:/opt/palworld/Pal/Saved
|
- ./data:/opt/palworld/Pal/Saved
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
environment:
|
environment:
|
||||||
- GAME_PORT=${PANEL_APP_PORT_HTTP}
|
- GAME_PORT=${PANEL_APP_PORT_HTTP}
|
||||||
- MAX_PLAYERS=${MAX_PLAYERS}
|
- MAX_PLAYERS=${MAX_PLAYERS}
|
||||||
- ENABLE_MULTITHREAD=${MULTITHREAD_SWITCH}
|
- ENABLE_MULTITHREAD=${MULTITHREAD_SWITCH}
|
||||||
- IS_PUBLIC=${PUBLIC_SWITCH}
|
- IS_PUBLIC=${PUBLIC_SWITCH}
|
||||||
- PUBLIC_IP=${PUBLIC_IP}
|
- PUBLIC_IP=${PUBLIC_IP}
|
||||||
- PUBLIC_PORT=${PUBLIC_PORT}
|
- PUBLIC_PORT=${PANEL_APP_PORT_PUBLIC}
|
||||||
- FORCE_UPDATE=${UPDATE_SWITCH}
|
- FORCE_UPDATE=${UPDATE_SWITCH}
|
||||||
- SERVER_NAME=${SERVER_NAME}
|
- SERVER_NAME=${SERVER_NAME}
|
||||||
- SERVER_DESC=${SERVER_DESC}
|
- SERVER_DESC=${SERVER_DESC}
|
||||||
@@ -25,10 +26,8 @@ services:
|
|||||||
- SERVER_PASSWORD=${SERVER_PASSWORD}
|
- SERVER_PASSWORD=${SERVER_PASSWORD}
|
||||||
- RCON_ENABLED=${RCON_SWITCH}
|
- RCON_ENABLED=${RCON_SWITCH}
|
||||||
- RCON_PORT=${PANEL_APP_PORT_RCON}
|
- RCON_PORT=${PANEL_APP_PORT_RCON}
|
||||||
image: kagurazakanyaa/palworld:latest
|
|
||||||
labels:
|
labels:
|
||||||
createdBy: "Apps"
|
createdBy: "Apps"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
1panel-network:
|
1panel-network:
|
||||||
external: true
|
external: true
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
chown -R 1000:1000 data
|
||||||
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user