From 074424a5bdbbd4f5c8b580226f889d68cde35e35 Mon Sep 17 00:00:00 2001 From: Jim Tremblay Date: Wed, 3 Aug 2016 21:58:07 -0400 Subject: [PATCH] Add section about new option ONLINE_MODE --- minecraft-server/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/minecraft-server/README.md b/minecraft-server/README.md index 4df93e1b..9db5f0fb 100644 --- a/minecraft-server/README.md +++ b/minecraft-server/README.md @@ -537,6 +537,12 @@ To use this option pass the environment variable `MODPACK`, such as top level of the zip archive. Make sure the jars are compatible with the particular `TYPE` of server you are running. +### Online mode + +By default, server checks connecting players against Minecraft's account database. If you want to create an offline server or your server is not connected to the internet, you can disable the server to try connecting to minecraft.net to authenticate players with environment variable `ONLINE_MODE`, like this + + docker run -d -e ONLINE_MODE=FALSE ... + ## JVM Configuration ### Memory Limit