mirror of
https://github.com/SunNetservers/MiniGames.git
synced 2025-12-04 01:48:46 +01:00
Makes all messages configurable
This commit is contained in:
14
README.md
14
README.md
@@ -259,6 +259,20 @@ Example tags:
|
||||
- +FENCE_GATES
|
||||
- +FENCES
|
||||
|
||||
## Language customization
|
||||
|
||||
Most or all strings are customizable. If you place a strings.yml file in the plugin folder, it will take
|
||||
priority over built-in languages. If you want to change strings, look at MiniGames/src/main/resources/strings.yml for
|
||||
the proper keys. All strings have the format: ENUM: "Displayed string". The enum must be identical as it defines which
|
||||
string you have changed. All strings belonging to a language are beneath the language code and indented with two spaces.
|
||||
|
||||
The easiest way to add a new language is to copy an existing language and paste it into your custom strings.yml and
|
||||
change strings as necessary. If you don't include all strings, the remaining will use the built-in English translation.
|
||||
Remember to change the language code to whichever you use for your custom language.
|
||||
|
||||
The interval messages are unique in that if several values are separated by comma (option1,option2,option3), a random
|
||||
message will be chosen each time it's displayed.
|
||||
|
||||
## License
|
||||
|
||||
MiniGames is licensed under the GNU Public License Version 3.0. This includes every source and resource file. See the
|
||||
|
||||
Reference in New Issue
Block a user