Provide option to escape unicode in server.properties

This commit is contained in:
Geoff Bourne committed 2023-11-10 22:46:25 -06:00
1 parent bf621356c1
commit f5c332736d
3 files changed
+7 -1

No files matched your search

+4
View File
@@ -24,6 +24,10 @@ renders
![](../img/motd-example.png)
!!! note "Escape unicode"
Some Minecraft versions and server types do not support unicode characters, such as §, in `server.properties`. In those cases, an extra "\u00C2" will appear in the file and the client will render those as  characters. Unicode characters can be written as escaped codes by setting the environment variable `SERVER_PROPERTIES_ESCAPE_UNICODE` to "true".
To produce a multi-line MOTD, embed a newline character as `\n` in the string, such as
-e MOTD="Line one\nLine two"