Create: Above and Beyond

Create: Above and Beyond

2M Downloads

Include an install.sh in the server zip for easy use with itzg/docker-minecraft

danielkinahan opened this issue ยท 1 comments

commented

For easy use with itzg/minecraft-docker you could include a file named install.sh in the archive with the contents:
java -jar forge-1.16.5-36.2.20-installer.jar --installServer

Also it would be nice to have an example docker command or compose file. Here is mine:

version: "3"

services:
  mc:
    image: itzg/minecraft-server:java8
    environment:
      EULA: "true"
      DEBUG: "true"
      TYPE: CURSEFORGE
      VERSION: 1.16.5
      CF_SERVER_MOD: Above+and+Beyond-1.3-Server.zip
      #Zip file must be in local minecraft-data folder
    ports:
      - "25565:25565"
    restart: unless-stopped
    tty: true
    stdin_open: true
    volumes:
      - ./minecraft-data:/data
commented

I am using itzg/docker-minecraft and this feature would be great!