diff --git a/fighter/config/minecraft/README.md b/fighter/config/minecraft/README.md index 903072d..06bf3c8 100644 --- a/fighter/config/minecraft/README.md +++ b/fighter/config/minecraft/README.md @@ -1,3 +1,19 @@ +# Setting up a new modded server +We'll use Enigmatica10 for example here. +1. Download the server pack. The specific way to do this varies by pack. + 1. For E10, this means navigating to the [curseforge page](https://www.curseforge.com/minecraft/modpacks/enigmatica10). + 2. Then scrolling down the right side to find the section for "Server Packs". + 3. Select the most recent (`Enigmatica 10 Server 1.0.1`) pack. + 4. Click the Download button. I assume we're downloading the file to `~/Downloads/` +2. Copy the zip over to Fighter's configured storage location for Minecraft and extract it. + 1. Find Fighter's configured storage location for Minecraft. `DIR=$(ssh admin@192.168.1.23 cat /home/admin/homelab/fighter/config/minecraft/.env | head -n 1 | cut -d'=' -f2) && echo $DIR` + 2. Copy the zip over. `scp ~/Downloads/Enigmatica10Server-1.0.1.zip admin@192.168.1.23:$DIR` + 3. Extract and then delete the zip. `ssh admin@192.168.1.23 "cd $DIR && mkdir e10 && unzip Enigmatica10Server-1.0.1.zip -d e10 && rm Enigmatica10Server-1.0.1.zip" +3. + + +# Post-Setup + ## Connecting to a server's CLI To connect to a server's RCON Minecraft console, run `docker exec -it minecraft_e6 rcon-cli --password thanksitzg` diff --git a/fighter/config/minecraft/docker-compose.yml b/fighter/config/minecraft/docker-compose.yml index 86311bf..66ddba4 100644 --- a/fighter/config/minecraft/docker-compose.yml +++ b/fighter/config/minecraft/docker-compose.yml @@ -24,18 +24,18 @@ services: labels: - traefik.enable=false - prominence: + e10: image: itzg/minecraft-server:latest - container_name: minecraft_prominence + container_name: minecraft_e10 env_file: - path: ./minecraft.env required: true - path: ./minecraft_secrets.env required: false - - path: ./prominence.env + - path: ./e10.env required: true volumes: - - $DOCKER_DATA/prominence:/data:rw + - $DOCKER_DATA/e10:/data:rw networks: - minecraft restart: "no" diff --git a/fighter/config/minecraft/e10.env b/fighter/config/minecraft/e10.env new file mode 100644 index 0000000..ec94f97 --- /dev/null +++ b/fighter/config/minecraft/e10.env @@ -0,0 +1,3 @@ +MOD_PLATFORM=AUTO_CURSEFORGE +TYPE=AUTO_CURSEFORGE +CF_PAGE_URL=https://www.curseforge.com/minecraft/modpacks/enigmatica10 \ No newline at end of file diff --git a/fighter/config/minecraft/prominence.env b/fighter/config/minecraft/prominence.env deleted file mode 100644 index 161d4a3..0000000 --- a/fighter/config/minecraft/prominence.env +++ /dev/null @@ -1,3 +0,0 @@ -MOD_PLATFORM=AUTO_CURSEFORGE -TYPE=AUTO_CURSEFORGE -CF_SLUG=prominence-2-fabric \ No newline at end of file