BG-Software
Search…
Messages
Here you can find all the information that is needed in order to configurate messages of the plugin.
You can edit every message that you want that is inside the language files. Most of the messages are configured (about 99% of them), and you can edit them however you want. Some of them has built-in laceholders for displaying information about the action that was done. For example, the player that did the action, the target of the action, etc.
In addition to the built-in placeholders, all of the messages support placeholders from PlaceholderAPI and MVdWPlaceholderAPI, which you can find on the main page. Furthermore, you can make more complex messages. For example, clickable messages with hoverable text and such.

Raw Messages

Raw messages are messages that only have a message without any extras - not clickable, not sent as an action bar or anything else. These messages are very simple to be editted. All you have to do is just edit the message as a string, and that's it!
1
RAW_MESSAGE: 'I am a raw message without any extras! &aColors are also supported! &{HEX:4e87ee}Even hex colors in 1.16 are supported!'
2
NEW_LINE_MESSAGE: |
3
&aThis is the first line.
4
&6This is the second line.
5
&cYou can add unlimited lines :D
Copied!

Complex Messages

Complex messages are messages that can have extra actions to them. Action bars, titles, hoverable text and such, are all in this category.

Action Bars

You can send action bars, the messages above the hotbar, by using the following format:
1
MESSAGE:
2
action-bar:
3
text: '&aThis will be sent as an action bar!'
Copied!

Titles

You can send titles, the big message in the middle of the screen, by using the following format:
1
MESSAGE:
2
title:
3
title: '&aThe bigger text' # If you don't want that to be sent, set this section to ''.
4
sub-title: '&6The smaller text' # If you don't want that to be sent, set this section to ''.
5
fade-in: 20 # Fade in duration (in ticks).
6
fade-in: 60 # Message duration (in ticks).
7
fade-out: 20 # Fade out duration (in ticks).
Copied!

Interactable Messages

You can send interactable messages that can execute commands or have hoverable text, by using the following format:
1
MESSAGE:
2
a: # Random, but unique key.
3
text: '&aI am hoverable text.'
4
tooltip: '&6Hidden message!'
5
b:
6
text: '&6 I can execute commands, and I will be after the first message.'
7
command: '/gmc'
Copied!

Custom language file

Creating a new language file is very easy task to do. All you need to do is to copy the en-US.yml file, rename it with a valid language format, and that's it! You can find a list of available language formats here. After you have the new file, you can edit it with the same technics that are explained above. When a new version comes out with new messages, your custom file will be updated automatically with the new messages, but in English.
Last modified 1mo ago