mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
Docker image that provides a Minecraft Server that will automatically download selected version at startup
0195b42eea
The sed command `sed -i "/gamemode\s*=/ c gamemode=$MODE" $SERVER_PROPERTIES` matches all lines containing `gamemode=`. This includes the line `force-gamemode` that is set it with `setServerProp "force-gamemode" "$FORCE_GAMEMODE"` So basically the `force-gamemode` line is erased and the `gamemode=value` line is duplicated, and then the server cleans it up at start and deduplicates the `gamemode` line and create a new `force-gamemode` line with a default value. This fix ensures that only the `gamemode=` line is modified when changing the gamemode value. |
||
---|---|---|
devbox | ||
elasticsearch | ||
elasticsearch-marvel | ||
gitblit | ||
gvm | ||
jekyll-github-pages | ||
jenkins | ||
kibana | ||
logstash | ||
minecraft-server | ||
spring-boot | ||
titan-gremlin | ||
titandb | ||
ubuntu-openjdk-7 | ||
.gitattributes | ||
.gitignore | ||
build | ||
circle.yml | ||
LICENSE | ||
README.md |
This repository contains the various Dockerfile definitions I'm maintaining.
Discontinued
Cassandra
I have found the official image to be quite sufficient