Skip to main content

About

What does this config do?

The server_message_templates.json config is used by servers to customize 'templates', which are used by the server to configure pieces of messages using dynamic replacements. Currently, this config is only used by webhooks.

How to use the config

Unlike the client message templates, server_message_templates.json does not use any markup or translation.

In the config, note that all whitespace is there intentionally to make message pieces connect together. Keep spacing in mind so you don't end up with double/no spaces. If you need to add multiple lines, use the \n newline character.

danger

DO NOT edit configVersion.

Placeholders

You'll notice in the config that there are a bunch of %s. These are placeholders for String values which get replaced at runtime with new values for each alert. For more information, see the Minecraft wiki.

For examples, see message templates, but note that the server message templates should not use markup.