# Language

Language configs located in the /lang/ directory inside the plugin folder. On first install (or if no lang directory exists) plugin will extract premade translations stored in the plugin's .jar.

Plugin language can be changed in the engine.yml config file located in the plugin folder.

# Line Breaks

You can add or remove multiple lines to almost any message in the lang config.

Insert the new line tag anywhere inside the message to break the line:

Message: 'You dont have permissions<br>to do that!'

Alternatively, you can split messages with the YAML syntax:

Message:
- 'You dont have permissions'
- 'to do that!'

# Message Options

There are a few options available for the messages that may be useful for customization.

Message options must be in square brackets [], separated by commas, and placed right before the message text (or on the first line for multi-line messages).

Example of a message with sound.

SomeMessage: '[sound="minecraft:entity.villager.no;0.8;1.0"]You dont have permission to do that!'

Example of a title message.

SomeMessage: 
- '[type="title",title_times="20:60:20"]'
- 'Hello!'
- 'Have are you?'

Whether to use plugin's prefix.

Format: [prefix="false"] or [prefix="true"]

Sets message output type.

Format: [type="chat"]

Available Types:

  • chat - Sends message in chat (used by default).
  • action_bar - Sends message in action bar.
  • title - Sends message as titles.
  • silent - Silent (disable) the message.

Sets title times for the title messages.

Format: [title_times="x:y:z"], where x is fade in, y is stay, z is fade out ticks. Defaults are 20:60:20.

Adds sound to the message.

Format: [sound="name;volume;pitch"] where name is sound name, volume is volume value, pitch is pitch value.

Applies PlaceholderAPI placeholders.

Format: [placeholders="true"]