mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-16 21:44:55 +00:00
docs: described unicode conversion for MOTD
This commit is contained in:
+2
-1
@@ -59,7 +59,8 @@ RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \
|
|||||||
--var version=0.1.1 --var app=maven-metadata-release --file {{.app}} \
|
--var version=0.1.1 --var app=maven-metadata-release --file {{.app}} \
|
||||||
--from https://github.com/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
|
--from https://github.com/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
|
||||||
|
|
||||||
ADD https://jitpack.io/com/github/itzg/asciify/1.0.0/asciify-1.0.0.jar /usr/share/asciify/asciify.jar
|
ARG ASCIIFY_VERSION=1.0.1
|
||||||
|
ADD https://jitpack.io/com/github/itzg/asciify/${ASCIIFY_VERSION}/asciify-${ASCIIFY_VERSION}.jar /usr/share/asciify/asciify.jar
|
||||||
RUN chmod -R a+r /usr/share/asciify
|
RUN chmod -R a+r /usr/share/asciify
|
||||||
|
|
||||||
COPY mcstatus /usr/local/bin
|
COPY mcstatus /usr/local/bin
|
||||||
|
|||||||
@@ -969,7 +969,7 @@ For example:
|
|||||||
|
|
||||||
### Message of the Day
|
### Message of the Day
|
||||||
|
|
||||||
The message of the day, shown below each server entry in the UI, can be changed with the `MOTD` environment variable, such as
|
The message of the day, shown below each server entry in the client UI, can be changed with the `MOTD` environment variable, such as
|
||||||
|
|
||||||
-e MOTD="My Server"
|
-e MOTD="My Server"
|
||||||
|
|
||||||
@@ -979,6 +979,14 @@ If you leave it off, a default is computed from the server type and version, suc
|
|||||||
|
|
||||||
That way you can easily differentiate between several servers you may have started.
|
That way you can easily differentiate between several servers you may have started.
|
||||||
|
|
||||||
|
The section symbol (§) and other unicode characters are automatically converted to allow [formatting codes](https://minecraft.fandom.com/wiki/Formatting_codes) to be used consistently with all server versions. For example,
|
||||||
|
|
||||||
|
-e MOTD="A §l§cMinecraft§r §nserver"
|
||||||
|
|
||||||
|
renders
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### PVP Mode
|
### PVP Mode
|
||||||
|
|
||||||
By default, servers are created with player-vs-player (PVP) mode enabled. You can disable this with the `PVP`
|
By default, servers are created with player-vs-player (PVP) mode enabled. You can disable this with the `PVP`
|
||||||
|
|||||||
Reference in New Issue
Block a user