Switch to Fabric and Lithium

Signed-off-by: AKP <tom@tdpain.net>
This commit is contained in:
akp 2023-03-23 12:58:10 +00:00
parent 1a09e387d1
commit a72c53a279
No known key found for this signature in database
GPG key ID: AA5726202C8879B7
4 changed files with 12 additions and 1 deletions

10
copy.sh Normal file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -ex
OUTPUT="$1"
cp server.properties "$OUTPUT/server.properties"
mkdir -p "$OUTPUT/mods"
cp "lithium-fabric-mc1.19.4-0.11.1.jar" "$OUTPUT/lithium-fabric-mc1.19.4-0.11.1.jar"

Binary file not shown.

Binary file not shown.

View file

@ -6,7 +6,8 @@ docker run -dit --name mc --restart on-failure \
-v /root/data:/data \ -v /root/data:/data \
-e MEMORY=3G \ -e MEMORY=3G \
-e EULA=TRUE \ -e EULA=TRUE \
-e DATAPACKS=/data/multiplayer-sleep.zip \ -e VERSION=1.19.4 \
-e TYPE=FABRIC \
-p 25565:25565 \ -p 25565:25565 \
itzg/minecraft-server 1.19.4 itzg/minecraft-server 1.19.4