Lang Configuration
Here you can view all the configuration, examples and options for creating messages in Player Economy.
Language Support
Player Economy supports multi language support currently there is not many languages that it supports, thats where you can help us! If you wish, you can give us your translation of Player Economy and we will upload it to our webserver where every server can access it in the lang folder.
If you wish to change the plugin language you can change this in the config.yml
and then select the languages in the lang folder to use. Make sure you put the exact file name without the file extension (.yml) in the config.yml
.
JSON Messages
Player Economy 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 @p
from 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
Player Economy 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
Player Economy 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.
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