Skip to content

Commit

Permalink
docs(readme): add legacy field to motd config
Browse files Browse the repository at this point in the history
  • Loading branch information
anweisen committed Feb 4, 2024
1 parent 2e6378e commit c9d181c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# JustMotd

A configurable socket server written in rust responding to packets via the minecraft protocol, providing a motd and disconnect information - for discontinued server projects
A configurable socket server written in rust responding to packets via the minecraft protocol,
providing a motd and disconnect information - for discontinued server projects or maintenance

## Setup

Expand Down Expand Up @@ -61,6 +62,9 @@ docker run -d -p 25565:25565 -v /your/path/to/conf:/app/conf -e CONFIG=conf/conf
// the motd text for pre1.16 clients, line separation with \n, colors with §
"text": "pre 1.16 text",

// the motd text for legacy clients (1.6 and older), only one short line, no colors in 1.3 and older
"legacy": "pre 1.16 text",

// 1.16 & older support custom rgb colors, fallback to "text" above if not set
"component": {
// generated with tools like https://colorize.fun/en/minecraft & https://minecraft.tools/en/json_text.php
Expand Down

0 comments on commit c9d181c

Please sign in to comment.