-
Notifications
You must be signed in to change notification settings - Fork 21
Localization
Matej edited this page Jan 2, 2025
·
9 revisions
Here, you'll learn how to change messages like "Wait (x) seconds before chatting again" in antispam, in" /chc announce" and many, many more.
Important: Some messages cannot be reloaded, you have to do a clean restart.
For a list of languages we support natively, see the Locale
key in settings.yml
.
- Type /chc dumplocale in the game. We will generate a lang/en_US.json file (or whatever language you used in the
Locale
key insettings.yml
. - Edit the file to your liking. Set a message to "none" to hide it if an empty value does not work.
- If a new version of the plugin adds more lang keys, simply re-run the command again to update your disk file. We will default to the embedded lang file in our plugin jar if a key is missing.
Make sure you save the language file in UTF-8 encoding. See Encoding for a tutorial.
You can either remove them completely in language file (search for "prefix-"), or prepend messages that should not have them added with "@noprefix" such as this example.
© MineAcademy | Code Unique Minecraft Plugins & Servers In 20 Days
Installation
Troubleshooting
Basics
Learn
- Channels
- Formats
- Rules
- Rules Creator
- Messages
- Variables
- JavaScript Variables
- Running JavaScript Code
- Logs
- Spying
- Books
Tweaking
- Performance
- Chat Bots
- Groups
- Sound Notify
- Newcomer
- Super Cool Messages
- Custom Commands
- Listener Priorities
- JSON
- API
Tutorials
About