/minecraft-forge

Docker images for minecraft-forge

Primary LanguagePythonMIT LicenseMIT

Minecraft Forge

These are docker images for Minecraft Forge running on an Vanilla Minecraft.

Usage

docker run --name minecraft-data busybox true

docker run -d -p 25565:25565 \
  --volumes-from minecraft-data \
  --name minecraft \
  webhippie/minecraft-forge:latest

# Execute this for further available commands
docker exec -ti minecraft manage help

Versions

Available environment variables

ENV SERVER_MAXHEAP 2048M
ENV SERVER_MINHEAP 512M
ENV SERVER_MAXPERM 128M
ENV SERVER_OPTS nogui
ENV SERVER_MOTD Minecraft
ENV SERVER_RCONPWD webhippie
ENV SERVER_DYNMAP true
ENV JAVA_OPTS -server -XX:+UseConcMarkSweepGC

Available management commands

Usage: manage <command> [<args>]

Some useful manage commands are:
   commands          List all available sub commands
   console           Start interactive console
   deop              Deop a specific player
   op                Op a specific player
   save-all          Save the current world state
   save-off          Disable the autosave feature
   save-on           Enable the autosave feature
   say               Say something on the server
   weather-clear     Set the weather to clear
   weather-rain      Set the weather to rain
   weather-thunder   Set the weather to thunder
   whitelist-add     Add player to whitelist
   whitelist-list    Whitelist on the server
   whitelist-off     Disable the whitelist
   whitelist-on      Enable the whitelist
   whitelist-reload  Reload the whitelist
   whitelist-remove  Remove player from whitelist

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

MIT

Copyright

Copyright (c) 2015 Thomas Boerger http://www.webhippie.de