Skip to Content
1robie
Configuration

Messages & languages

Choose the plugin's language, edit its messages, and send them as chat, action bar, title or boss bar.

Language

Set language in config.yml to EN, FR or DE, then /cec reload. Messages are read from plugins/CraftEngineConverter/translations/<language>/messages.yml.

Editing a message

Each message is a key in messages.yml. A plain string, or a list of lines, is sent in chat:

translations/en/messages.yml
command:
  reload:
    success: 'Β§aPlugin configuration and messages reloaded in Β§c%time%Β§a.'

Placeholders between % (%time%, %plugin%, %chunks%…) are filled in by the plugin; each message only knows its own. Colours use the codes of the shipped file: Β§a style codes and &#RRGGBB hex colours.

Do not edit version at the top of the file: the plugin uses it to update the file.

Other ways to send a message

Wrap a message in a map with a type to send it elsewhere:

command:
  help:
    type: ACTION_BAR
    message: 'Hello world!'
typeSent as
TCHATChat (the default)
ACTION_BARAction bar
TCHAT_AND_ACTION_BARBoth
TITLETitle and subtitle
BOSS_BARBoss bar
WITHOUT_PREFIXChat, without the plugin prefix
NONENot sent

Last updated on

On this page