-
Hello, this is a rather minor issue but I'm unable to perform a line break in my MOTD. Also, when manually editing a MOTD in the server.properties, I'm able to add spaces to center my MOTD. When my docker-compose runs, the spaces aren't passed along. After passing the below MOTD in my compose file, half of the message is oddly placed further down the server.properties file. |
Beta Was this translation helpful? Give feedback.
Answered by
itzg
Dec 6, 2022
Replies: 1 comment 5 replies
-
This version: "3"
services:
mc:
image: itzg/minecraft-server
environment:
EULA: "true"
MOTD: "line one\nline two"
ports:
- "25565:25565" |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
Ahptt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Newlines in server properties values need an extra backslash to escape the backslash😃This
results in