mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-10 14:24:28 +00:00
Fixes #196 makes it possible to add server port as a env.
This commit is contained in:
parent
6ef6bc68c2
commit
423b45cb7b
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ if [ ! -e $SERVER_PROPERTIES ]; then
|
|||
setServerProp "white-list" "true"
|
||||
fi
|
||||
|
||||
setServerProp "server-port" "$SERVER_PORT"
|
||||
setServerProp "motd" "$MOTD"
|
||||
setServerProp "allow-nether" "$ALLOW_NETHER"
|
||||
setServerProp "announce-player-achievements" "$ANNOUNCE_PLAYER_ACHIEVEMENTS"
|
||||
|
|
Loading…
Reference in a new issue