@polymer505/msc
v1.3.1
Published
Command-line tool for downloading popular Minecraft server jars.
Maintainers
Readme
msc (Minecraft Server Creator)
Command-line tool for downloading popular Minecraft server jars.
Features
- Downloads server kernels directly from official sources (
vanilla,paper,purpur,fabric,forge). - Automatically generates
eula.txt. - Creates launch scripts (
start.shfor Linux orstart.batfor Windows) with pre-configured Aikar's Flags. - Auto-detects OS platform to generate the correct executable script.
Note on Forge: Forge doesn't distribute a ready-to-run server jar. Instead,
mscdownloads the official Forge installer and runs it automatically (java -jar forge.jar --installServer). This requires Java to be installed and available in yourPATH. Nostart.sh/start.batis generated for Forge — use the run script that the Forge installer creates.
Usage
Run msc by specifying the kernel, Minecraft version, and allocated RAM:
msc <kernel> <version> <ram>Examples
- Vanilla
msc vanilla 1.21.11 2G- Paper
msc paper 1.19.2 5G- Purpur
msc purpur 26.2 4G- Fabric
msc fabric 1.16.5 4G- Forge
msc forge 1.20.1 5GBuilding from Source
If you want to compile msc into a standalone executable file, use @yao-pkg/pkg:
Install dependencies:
npm installBuild executables:
- For linux (msc-linux)
npm run build- For linux arm64 (msc-linux-arm64)
npm run build-arm64- For Windows (msc-win.exe)
npm run build:win- For Windows arm64 (msc-win-arm64.exe)
npm run build:win-arm64License
This project is licensed under the MIT License.
