Skip to content

Commit dc591df

Browse files
committed
Create a readme file
1 parent ca43e4b commit dc591df

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# makemcserver
2+
3+
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 installs the [Fabric mod loader](https://fabricmc.net/) when possible. Additionally, it allows you to install mods from [Modrinth](https://modrinth.com/) of your choice which you can specify in a config file.
4+
5+
## Configuration
6+
7+
The configuration is stored as a YAML file which can be in the following locations:
8+
* `makemcserver.yml` in the current working directory
9+
* On Linux: `XDG_CONFIG_HOME/makemcserver/makemcserver.yml` (usually this is `~/.config/makemcserver/makemcserver.yml`)
10+
* On Windows: `%AppData%\makemcserver\Config\makemcserver.yml`
11+
* On Mac: `~/Library/Preferences/makemcserver/makemcserver.yml`
12+
* `.makemcserver.yml` in your home directory
13+
14+
It can be formatted like this (all three major sections are optional):
15+
```yml
16+
defaultMods:
17+
# A list of the mods which should always be installed on the server when possible, as their Modrinth IDs.
18+
# Example:
19+
- "P7dR8mSH" # Fabric API
20+
21+
modPresets:
22+
# A list of Modrinth mod IDs which you can choose to install each time you create a new server. This can be structured in a variety of ways.
23+
# Examples:
24+
"Optimization":
25+
default: true
26+
mods:
27+
- "gvQqBUqZ" # Lithium
28+
- "uXXizFIs" # FerriteCore
29+
- "NRjRiSSD" # Memory Leak Fix
30+
- "fQEb0iXm" # Krypton
31+
- "VSNURh3q" # C2ME
32+
- "KuNKN7d2" # Noisium
33+
"spark":
34+
default: true
35+
mods: "l6YH9Als"
36+
"No Chat Reports": "qQyHxfxd"
37+
"Simple Voice Chat": "9eGKb6K1"
38+
39+
javaPaths:
40+
# 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.
41+
# Examples:
42+
default: "java"
43+
8: "/usr/lib/jvm/java-8-openjdk/jre/bin/java"
44+
```
45+
46+
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".

0 commit comments

Comments
 (0)