makemcserver is a CLI tool which can be used to easily set up a Minecraft server, useful if you need to quickly set up a server to run on your local PC without having to go into a web browser and manually download lots of files. It lets you choose any Minecraft version, and also optionally installs a custom server software of your choice (either Fabric, Paper, NeoForge, or Forge). Additionally, it allows you to install mods from Modrinth of your choice which you can specify in a config file.
You need Node.js installed to use the tool. To set up a NeoForge or Forge server, you will also need Java installed, which you can get from Adoptium or other providers.
Once you have everything installed, simply run npx makemcserver in the terminal/command prompt.
The configuration is stored as a YAML file which can be in the following locations:
makemcserver.ymlin the current working directory- On Linux:
XDG_CONFIG_HOME/makemcserver/makemcserver.yml(usually this is~/.config/makemcserver/makemcserver.yml) - On Windows:
%AppData%\makemcserver\Config\makemcserver.yml - On Mac:
~/Library/Preferences/makemcserver/makemcserver.yml .makemcserver.ymlin your home directory
It can be formatted like this (all three major sections are optional):
defaultMods:
fabric:
- "P7dR8mSH" # Fabric API
modPresets:
fabric:
"Optimization":
default: true
mods:
- "gvQqBUqZ" # Lithium
- "uXXizFIs" # FerriteCore
- "NRjRiSSD" # Memory Leak Fix
- "fQEb0iXm" # Krypton
- "VSNURh3q" # C2ME
- "KuNKN7d2" # Noisium
"spark":
default: true
mods: "l6YH9Als"
"No Chat Reports": "qQyHxfxd"
"Simple Voice Chat": "9eGKb6K1"
paper:
"FreedomChat": "MubyTbnA"
"Simple Voice Chat": "9eGKb6K1"
"WorldEdit": "1u6JkXh5"
"ViaVersion": "P1OZGk5p"
"LuckPerms": "Vebnzrzj"
neoforge:
"spark":
default: true
mods: "l6YH9Als"
"No Chat Reports": "qQyHxfxd"
"Simple Voice Chat": "9eGKb6K1"
forge:
"spark":
default: true
mods: "l6YH9Als"
"No Chat Reports": "qQyHxfxd"
"Simple Voice Chat": "9eGKb6K1"
javaPaths:
# Paths to the Java runtime for different Java versions, as well as a fallback "default" option. makemcserver will automatically select the correct Java version from this list.
# Examples:
default: "java"
8: "/usr/lib/jvm/java-8-openjdk/jre/bin/java"To get the Modrinth ID for a mod, go to its page on the Modrinth website, click the three dots in the top right and click on "Copy ID".