ATMD 0195b42eea Fix regex to change gamemode value
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.
2017-06-29 21:53:26 +02:00
2017-05-02 21:29:17 +02:00
2015-12-22 10:19:48 -06:00
2015-03-05 15:10:28 -06:00
2014-05-17 15:38:17 -07:00
2017-04-29 07:52:59 -05:00

This repository contains the various Dockerfile definitions I'm maintaining.

Gitter

Discontinued

Cassandra

I have found the official image to be quite sufficient

Description
Languages
Shell 97.1%
Dockerfile 2.3%
Mermaid 0.6%