MCSManager/README.md

204 lines
6.4 KiB
Markdown
Raw Normal View History

2024-02-17 15:10:14 +08:00
<div align="center">
<a href="https://mcsmanager.com/" target="_blank">
<img src="https://public-link.oss-cn-shenzhen.aliyuncs.com/mcsm_picture/logo.png" alt="MCSManagerLogo.png" width="510px" />
</a>
<br />
<h1 id="mcsmanager">
<a href="https://mcsmanager.com/" target="_blank">MCSManager Panel</a>
</h1>
[![--](https://img.shields.io/badge/Support-Windows/Linux-green.svg)](https://github.com/MCSManager)
[![Status](https://img.shields.io/badge/npm-v8.9.14-blue.svg)](https://www.npmjs.com/)
[![Status](https://img.shields.io/badge/node-v16.20.2-blue.svg)](https://nodejs.org/en/download/)
[![Status](https://img.shields.io/badge/License-Apache%202.0-red.svg)](https://github.com/MCSManager)
2024-03-27 17:02:26 +08:00
[Official Website](http://mcsmanager.com/) | [Docs](https://docs.mcsmanager.com/) | [Discord](https://discord.gg/BNpYMVX7Cd)
2024-02-17 15:10:14 +08:00
2024-08-07 23:09:21 +08:00
[English](README.md) | [简体中文](README_ZH.md) | [繁體中文](README_TW.md) | [Português BR](README_PTBR.md) |
[日本語](README_JP.md)
2024-02-17 15:10:14 +08:00
</div>
<br />
2024-05-14 17:07:07 +08:00
2024-02-17 15:10:14 +08:00
## What is MCSManager?
2024-05-14 17:07:07 +08:00
**MCSManager Panel** (MCSM) is a **modern, secure, and distributed control panel** designed for managing Minecraft and Steam game servers.
MCSManager has already gained a certain level of popularity within the community, specifically Minecraft. MCSManager excels in offering a centralized management solution for multiple server instances and provides a secure and reliable multi-user permission system. In addition, We are committed to supporting server administrators not only for Minecraft but also for Terraria and various Steam games. Our goal is to foster a thriving and supportive community for game server management.
2024-02-17 15:10:14 +08:00
2024-06-08 06:01:27 +08:00
MCSManager **supports English, French, German, Italian, Japanese, Portuguese, Simplified Chinese, and Traditional Chinese**, with plans to add support for more languages in the future!
2024-02-17 15:10:14 +08:00
2024-03-27 17:02:26 +08:00
![failed_to_load_screenshot.png](/.github/panel-image.png)
![failed_to_load_screenshot.png](/.github/panel-instances.png)
2024-02-17 15:10:14 +08:00
## Features
2024-04-03 10:53:16 +08:00
1. One-click deployment of `Minecraft` Java/Bedrock Server
2. Compatible with most `Steam` game servers. (e.g. `Palworld`, `Squad`, `Project Zomboid`, `Teraria`, etc.)
3. Customizable UI, create your own layout
4. Support `Docker` virtualization, multiuser, and commercial services
5. Manage multiple servers with a single web interface
6. More...
2024-02-17 15:10:14 +08:00
<br />
## Runtime Environment
MCSM supports both `Windows` and `Linux`. The only requirement is `Node.js` and some libraries **for decompression**.
2024-02-17 15:10:14 +08:00
Require [Node.js 16.20.2](https://nodejs.org/en) or above.
<br />
## Installation
### Windows
2024-04-03 11:26:19 +08:00
For Windows, We provides packaged executable files:
2024-02-17 15:10:14 +08:00
Go to: [https://mcsmanager.com/](https://mcsmanager.com/)
<br />
### Linux
**One-Command Deployment**
2024-04-03 10:53:16 +08:00
> Script needs to register system services, it requires root permissions.
```bash
2024-04-27 22:33:58 +08:00
sudo su -c "wget -qO- https://script.mcsmanager.com/setup.sh | bash"
2024-04-03 10:53:16 +08:00
```
**Usage**
2024-02-17 15:10:14 +08:00
```bash
2024-04-03 10:53:16 +08:00
systemctl start mcsm-{web,daemon}
systemctl stop mcsm-{web,daemon}
2024-02-17 15:10:14 +08:00
```
2024-04-03 10:53:16 +08:00
- Only supports Ubuntu/Centos/Debian/Archlinux.
2024-02-17 15:10:14 +08:00
- Installation directory: `/opt/mcsmanager/`.
<br />
**Linux Manual Installation**
- If the installation script failed to execute correctly, you can try install it manually.
```bash
# Create /opt directory if not already
mkdir /opt
# Switch to /opt
cd /opt/
# Download Node.js 20.11. If you already have Node.js 16+ installed, ignore this step.
wget https://nodejs.org/dist/v20.11.0/node-v20.11.0-linux-x64.tar.xz
# Decompress Node.js source
tar -xvf node-v20.11.0-linux-x64.tar.xz
# Add Node.js to system PATH
ln -s /opt/node-v20.11.0-linux-x64/bin/node /usr/bin/node
ln -s /opt/node-v20.11.0-linux-x64/bin/npm /usr/bin/npm
# Prepare MCSM's installation directory
mkdir /opt/mcsmanager/
cd /opt/mcsmanager/
# Download MCSManager
wget https://github.com/MCSManager/MCSManager/releases/latest/download/mcsmanager_linux_release.tar.gz
tar -zxf mcsmanager_linux_release.tar.gz
# Install dependencies
2024-03-31 21:19:30 +08:00
./install.sh
2024-02-17 15:10:14 +08:00
# Please open two terminals or screens.
# Start the daemon first.
./start-daemon.sh
# Start the web interface at the second terminal or screen.
./start-web.sh
# For web access, go to http://localhost:23333/
2024-03-27 17:02:26 +08:00
# In general, the web interface will automatically scan and add the local daemon.
2024-02-17 15:10:14 +08:00
```
This installation approach does not automatically set up MCSManager as a system service. Therefore, it is necessary to use `screen` for management. For those interested in managing MCSManager through a system service, please refer to our wiki/documentation.
2024-02-17 15:10:14 +08:00
<br />
## Browser Compatibility
2024-03-28 12:00:10 +08:00
- Supported on modern browsers including `Chrome`, `Firefox`, and `Safari`.
2024-02-17 15:10:14 +08:00
- Support for `IE` has been discontinued.
<br />
2024-04-03 11:26:19 +08:00
## Development
2024-02-17 15:10:14 +08:00
This section is specifically designed for developers. General users may disregard this portion without concern.
2024-02-17 15:10:14 +08:00
### MacOS
```bash
git clone https://github.com/MCSManager/MCSManager.git
./install-dependents.sh
./npm-dev-macos.sh
```
### Windows
```bash
git clone https://github.com/MCSManager/MCSManager.git
./install-dependents.bat
./npm-dev-windows.bat
```
2024-04-03 11:26:19 +08:00
### Build Production Version
2024-02-17 15:10:14 +08:00
```bash
2024-04-03 11:26:19 +08:00
./build.bat # Windows
./build.sh # MacOS
2024-02-17 15:10:14 +08:00
```
2024-04-03 11:26:19 +08:00
Next, you'll need to go to the [PTY](https://github.com/MCSManager/PTY) and [Zip-Tools](https://github.com/MCSManager/Zip-Tools) projects to download the corresponding binary files and place them in the `daemon/lib` directory to ensure the proper functioning of the `Emulation Terminal` and `File Decompression`.
2024-02-17 15:10:14 +08:00
<br />
## Code Contributing
2024-03-31 21:19:30 +08:00
If you experience any problems while using MCSManager, you are welcome to [submit an Issue](https://github.com/MCSManager/MCSManager/issues/new/choose). Alternatively, you can fork the project and contribute directly by submitting a Pull Request.
2024-02-17 15:10:14 +08:00
2024-03-28 12:00:10 +08:00
Please ensure that any submitted code adheres to our existing coding style. For more details, refer to the guidelines provided in [this issue](https://github.com/MCSManager/MCSManager/issues/544).
2024-02-17 15:10:14 +08:00
<br />
## BUG Reporting
2024-04-18 14:46:19 +08:00
**Open Issue:** [Click here](https://github.com/MCSManager/MCSManager/issues/new/choose)
2024-02-17 15:10:14 +08:00
2024-04-18 14:46:19 +08:00
**Security Vulnerability Report:** [SECURITY.md](SECURITY.md)
2024-02-17 15:10:14 +08:00
<br />
2024-04-18 14:46:19 +08:00
## Internationalization
2024-04-03 11:26:19 +08:00
Thanks to these contributors for providing a substantial amount of translation:
- [KevinLu2000](https://github.com/KevinLu2000)
- [Unitwk](https://github.com/unitwk)
- [JianyueLab](https://github.com/JianyueLab)
- [IceBrick](https://github.com/IceBrick01)
<br />
2024-02-17 15:10:14 +08:00
## License
2024-03-28 12:00:10 +08:00
The source code of MCSManager is licensed under the [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) License.
2024-02-17 15:10:14 +08:00
Copyright ©2024 MCSManager.