From 0832bb0c43d9ad7263c32e1befc4ecb1fd043f45 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sat, 11 Jun 2016 18:49:18 -0500 Subject: [PATCH] [mc] Update Spigot info in README For #80 and #79 --- minecraft-server/README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/minecraft-server/README.md b/minecraft-server/README.md index 57c9eaed..37b6b6d5 100644 --- a/minecraft-server/README.md +++ b/minecraft-server/README.md @@ -155,17 +155,22 @@ in either persistent volumes or a downloadable archive. Enable Bukkit/Spigot server mode by adding a `-e TYPE=BUKKIT -e VERSION=1.8` or `-e TYPE=SPIGOT -e VERSION=1.8` to your command-line. -The VERSION option should be set to 1.8, as this is the only version of CraftBukkit and Spigot currently -available. The latest build in this branch will be used. - - $ docker run -d -v /path/on/host:/data \ + docker run -d -v /path/on/host:/data \ -e TYPE=SPIGOT -e VERSION=1.8 \ -p 25565:25565 -e EULA=TRUE --name mc itzg/minecraft-server -You can install Bukkit plugins in two ways. - You can build spigot from source by adding `-e BUILD_FROM_SOURCE=true` +__NOTE: to avoid pegging the CPU when running Spigot,__ you will need to +pass `--noconsole` at the very end of the command line and not use `-it`. For example, + + docker run -d -v /path/on/host:/data \ + -e TYPE=SPIGOT -e VERSION=1.8 \ + -p 25565:25565 -e EULA=TRUE --name mc itzg/minecraft-server --noconsole + + +You can install Bukkit plugins in two ways... + ### Using the /data volume This is the easiest way if you are using a persistent `/data` mount.