mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
Fixes #196 makes it possible to add server port as a env.
This commit is contained in:
parent
6ef6bc68c2
commit
423b45cb7b
@ -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 New Issue
Block a user