MCSM-Daemon/README.md

72 lines
3.0 KiB
Markdown
Raw Normal View History

2022-08-05 10:54:13 +08:00
<img src="https://public-link.oss-cn-shenzhen.aliyuncs.com/mcsm_picture/logo.png" alt="MCSManager icon.png" width="500px" />
2022-02-02 19:43:28 +08:00
<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/)
2022-02-07 13:39:38 +08:00
[![Status](https://img.shields.io/badge/License-AGPL-red.svg)](https://github.com/Suwings/MCSManager)
2021-12-05 15:53:25 +08:00
2022-08-05 11:09:53 +08:00
2022-08-05 10:54:13 +08:00
English | [简体中文](readme_cn.md)
2022-08-05 10:54:13 +08:00
[Official Website](http://mcsmanager.com/) | [Usage Documentation](https://docs.mcsmanager.com/) | [Team Homepage](https://github.com/MCSManager) | [MCSManager Project](https://github.com/MCSManager/MCSManager)
2021-12-05 15:53:25 +08:00
2022-08-05 10:54:13 +08:00
A distributed daemon program for MCSManager, separate from the panel side to directly manage and control the real program.
Please go to the main project repository: [https://github.com/MCSManager/MCSManager](https://github.com/MCSManager/MCSManager)
2021-12-05 15:53:25 +08:00
<br />
2022-08-05 10:54:13 +08:00
## Introduction to MCSManager
2022-02-07 13:39:38 +08:00
2022-08-05 11:08:58 +08:00
**Distributed, stable and reliable, out-of-the-box, highly scalable, support control panel for Minecraft and few other games.**
2021-12-05 15:53:25 +08:00
2022-08-05 10:54:13 +08:00
The MCSManager panel (referred to as: MCSM panel) is an all-Chinese, lightweight, out-of-the-box, multi-instance and Docker-supported Minecraft server management panel.
2021-12-05 15:53:25 +08:00
2022-08-05 10:54:13 +08:00
This software has a certain popularity in Minecraft and other gaming communities, it can help you centrally manage multiple physical servers, dynamically create game servers on any host, and provide a secure and reliable multi-user permission system that can be easily Easily help you manage multiple servers.
2021-12-05 15:53:25 +08:00
<br />
2022-08-05 10:54:13 +08:00
## Manual installation
2022-01-25 15:16:12 +08:00
2022-08-05 10:54:13 +08:00
Prerequisite: [Web-side program](https://github.com/MCSManager/MCSManager-Web-Production) needs to be installed to use this software normally.
2022-01-25 15:16:12 +08:00
2022-08-05 10:54:13 +08:00
Install `Node 14+` and `npm` tools and clone the [Daemon code for deployment](https://gitee.com/mcsmanager/MCSManager-Daemon-Production), then use the following commands to initialize and start the Daemon side.
2022-01-25 15:16:12 +08:00
2022-08-05 10:54:13 +08:00
> The noun Daemon means "daemon process" in Chinese, here it represents the daemon process of the local or remote host, which is used to actually run the process of the server program. The web panel is used for management and control, not the actual file of the server program. make any contact.
2021-12-05 15:53:25 +08:00
2022-01-25 12:04:03 +08:00
```bash
2022-01-25 15:16:12 +08:00
# cd MCSManager-Daemon-Production
2022-01-25 12:04:03 +08:00
npm install
node app.js
2022-08-05 10:54:13 +08:00
````
2022-01-25 15:16:12 +08:00
2022-08-05 10:54:13 +08:00
The program will output the following
2022-01-25 15:16:12 +08:00
2022-08-05 10:54:13 +08:00
````log
Access address localhost:24444
access key [your key, a string of hexadecimal numbers]
The key is the only means of authentication for the daemon
````
2022-01-25 15:16:12 +08:00
2022-08-05 10:54:13 +08:00
Just add an instance on the web side using the key.
To stop direct input:
2022-01-25 15:16:12 +08:00
2022-01-25 12:47:11 +08:00
```bash
2022-08-05 10:54:13 +08:00
Ctrl+C
````
2022-01-25 15:16:12 +08:00
2022-08-05 10:54:13 +08:00
If you need to run in the background for a long time, please use the `Screen` software in conjunction with it, or manually write to the system service.
2022-01-25 15:16:12 +08:00
2021-12-05 15:53:25 +08:00
<br />
2022-08-05 10:54:13 +08:00
## Contribute
2022-02-06 15:57:10 +08:00
2022-08-05 10:54:13 +08:00
If you find any problems during use, you can submit an Issue or submit a Pull Request after fork modification.
2022-02-06 15:57:10 +08:00
2022-08-05 10:54:13 +08:00
The code needs to keep the existing format, and no redundant code should be formatted. For details, please refer to [here](https://github.com/MCSManager/MCSManager/issues/544).
2022-02-06 15:57:10 +08:00
<br />
2022-02-02 23:41:18 +08:00