Go to file
2024-01-05 16:48:30 +08:00
.github Update webpack.yml 2023-11-15 21:44:39 -06:00
common Feat: config version adapter 2023-12-26 19:49:09 +08:00
daemon Feat: dark css 2023-12-28 22:19:50 +08:00
frontend Fix: Card h-100 2024-01-05 16:48:30 +08:00
languages Fix: new card title & plugincard ui 2023-12-29 17:50:17 +08:00
panel Feat: add open func 2023-12-31 21:07:54 +08:00
.gitignore Fix: 1 level user breadcrumbs 2023-12-01 20:47:29 +08:00
.npmrc Fix: i18next scanner config 2023-09-06 11:32:08 +08:00
.prettierignore Refactor: language file 2022-09-24 10:28:12 +08:00
.prettierrc.json Feat: change file permission 2022-08-11 14:06:42 +08:00
build.bat Fix: build bat 2023-12-28 22:00:45 +08:00
build.sh Refactor: common code 2023-11-15 21:22:06 +08:00
i18-scanner.config.js Optimize: QuickStartFlow.vue max-height 2023-12-12 17:13:03 +08:00
install-dependents.bat Feat: add workspace "npm install" 2023-11-30 11:05:12 +08:00
install-dependents.sh Feat: add workspace "npm install" 2023-11-30 11:05:12 +08:00
LICENSE Refactor: project structure 2023-08-21 10:49:37 +08:00
npm-dev-macos.sh Optimize: QuickStartFlow.vue max-height 2023-12-12 17:13:03 +08:00
npm-dev-windows.bat chore: edit npm dev script 2023-11-18 14:09:52 +08:00
package-lock.json Refactor: npm run dev script 2023-11-17 21:03:22 +08:00
package.json Refactor: npm run dev script 2023-11-17 21:03:22 +08:00
README_CN.md Refactor: project structure 2023-08-21 10:49:37 +08:00
README.md Feat: tag version 2023-08-21 20:06:50 +08:00

MCSManagerLogo.png

-- Status Status Status

Official Website

English | 简体中文


Introduction

MCSManager Panelabbr: MCSM Panelis a multilingual, lightweight, out-of-the-box, and multi-instance Minecraft server control panel with Docker support.

MCSManager panel can help you manage multiple physical servers in one place and create game servers at any host dynamically. It also provides a secure and reliable user permission system for a seamless multi-user experience.

Screenshot.png Screenshot.png


Runtime Environment

MCSManager panel can run on both Windows and Linux platforms without a database or complicated system configuration. As a lightweight control panel, you only need Node.js to run it.

Required Node.js version: 14.17.6 or above.


Install

Windows

For the Windows systems, the MCSM panel has been compiled into a click-to-run version.

Download it from the official site: https://mcsmanager.com/


Linux

Quick Install with one command

wget -qO- https://raw.githubusercontent.com/mcsmanager/Script/master/setup.sh | bash
  • The script is designed for Ubuntu/Centos/Debian/Archlinux of AMD64 architecture only.
  • Use systemctl start mcsm-{web,daemon} to start service after installtion.
  • Directory for panel components and runtime: /opt/mcsmanager/

Linux Manual Installation

  • If the installation script does not work, you can try the following steps to install manually.
# switch to the installation directory. Please create it in advance with 'mkdir /opt/' if not exist.
cd /opt/
# Download runtime environment (Node.js). Ignore this step if you have Node.js 14+ installed already.
wget https://nodejs.org/dist/v14.17.6/node-v14.17.6-linux-x64.tar.gz
# Decompress archive
tar -zxvf node-v14.17.6-linux-x64.tar.gz
# Add program to system PATH
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

# Prepare 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-dependency.sh

# Please open two terminals or Screen

# Start the daemon first
./start-daemon.sh

# Start the web service (in the second terminal)
./start-web.sh

# Access http://localhost:23333/ for web interface
# In general, the web application will scan and connect to the local daemon automatically.
  • Note, the above steps do not register the panel components to system service. You have to use 'screen' to manage it or register the system service manually.

Data Directories

Web Config & Data: /opt/mcsmanager/web/data/

Daemon Config & Data /opt/mcsmanager/daemon/data/


Update

Reference: https://github.com/MCSManager/MCSManager/wiki/Update-MCSManager

Note, backup of data directory before each update is highly recommended.


Projects

This software requires all three projects to run. The code you use for installation is the result of compilation and integration.

Web Backend

  • Role: Control Center
  • Responsible for: Backend APIs, user data management, and communication & authentication with daemons.

Frontend/UI

  • Role: The user interfaces for the backend.
  • Responsible for: Displaying statistics via the web interface, sending requests, and communicating with daemons. The final product of this project is pure static files.

Daemon

  • Role: Slave/controlled remote node
  • Responsible for: Controlling all instances on localhost and managing the actual instance process. It is capable to communicate with all objects.

Build the Development Environment

This is intended for developers. If you are not a developer, you can safely ignore these.

You can continue to develop or preview all the projects once they are running under the development environment. Please make sure to be in compliance with the license.

Web Project

git clone https://github.com/MCSManager/MCSManager.git
cd MCSManager
npm install
npm run start
# By default, use ts-node to run Typescript code directly
# By default, run on port 23333.

UI Project

git clone https://github.com/MCSManager/UI.git
cd UI
npm install
npm run serve
# Preview the interface at http://localhost:8080/
# All the requests will be redirected to port 23333.

Daemon Project

git clone https://github.com/MCSManager/Daemon.git
cd Daemon
npm install
npm run start
# After running, please connect the daemon to the control panel via the web interface.
# By default, run on port 24444

Browser Compatibility

  • Support mainstream modern browsers like Chrome Firefox Safari Opera.
  • IE support has been dropped.

i18n

The MCSManager internationalization was done by Lazy, KevinLu2000, zijiren233 and Unitwk.


Panel Permission

The control panel will check the user list while running. If there is no user available, a default administrator user will be created.

If you forget your only administrator account, you can back up all the current user data, regenerate a new admin account, and overwrite the previous one.

User Data: /opt/mcsmanager/web/data/Users/*.json


Contribution

If you encounter any issue while using, you can submit an Issue or submit Pull Request after you fix it in a fork.

The code needs to be in its existing format, and no extra codes should be formatted. For details: click here


Report bug

Feedback on any problem encountered is welcomed and will be responded to in a timely manner.

If you find a serious security vulnerability, you can email mcsmanager-dev@outlook.com for a private submission.

After the security issue has been resolved, your name will be listed as the bug-finder.


License

Copyright 2023 MCSManager Dev, Apache-2.0 license.