diff --git a/README.md b/README.md index 662b85440e0..3dc77fc928d 100644 --- a/README.md +++ b/README.md @@ -1002,6 +1002,10 @@ renders ![](docs/motd-example.png) +To produce a multi-line MOTD, you will need to double escape the newline such as + + -e MOTD="Line one\\nLine two" + ### Difficulty The difficulty level (default: `easy`) can be set like: diff --git a/scripts/start-deployVanilla b/scripts/start-deployVanilla index bd33947ae88..870cc61be59 100755 --- a/scripts/start-deployVanilla +++ b/scripts/start-deployVanilla @@ -8,7 +8,6 @@ set -o pipefail export SERVER="minecraft_server.${VANILLA_VERSION// /_}.jar" if [ ! -e "$SERVER" ] || [ -n "$FORCE_REDOWNLOAD" ]; then - log "Locating download for $SERVER ..." debug "Finding version manifest for $VANILLA_VERSION" versionManifestUrl=$(get 'https://launchermeta.mojang.com/mc/game/version_manifest.json' | jq --arg VANILLA_VERSION "$VANILLA_VERSION" --raw-output '[.versions[]|select(.id == $VANILLA_VERSION)][0].url') result=$? @@ -30,6 +29,7 @@ if [ ! -e "$SERVER" ] || [ -n "$FORCE_REDOWNLOAD" ]; then exit 1 fi + log "Downloading $VANILLA_VERSION server..." debug "Downloading server from $serverDownloadUrl" get -o "$SERVER" "$serverDownloadUrl" result=$?