Skip to content

Localization

kangarko edited this page Oct 8, 2018 · 3 revisions

Want to change messages like "You have died and have x lives left?" or any other in the plugin?

CoreArena speaks your language! We offer a total customization of most in-game messages (except menus) so you can completely hide the fact that you are using CoreArena on your server and change the theme of your arena messages to your liking.

Editing or Your Localization

You can create your own unique localization in few simple steps. If you make an unique localization, you are welcome to send it to me and receive credits!

P.S.: The images below are from another plugin but the principles are exactly the same.

To avoid data loss, you are encouraged to have your server shut down when manipulating with files.

1. Find what your current locale is

Navigate to your settings.yml file and find the value assigned to the Locale key. settings.yml

2. Make 'localization' folder

Go to your CoreArena/ directory within your plugins/ folder, and make a new localization/ folder. Make New Folder

3. Launch server

Start your server again. A new file will appear in the localization folder, filled with the localized messages, and the console will inform what exact messages were placed into the file. Launch Server

4. Done! Now you are ready to edit your localization.

You localization file should now be filled with all the default values. You may edit it to your liking. It will be updated with new keys as the plugin updates. The console will then inform you about the changes. Edit the File