Documentation/Language Files

 

Language files


Where can I find language file?

The default language file, which should be 'en_US.yml', is located in your plugins folder, and then 'ClockSign\lang'. You can have an infinite amount of language files there.

How do I configure the values?

Opening a language file is recommended to do with Notepad Plus Plus, which can be downloaded here.

You can simply edit all the messages however you want to. Just be sure to always include any used variable in that message to prevent certain information to not be shown. However, always have the message surrounded like 'this', to prevent the plugin from ending the message early.

If you do not have the default language file anymore, you can reload or restart your server, and a new one should be generated automaticly.

Troubleshooting


Some messages won't show up correctly.

When configuring messages, you should always have the message surrounded with two '. If you want to use ' in the message, you should use two instead. For example:

definedMessage: 'Showing 'Message'.'

should be:

definedMessage: 'Showing ''Message''.'

If you still have problems with the displaying of messages, please report this error to me, by creating a ticket on the Issues page.