Updated Fabric & some other stuff

This commit is contained in:
Jef Roosens 2021-01-26 14:05:59 +01:00
parent 67af9ed723
commit 2f9490cef6
8 changed files with 116 additions and 160 deletions

View file

@ -43,11 +43,11 @@ end of the `Dockerfile` to the following:
```
ENTRYPOINT java \
-Xms"${XMS}G" \
-Xmx"${XMX:-$XMS}G" \
-jar /app/server.jar \
--universe /app/worlds \
--nogui
-Xms"${XMS:-$XMX}G" \
-Xmx"${XMX}G" \
-jar /app/server.jar \
--universe /app/worlds \
--nogui
```
This will only use the flags absolutely necessary, while still allowing you to

View file

@ -9,7 +9,7 @@ echo "${MC_VERSION}, PaperMC v${PAPERMC_VERSION}" >> /app/config/versions.txt
XMS="${XMS:-$XMX}"
# Launch the actual server
java \
exec java \
-Xms"${XMS}G" \
-Xmx"${XMX:-$XMS}G" \
-XX:+UseG1GC \