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:
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!'type | Sent as |
|---|---|
TCHAT | Chat (the default) |
ACTION_BAR | Action bar |
TCHAT_AND_ACTION_BAR | Both |
TITLE | Title and subtitle |
BOSS_BAR | Boss bar |
WITHOUT_PREFIX | Chat, without the plugin prefix |
NONE | Not sent |
Last updated on