Skip to content

Commit a4bbff1

Browse files
committed
add quiltmc
1 parent 2aad265 commit a4bbff1

File tree

1 file changed

+103
-0
lines changed
  • docs/mscs/adjusting-world-server-properties

1 file changed

+103
-0
lines changed
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
---
2+
layout: default
3+
title: QuiltMC
4+
nav_order: 3
5+
parent: Adjusting World & Server Properties
6+
permalink: /docs/mscs/adjusting-world-server-properties/quiltmc
7+
---
8+
9+
# QuiltMC
10+
11+
[QuiltMC][quiltmc] has an easy to use installer that can be used to install all of the needed files to run a QuiltMC server. [Download][download] the QuiltMC installer `quilt-installer-x.x.x.jar` and run the following as the `minecraft` user (`sudo su minecraft`)
12+
13+
```bash
14+
mkdir -p /opt/mscs/server/quilt-{MINECRAFT_VERSION}
15+
cd /opt/mscs/server/quilt-{MINECRAFT_VERSION}
16+
wget {URL_TO_QUILT_INSTALLER}
17+
java -jar quilt-installer-{INSTALLER_VERSION}.jar \
18+
install server {MINECRAFT_VERSION} \
19+
--download-server
20+
```
21+
22+
> Replace `{INSTALLER_VERSION}` and `{MINECRAFT_VERSION}` as needed.
23+
24+
The installer should install the QuiltMC server jar to `/opt/mscs/server/quilt-{MINECRAFT_VERSION}/quilt-server-launch.jar`
25+
and a bunch of library files in `/opt/mscs/server/quilt-{MINECRAFT_VERSION}/libraries/`.
26+
27+
Create a new server (if necessary):
28+
29+
```bash
30+
mscs create quiltmc 25565
31+
```
32+
33+
`quiltmc` can be replaced with any name. Ensure that port `25565` is an unused port, or change it if nessessary.
34+
35+
This will create the directory `quiltmc` in `/opt/mscs/worlds` as well as the `server.properties` and `mscs.properties`
36+
files:
37+
38+
Change the directory to the world that was created:
39+
40+
```bash
41+
cd /opt/mscs/worlds/quiltmc
42+
```
43+
44+
Modify the `mscs.properties` file and add/alter these lines, replacing versions and file paths as needed:
45+
46+
```bash
47+
editor /opt/mscs/worlds/quiltmc/mscs.properties
48+
```
49+
50+
Add this
51+
52+
```ini
53+
mscs-client-version={MINECRAFT_VERSION}
54+
mscs-server-version={MINECRAFT_VERSION}
55+
mscs-server-jar=quilt-{MINECRAFT_VERSION}/quilt-server-launch.jar
56+
mscs-server-url=
57+
```
58+
59+
You may also want to increase the initial RAM and possibly even the maximum RAM.
60+
61+
> Minimum default is 128M
62+
> Maximum default is 2048M
63+
64+
```ini
65+
mscs-initial-memory=1024M
66+
mscs-maximum-memory=3048M
67+
```
68+
69+
If the server fails to start, the `eula.txt` file may need to be edited and accepted:
70+
71+
```bash
72+
editor /opt/mscs/worlds/quiltmc/eula.txt
73+
```
74+
75+
Change `false` to `true`
76+
77+
```ini
78+
eula=true
79+
```
80+
81+
Stop then Start the server:
82+
83+
```bash
84+
mscs stop quiltmc
85+
mscs start quiltmc
86+
```
87+
88+
The server should start up and run
89+
90+
The server startup can be monitored by running:
91+
92+
```bash
93+
mscs watch quiltmc
94+
```
95+
96+
Once you are done watching the server boot up, you can press `<Ctrl-C>` to detach.
97+
98+
Simply add mods as you would normally by dragging them into the `/opt/mscs/worlds/quiltmc/mods` folder, assuming `quiltmc`
99+
is the name of your world.
100+
101+
102+
[quiltmc]: https://quiltmc.org/en/
103+
[download]: https://quiltmc.org/en/install/server/

0 commit comments

Comments
 (0)