Skip to content
originalFactor edited this page Nov 20, 2023 · 6 revisions

MCSMT (Minecraft Server Manage Tool)

中文

Operation mode

Installation can be done directly using pip, or get MCSMTGo.exe from Releases (for Windows x64)

If you use MCSMTGo.exe, replace the following python -m mcsmt with mcsmtGo.exe

Server

  1. First use python -m mcsmt server genconf to generate the server configuration

2.1. Static server

2.1.1. Run python -m mcsmt server gen, generate the boot package and upload it to the server

2.2. Dynamic server

2.2.1. Directly start python -m http.server <port> to start the convenient server (modified on 2023/9/7: the built-in simple server has been deleted, please use Python's own server or IIS, etc.)

2.2.3. Automatic generation: Start python -m mcsmt server wdgen to automatically monitor file changes and automatically generate (currently unstable)

Client

Write a Cconfig.json like this:

{
     "requestURL": "http://api.example.com/"
}

Start python -m mcsmt client main to synchronize

tool

mod downloader

For a mod downloader, you need to apply for a developer account at docs.curseforge.com. After logging in, go to the api on the left - copy the token - and paste it into the tool. Startup method: python -m mcsmt mixed moddown

Extension Downloader

python -m mcsmt mixed extdown

MCSMTApi

Starting from Alpha Version 3.0.2.12.0, MCSMT began to use MCSMTApi as the new calling method, and the old python module calling method has been exited.

(Translation provided by Google Translate)