Lang Configuration

Here you can view all the configuration, examples and options for creating messages in Night Market.

JSON Messages

Night Market supports the ability to use JSON formatting in your messages, for you to add clickable commands, hover events and more!

If you wish to add colors to your JSON text, you'll find that the client will stop registering the color when it goes on the next line. You can use the in-built JSON color to solve that.

For you to easily create the JSON format, you can use this site here and start to create text. Then copy the command it gives you and remove the /tellraw @pfrom the command so its just JSON.

Also, make sure you select the version below on the site that you're using, have fun creating cool looking JSON messages!

If you need some help formatting or using the site to format your JSON, come and join our discord and we will help you!

MiniMessage Support

Night Market supports the MiniMessage library, this allows you to easily add clickable commands, hover events and more! You can use this generator here to make your life so much easier.

MiniMessage is more advanced, morden and easier than using JSON Messages. All you need to do is make sure you have the proper message syntax in your message and the plugin will recognise it as a mini message.

Please note that MiniMessage is only supported from 1.16.5 and above, for an alternative you will need to use JSON messages.

Message Placeholders

Night Market supports all types of message placeholders that you can use in your messages, there are two types of placeholders and these are global and individual. Global placeholders allow you to use these placeholders in any message of the plugin. Individual placeholders are only set placeholders for that specific message.

Here is a list of the current global placeholders. Remember, you can also use PlaceholderAPI placeholders in all the messages as well.

PlaceholderDescription

%prefix%

Shows the prefix set in your lang file.

%player%

Shows the players name that is receiving the message.

%displayname%

Shows the display name of the player that is receiving the message.

If you're looking for the individual placeholders, the default placeholders that can be used in that message is in the default configuration for that message already.

Last updated