mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 14:56:58 +08:00
feat:添加几个游戏 (#837)
* feat:添加mcsmanager-daemon * feat:添加mcsmanager-web * feat:添加palworld-server
This commit is contained in:
parent
7422835c35
commit
659c2a6839
10
apps/mcsmanager-daemon/3.4.0/data.yml
Normal file
10
apps/mcsmanager-daemon/3.4.0/data.yml
Normal file
@ -0,0 +1,10 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40057
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
19
apps/mcsmanager-daemon/3.4.0/docker-compose.yml
Normal file
19
apps/mcsmanager-daemon/3.4.0/docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
version: '3'
|
||||
services:
|
||||
mcsm-daemon:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:24444"
|
||||
volumes:
|
||||
- ./data:/opt/mcsmanager/daemon/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
image: alisaqaq/mcsmanager-daemon:3.4.0
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
244
apps/mcsmanager-daemon/README.md
Normal file
244
apps/mcsmanager-daemon/README.md
Normal file
@ -0,0 +1,244 @@
|
||||
<img src="https://public-link.oss-cn-shenzhen.aliyuncs.com/mcsm_picture/logo.png" alt="MCSManagerLogo.png" width="510px" />
|
||||
|
||||
<br />
|
||||
|
||||
[![Status](https://img.shields.io/badge/npm-v6.14.15-blue.svg)](https://www.npmjs.com/)
|
||||
[![Status](https://img.shields.io/badge/node-v14.17.6-blue.svg)](https://nodejs.org/en/download/)
|
||||
[![Status](https://img.shields.io/badge/License-Apache%202.0-red.svg)](https://github.com/MCSManager)
|
||||
|
||||
[官方网站](http://mcsmanager.com/) | [使用文档](https://docs.mcsmanager.com/) | [团队主页](https://github.com/MCSManager) | [面板端项目](https://github.com/MCSManager/MCSManager) | [网页前端项目](https://github.com/MCSManager/UI) | [守护进程项目](https://github.com/MCSManager/Daemon)
|
||||
|
||||
|
||||
中文 QQ 群:https://jq.qq.com/?_wv=1027&k=Pgl9ScGw
|
||||
|
||||
中文 TG 群:https://t.me/MCSManager_dev
|
||||
|
||||
爱发电赞助:https://afdian.net/a/mcsmanager
|
||||
|
||||
<br />
|
||||
|
||||
## 这是什么?
|
||||
|
||||
|
||||
MCSManager 面板(简称:MCSM 面板)是一款开源,分布式,轻量级,快速部署,支持大部分游戏服务端和控制台程序的管理面板
|
||||
|
||||
<br />
|
||||
|
||||
## 软件特性
|
||||
|
||||
软件在 Minecraft 和其他游戏社区内中已有一定的流行程度,它可以帮助你集中管理多个物理服务器,动态在任何主机上创建游戏服务端,并且提供安全可靠的多用户权限系统,可以很轻松的帮助你管理多个服务器,一直在为 Minecraft,Terraria,Steam 游戏服务器管理员,运维人员和个人开发者提供健康的软件支持。
|
||||
|
||||
|
||||
![截图.png](https://public-link.oss-cn-shenzhen.aliyuncs.com/mcsm_picture/MCSM9.png)
|
||||
|
||||
![Screenshot.png](https://mcsmanager.com/main2.png)
|
||||
|
||||
<img width="1322" alt="QQ20221207-174328@2x" src="https://user-images.githubusercontent.com/18360009/206144481-7f57b40d-f71b-4d7e-a617-846da69ca1a3.png">
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
## 运行环境
|
||||
|
||||
控制面板可运行在 Windows 与 Linux 平台,无需数据库与任何系统配置,只需安装 node 环境即可快速运行,属于轻量级的 Minecraft 服务端控制面板。
|
||||
|
||||
必须 `Node 14.17.0` 以上,无需数据库和更改任何系统配置,开箱即可运行。
|
||||
|
||||
<br />
|
||||
|
||||
## 配置/数据文件
|
||||
|
||||
配置文件: `data/SystemConfig/config.json`
|
||||
|
||||
用户数据文件:`data/User/*.json`
|
||||
|
||||
远程守护进程配置:`data/RemoteServiceConfig/*.json`
|
||||
|
||||
<br />
|
||||
|
||||
## 软件文档
|
||||
|
||||
地址:[https://docs.mcsmanager.com/](https://docs.mcsmanager.com/)
|
||||
|
||||
<br />
|
||||
|
||||
## 安装
|
||||
|
||||
### Windows
|
||||
|
||||
对于 Windows 系统,**已整合成直接运行版本,下载即可运行**(使用管理员权限运行):
|
||||
|
||||
前往:[https://mcsmanager.com/](https://mcsmanager.com/)
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
### Linux
|
||||
|
||||
**一行命令快速安装**
|
||||
|
||||
```bash
|
||||
// 国内用户专用 gitee 加速源
|
||||
wget -qO- https://gitee.com/mcsmanager/script/raw/master/setup_cn.sh | bash
|
||||
|
||||
// 或原始源(科学上网)
|
||||
wget -qO- https://raw.githubusercontent.com/mcsmanager/Script/master/setup.sh | bash
|
||||
```
|
||||
|
||||
- 脚本仅适用于 AMD64 架构 Ubuntu/Centos/Debian/Archlinux。
|
||||
- 执行完成后,使用 `systemctl start mcsm-{web,daemon}` 即可启动面板服务。
|
||||
- 面板代码与运行环境自动安装在 `/opt/mcsmanager/` 目录下。
|
||||
|
||||
<br />
|
||||
|
||||
**Linux 手动安装**
|
||||
|
||||
- 若一键安装不起作用,则可以尝试此步骤手动安装。
|
||||
|
||||
```bash
|
||||
# 切换到安装目录。如果不存在,请提前用'mkdir /opt/'创建它。
|
||||
cd /opt/
|
||||
# 下载运行时环境(Node.js)。如果你已经安装了Node.js 14+,请忽略此步骤。
|
||||
wget https://nodejs.org/dist/v14.17.6/node-v14.17.6-linux-x64.tar.gz
|
||||
# 解压档案
|
||||
tar -zxvf node-v14.17.6-linux-x64.tar.gz
|
||||
# 添加程序到系统环境变量
|
||||
ln -s /opt/node-v14.17.6-linux-x64/bin/node /usr/bin/node
|
||||
ln -s /opt/node-v14.17.6-linux-x64/bin/npm /usr/bin/npm
|
||||
|
||||
# 准备好安装目录
|
||||
mkdir /opt/mcsmanager/
|
||||
cd /opt/mcsmanager/
|
||||
|
||||
# 下载MCSManager
|
||||
wget https://github.com/MCSManager/MCSManager/releases/latest/download/mcsmanager_linux_release.tar.gz
|
||||
tar -zxf mcsmanager_linux_release.tar.gz
|
||||
|
||||
# 安装依赖库
|
||||
./install-dependency.sh
|
||||
|
||||
# 请打开两个终端或屏幕
|
||||
|
||||
# 先启动守护程序
|
||||
./start-daemon.sh
|
||||
|
||||
# 启动网络服务(在第二个终端)
|
||||
./start-web.sh
|
||||
|
||||
# 为网络界面访问http://localhost:23333/
|
||||
# 一般来说,网络应用会自动扫描并连接到本地守护进程。
|
||||
```
|
||||
|
||||
- 注意,这种安装方式不会自动注册面板到系统服务(Service),所以必须使用 `screen` 软件来管理。
|
||||
|
||||
<br />
|
||||
|
||||
## 更新版本
|
||||
|
||||
参考: https://github.com/MCSManager/MCSManager/wiki/Update-MCSManager
|
||||
|
||||
> 如果你不是特别需要新版本的功能,或者不是为了修复安全隐患,那就不建议更新。
|
||||
|
||||
<br />
|
||||
|
||||
## 项目体系
|
||||
|
||||
整个软件运行需要三个项目的互相配合才可运行,您普通安装的代码是编译再整合后的产物。
|
||||
|
||||
[**控制面板端**](https://github.com/MCSManager/MCSManager)
|
||||
|
||||
- 角色:控制中心
|
||||
- 责任:负责提供网页前端的后端接口,提供 API 接口,用户数据管理和对守护进程进行通信和授权。
|
||||
|
||||
[**网页前端**](https://github.com/MCSManager/UI)
|
||||
|
||||
- 角色:控制中心的用户交互界面
|
||||
- 责任:以网页形式展示数据,发送请求,并且拥有与守护进程通信的能力,此项目最终产物是纯静态文件。
|
||||
|
||||
[**守护进程**](https://github.com/MCSManager/Daemon)
|
||||
|
||||
- 角色:被控端
|
||||
- 责任:控制本地主机的所有实例,真实进程的实际管理者,拥有与任何对象的通信能力。
|
||||
|
||||
<br />
|
||||
|
||||
## 搭建开发环境
|
||||
|
||||
此段落面向开发人员,普通用户无需关注也无需执行。
|
||||
|
||||
所有项目全部以开发环境运行后,便可以进行开发与预览,请务必遵循开源协议。
|
||||
|
||||
**控制面板端(MCSManager)**
|
||||
|
||||
```bash
|
||||
git clone https://github.com/MCSManager/MCSManager.git
|
||||
cd MCSManager
|
||||
npm install
|
||||
npm run start
|
||||
# 默认将采用 ts-node 直接执行 Typescript 代码
|
||||
# 默认运行在 23333 端口
|
||||
```
|
||||
|
||||
**网页前端(UI)**
|
||||
|
||||
```bash
|
||||
git clone https://github.com/MCSManager/UI.git
|
||||
cd UI
|
||||
npm install
|
||||
npm run serve
|
||||
# 访问 http://localhost:8080/ 即可预览界面
|
||||
# 所有 API 请求将自动转发到 23333 端口
|
||||
```
|
||||
|
||||
**守护进程(Daemon)**
|
||||
|
||||
```bash
|
||||
git clone https://github.com/MCSManager/Daemon.git
|
||||
cd Daemon
|
||||
npm install
|
||||
npm run start
|
||||
# 运行后请在控制面板端连接本守护进程
|
||||
# 默认运行在 24444 端口
|
||||
```
|
||||
|
||||
<br />
|
||||
|
||||
## 浏览器兼容性
|
||||
|
||||
- 支持 `Chrome` `Firefox` `Safari` `Opera` 等现代主流浏览器。
|
||||
- 已放弃支持 `IE` 浏览器。
|
||||
|
||||
<br />
|
||||
|
||||
## 国际化
|
||||
|
||||
MCSManager 已支持中文,英文两种语言,已经实现国际化全面覆盖。
|
||||
|
||||
软件国际化由 [Lazy](https://github.com/LazyCreeper),[KevinLu2000](https://github.com/KevinLu2000),[zijiren233](https://github.com/zijiren233) 和 [Unitwk](https://github.com/unitwk) 共同完成
|
||||
|
||||
<br />
|
||||
|
||||
## 贡献
|
||||
|
||||
如果你在使用过程中发现任何问题,可以 [提交 Issue](https://github.com/MCSManager/MCSManager/issues/new/choose) 或自行 Fork 修改后提交 Pull Request。
|
||||
|
||||
代码需要保持现有格式,不得格式化多余代码,具体可[参考这里](https://github.com/MCSManager/MCSManager/issues/544)。
|
||||
|
||||
<br />
|
||||
|
||||
## 问题报告
|
||||
|
||||
欢迎发现的任何问题进行反馈,必当及时修复。
|
||||
|
||||
若发现严重安全漏洞又不便公开发布,请发送邮件至: mcsmanager-dev@outlook.com。
|
||||
|
||||
安全问题修复后将在代码中附加漏洞发现者姓名。
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
## 源代码协议
|
||||
|
||||
源代码遵循 Apache-2.0 协议。
|
||||
|
||||
版权所有 2022 MCSManager 开发团队。
|
20
apps/mcsmanager-daemon/data.yml
Normal file
20
apps/mcsmanager-daemon/data.yml
Normal file
@ -0,0 +1,20 @@
|
||||
name: MCSManager Daemon
|
||||
tags:
|
||||
- 休闲游戏
|
||||
title: 支持大部分游戏服务端和控制台程序的管理面板(后端)
|
||||
type: 休闲游戏
|
||||
description: 支持大部分游戏服务端和控制台程序的管理面板(后端)
|
||||
additionalProperties:
|
||||
key: mcsmanager-daemon
|
||||
name: MCSManager Daemon
|
||||
tags:
|
||||
- Game
|
||||
shortDescZh: 支持大部分游戏服务端和控制台程序的管理面板(后端)
|
||||
shortDescEn: Distributed, Docker-supported, Multilingual, and Lightweight control panel for Minecraft server and more (daemon)
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://hub.docker.com/r/alisaqaq/mcsmanager-web
|
||||
github: https://github.com/MCSManager/MCSManager
|
||||
document: https://docs.mcsmanager.com/
|
BIN
apps/mcsmanager-daemon/logo.png
Normal file
BIN
apps/mcsmanager-daemon/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
10
apps/mcsmanager-web/9.9.0/data.yml
Normal file
10
apps/mcsmanager-web/9.9.0/data.yml
Normal file
@ -0,0 +1,10 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40056
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
18
apps/mcsmanager-web/9.9.0/docker-compose.yml
Normal file
18
apps/mcsmanager-web/9.9.0/docker-compose.yml
Normal file
@ -0,0 +1,18 @@
|
||||
version: '3'
|
||||
services:
|
||||
mcsm-web:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:23333"
|
||||
volumes:
|
||||
- ./data:/opt/mcsmanager/web/data
|
||||
image: alisaqaq/mcsmanager-web:9.9.0
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
244
apps/mcsmanager-web/README.md
Normal file
244
apps/mcsmanager-web/README.md
Normal file
@ -0,0 +1,244 @@
|
||||
<img src="https://public-link.oss-cn-shenzhen.aliyuncs.com/mcsm_picture/logo.png" alt="MCSManagerLogo.png" width="510px" />
|
||||
|
||||
<br />
|
||||
|
||||
[![Status](https://img.shields.io/badge/npm-v6.14.15-blue.svg)](https://www.npmjs.com/)
|
||||
[![Status](https://img.shields.io/badge/node-v14.17.6-blue.svg)](https://nodejs.org/en/download/)
|
||||
[![Status](https://img.shields.io/badge/License-Apache%202.0-red.svg)](https://github.com/MCSManager)
|
||||
|
||||
[官方网站](http://mcsmanager.com/) | [使用文档](https://docs.mcsmanager.com/) | [团队主页](https://github.com/MCSManager) | [面板端项目](https://github.com/MCSManager/MCSManager) | [网页前端项目](https://github.com/MCSManager/UI) | [守护进程项目](https://github.com/MCSManager/Daemon)
|
||||
|
||||
|
||||
中文 QQ 群:https://jq.qq.com/?_wv=1027&k=Pgl9ScGw
|
||||
|
||||
中文 TG 群:https://t.me/MCSManager_dev
|
||||
|
||||
爱发电赞助:https://afdian.net/a/mcsmanager
|
||||
|
||||
<br />
|
||||
|
||||
## 这是什么?
|
||||
|
||||
|
||||
MCSManager 面板(简称:MCSM 面板)是一款开源,分布式,轻量级,快速部署,支持大部分游戏服务端和控制台程序的管理面板
|
||||
|
||||
<br />
|
||||
|
||||
## 软件特性
|
||||
|
||||
软件在 Minecraft 和其他游戏社区内中已有一定的流行程度,它可以帮助你集中管理多个物理服务器,动态在任何主机上创建游戏服务端,并且提供安全可靠的多用户权限系统,可以很轻松的帮助你管理多个服务器,一直在为 Minecraft,Terraria,Steam 游戏服务器管理员,运维人员和个人开发者提供健康的软件支持。
|
||||
|
||||
|
||||
![截图.png](https://public-link.oss-cn-shenzhen.aliyuncs.com/mcsm_picture/MCSM9.png)
|
||||
|
||||
![Screenshot.png](https://mcsmanager.com/main2.png)
|
||||
|
||||
<img width="1322" alt="QQ20221207-174328@2x" src="https://user-images.githubusercontent.com/18360009/206144481-7f57b40d-f71b-4d7e-a617-846da69ca1a3.png">
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
## 运行环境
|
||||
|
||||
控制面板可运行在 Windows 与 Linux 平台,无需数据库与任何系统配置,只需安装 node 环境即可快速运行,属于轻量级的 Minecraft 服务端控制面板。
|
||||
|
||||
必须 `Node 14.17.0` 以上,无需数据库和更改任何系统配置,开箱即可运行。
|
||||
|
||||
<br />
|
||||
|
||||
## 配置/数据文件
|
||||
|
||||
配置文件: `data/SystemConfig/config.json`
|
||||
|
||||
用户数据文件:`data/User/*.json`
|
||||
|
||||
远程守护进程配置:`data/RemoteServiceConfig/*.json`
|
||||
|
||||
<br />
|
||||
|
||||
## 软件文档
|
||||
|
||||
地址:[https://docs.mcsmanager.com/](https://docs.mcsmanager.com/)
|
||||
|
||||
<br />
|
||||
|
||||
## 安装
|
||||
|
||||
### Windows
|
||||
|
||||
对于 Windows 系统,**已整合成直接运行版本,下载即可运行**(使用管理员权限运行):
|
||||
|
||||
前往:[https://mcsmanager.com/](https://mcsmanager.com/)
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
### Linux
|
||||
|
||||
**一行命令快速安装**
|
||||
|
||||
```bash
|
||||
// 国内用户专用 gitee 加速源
|
||||
wget -qO- https://gitee.com/mcsmanager/script/raw/master/setup_cn.sh | bash
|
||||
|
||||
// 或原始源(科学上网)
|
||||
wget -qO- https://raw.githubusercontent.com/mcsmanager/Script/master/setup.sh | bash
|
||||
```
|
||||
|
||||
- 脚本仅适用于 AMD64 架构 Ubuntu/Centos/Debian/Archlinux。
|
||||
- 执行完成后,使用 `systemctl start mcsm-{web,daemon}` 即可启动面板服务。
|
||||
- 面板代码与运行环境自动安装在 `/opt/mcsmanager/` 目录下。
|
||||
|
||||
<br />
|
||||
|
||||
**Linux 手动安装**
|
||||
|
||||
- 若一键安装不起作用,则可以尝试此步骤手动安装。
|
||||
|
||||
```bash
|
||||
# 切换到安装目录。如果不存在,请提前用'mkdir /opt/'创建它。
|
||||
cd /opt/
|
||||
# 下载运行时环境(Node.js)。如果你已经安装了Node.js 14+,请忽略此步骤。
|
||||
wget https://nodejs.org/dist/v14.17.6/node-v14.17.6-linux-x64.tar.gz
|
||||
# 解压档案
|
||||
tar -zxvf node-v14.17.6-linux-x64.tar.gz
|
||||
# 添加程序到系统环境变量
|
||||
ln -s /opt/node-v14.17.6-linux-x64/bin/node /usr/bin/node
|
||||
ln -s /opt/node-v14.17.6-linux-x64/bin/npm /usr/bin/npm
|
||||
|
||||
# 准备好安装目录
|
||||
mkdir /opt/mcsmanager/
|
||||
cd /opt/mcsmanager/
|
||||
|
||||
# 下载MCSManager
|
||||
wget https://github.com/MCSManager/MCSManager/releases/latest/download/mcsmanager_linux_release.tar.gz
|
||||
tar -zxf mcsmanager_linux_release.tar.gz
|
||||
|
||||
# 安装依赖库
|
||||
./install-dependency.sh
|
||||
|
||||
# 请打开两个终端或屏幕
|
||||
|
||||
# 先启动守护程序
|
||||
./start-daemon.sh
|
||||
|
||||
# 启动网络服务(在第二个终端)
|
||||
./start-web.sh
|
||||
|
||||
# 为网络界面访问http://localhost:23333/
|
||||
# 一般来说,网络应用会自动扫描并连接到本地守护进程。
|
||||
```
|
||||
|
||||
- 注意,这种安装方式不会自动注册面板到系统服务(Service),所以必须使用 `screen` 软件来管理。
|
||||
|
||||
<br />
|
||||
|
||||
## 更新版本
|
||||
|
||||
参考: https://github.com/MCSManager/MCSManager/wiki/Update-MCSManager
|
||||
|
||||
> 如果你不是特别需要新版本的功能,或者不是为了修复安全隐患,那就不建议更新。
|
||||
|
||||
<br />
|
||||
|
||||
## 项目体系
|
||||
|
||||
整个软件运行需要三个项目的互相配合才可运行,您普通安装的代码是编译再整合后的产物。
|
||||
|
||||
[**控制面板端**](https://github.com/MCSManager/MCSManager)
|
||||
|
||||
- 角色:控制中心
|
||||
- 责任:负责提供网页前端的后端接口,提供 API 接口,用户数据管理和对守护进程进行通信和授权。
|
||||
|
||||
[**网页前端**](https://github.com/MCSManager/UI)
|
||||
|
||||
- 角色:控制中心的用户交互界面
|
||||
- 责任:以网页形式展示数据,发送请求,并且拥有与守护进程通信的能力,此项目最终产物是纯静态文件。
|
||||
|
||||
[**守护进程**](https://github.com/MCSManager/Daemon)
|
||||
|
||||
- 角色:被控端
|
||||
- 责任:控制本地主机的所有实例,真实进程的实际管理者,拥有与任何对象的通信能力。
|
||||
|
||||
<br />
|
||||
|
||||
## 搭建开发环境
|
||||
|
||||
此段落面向开发人员,普通用户无需关注也无需执行。
|
||||
|
||||
所有项目全部以开发环境运行后,便可以进行开发与预览,请务必遵循开源协议。
|
||||
|
||||
**控制面板端(MCSManager)**
|
||||
|
||||
```bash
|
||||
git clone https://github.com/MCSManager/MCSManager.git
|
||||
cd MCSManager
|
||||
npm install
|
||||
npm run start
|
||||
# 默认将采用 ts-node 直接执行 Typescript 代码
|
||||
# 默认运行在 23333 端口
|
||||
```
|
||||
|
||||
**网页前端(UI)**
|
||||
|
||||
```bash
|
||||
git clone https://github.com/MCSManager/UI.git
|
||||
cd UI
|
||||
npm install
|
||||
npm run serve
|
||||
# 访问 http://localhost:8080/ 即可预览界面
|
||||
# 所有 API 请求将自动转发到 23333 端口
|
||||
```
|
||||
|
||||
**守护进程(Daemon)**
|
||||
|
||||
```bash
|
||||
git clone https://github.com/MCSManager/Daemon.git
|
||||
cd Daemon
|
||||
npm install
|
||||
npm run start
|
||||
# 运行后请在控制面板端连接本守护进程
|
||||
# 默认运行在 24444 端口
|
||||
```
|
||||
|
||||
<br />
|
||||
|
||||
## 浏览器兼容性
|
||||
|
||||
- 支持 `Chrome` `Firefox` `Safari` `Opera` 等现代主流浏览器。
|
||||
- 已放弃支持 `IE` 浏览器。
|
||||
|
||||
<br />
|
||||
|
||||
## 国际化
|
||||
|
||||
MCSManager 已支持中文,英文两种语言,已经实现国际化全面覆盖。
|
||||
|
||||
软件国际化由 [Lazy](https://github.com/LazyCreeper),[KevinLu2000](https://github.com/KevinLu2000),[zijiren233](https://github.com/zijiren233) 和 [Unitwk](https://github.com/unitwk) 共同完成
|
||||
|
||||
<br />
|
||||
|
||||
## 贡献
|
||||
|
||||
如果你在使用过程中发现任何问题,可以 [提交 Issue](https://github.com/MCSManager/MCSManager/issues/new/choose) 或自行 Fork 修改后提交 Pull Request。
|
||||
|
||||
代码需要保持现有格式,不得格式化多余代码,具体可[参考这里](https://github.com/MCSManager/MCSManager/issues/544)。
|
||||
|
||||
<br />
|
||||
|
||||
## 问题报告
|
||||
|
||||
欢迎发现的任何问题进行反馈,必当及时修复。
|
||||
|
||||
若发现严重安全漏洞又不便公开发布,请发送邮件至: mcsmanager-dev@outlook.com。
|
||||
|
||||
安全问题修复后将在代码中附加漏洞发现者姓名。
|
||||
|
||||
<br />
|
||||
|
||||
|
||||
## 源代码协议
|
||||
|
||||
源代码遵循 Apache-2.0 协议。
|
||||
|
||||
版权所有 2022 MCSManager 开发团队。
|
20
apps/mcsmanager-web/data.yml
Normal file
20
apps/mcsmanager-web/data.yml
Normal file
@ -0,0 +1,20 @@
|
||||
name: MCSManager Web
|
||||
tags:
|
||||
- 休闲游戏
|
||||
title: 支持大部分游戏服务端和控制台程序的管理面板(前端)
|
||||
type: 休闲游戏
|
||||
description: 支持大部分游戏服务端和控制台程序的管理面板(前端)
|
||||
additionalProperties:
|
||||
key: mcsmanager-web
|
||||
name: MCSManager Web
|
||||
tags:
|
||||
- Game
|
||||
shortDescZh: 支持大部分游戏服务端和控制台程序的管理面板(前端)
|
||||
shortDescEn: Distributed, Docker-supported, Multilingual, and Lightweight control panel for Minecraft server and more (webui)
|
||||
type: tool
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
recommend: 0
|
||||
website: https://hub.docker.com/r/alisaqaq/mcsmanager-web
|
||||
github: https://github.com/MCSManager/MCSManager
|
||||
document: https://docs.mcsmanager.com/
|
BIN
apps/mcsmanager-web/logo.png
Normal file
BIN
apps/mcsmanager-web/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
59
apps/palworld-server/README.md
Normal file
59
apps/palworld-server/README.md
Normal file
@ -0,0 +1,59 @@
|
||||
# 使用说明
|
||||
|
||||
## 数据文件夹授权
|
||||
|
||||
- 1、**必要操作:** 首次安装完成后,进入已安装应用界面,点击跳转数据目录,修改目录下的`data`文件夹为`1000`用户和用户组。
|
||||
|
||||
命令行修改则类似如下,路径按需修改:
|
||||
```
|
||||
chown -R 1000:1000 /opt/1panel/apps/local/palworld-server/palworld-server/data
|
||||
```
|
||||
|
||||
- 2、回到已安装应用界面,重建应用。
|
||||
|
||||
# 原始相关
|
||||
***
|
||||
|
||||
# palworld-docker
|
||||
|
||||
[![Check Update](https://github.com/KagurazakaNyaa/palworld-docker/actions/workflows/update.yml/badge.svg)](https://github.com/KagurazakaNyaa/palworld-docker/actions/workflows/update.yml)
|
||||
[![Build Docker Image](https://github.com/KagurazakaNyaa/palworld-docker/actions/workflows/build.yml/badge.svg)](https://github.com/KagurazakaNyaa/palworld-docker/actions/workflows/build.yml)
|
||||
![Docker Pulls](https://img.shields.io/docker/pulls/kagurazakanyaa/palworld)
|
||||
![Docker Stars](https://img.shields.io/docker/stars/kagurazakanyaa/palworld)
|
||||
![Image Size](https://img.shields.io/docker/image-size/kagurazakanyaa/palworld/latest)
|
||||
|
||||
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`
|
20
apps/palworld-server/data.yml
Normal file
20
apps/palworld-server/data.yml
Normal file
@ -0,0 +1,20 @@
|
||||
name: Palworld Dedicated Server (幻兽帕鲁)
|
||||
tags:
|
||||
- 休闲游戏
|
||||
title: 幻兽帕鲁服务端
|
||||
type: 休闲游戏
|
||||
description: 幻兽帕鲁服务端
|
||||
additionalProperties:
|
||||
key: palworld-server
|
||||
name: Palworld Dedicated Server (幻兽帕鲁)
|
||||
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
|
100
apps/palworld-server/latest/data.yml
Normal file
100
apps/palworld-server/latest/data.yml
Normal file
@ -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: 'false'
|
||||
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: PUBLIC_PORT
|
||||
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: 'Default Palworld Server'
|
||||
edit: true
|
||||
envKey: SERVER_NAME
|
||||
labelEn: Server name
|
||||
labelZh: 服务器名
|
||||
required: true
|
||||
type: text
|
||||
- default: 'Default 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
|
34
apps/palworld-server/latest/docker-compose.yml
Normal file
34
apps/palworld-server/latest/docker-compose.yml
Normal file
@ -0,0 +1,34 @@
|
||||
version: '3.9'
|
||||
services:
|
||||
palworld-server:
|
||||
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:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./data:/opt/palworld/Pal/Saved
|
||||
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=${PUBLIC_PORT}
|
||||
- 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}
|
||||
image: kagurazakanyaa/palworld:latest
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
BIN
apps/palworld-server/logo.png
Normal file
BIN
apps/palworld-server/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
Loading…
Reference in New Issue
Block a user