From 7797bf23fb251702f6db7373e8a98bc6cfb13aaf Mon Sep 17 00:00:00 2001 From: Aitor Ramos Sasselli Date: Mon, 6 Nov 2017 09:52:26 +0100 Subject: [PATCH] Added optional parameters on SpongeVanilla server --- minecraft-server/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/minecraft-server/README.md b/minecraft-server/README.md index 337bb8be..d6b241cb 100644 --- a/minecraft-server/README.md +++ b/minecraft-server/README.md @@ -401,9 +401,17 @@ like `MOTD`. ## Running a SpongeVanilla server Enable SpongeVanilla server mode by adding a `-e TYPE=SPONGEVANILLA` to your command-line. +By default the container will run the latest `STABLE` version. +If you want to run a specific version, you can add `-e SPONGEVERSION=1.11.2-6.1.0-BETA-19` to your command-line. docker run -d -v /path/on/host:/data -e TYPE=SPONGEVANILLA \ -p 25565:25565 -e EULA=TRUE --name mc itzg/minecraft-server + +You can also choose to use the `EXPERIMENTAL` branch. +Just change it with `SPONGEBRANCH`, such as: + + $ docker run -d -v /path/on/host:/data ... \ + -e TYPE=SPONGEVANILLA -e SPONGEBRANCH=EXPERIMENTAL ... ## Using Docker Compose