Base

Looking into config.yml

Localization

Whole resource using English localization as default.

To translate messages follow steps below:

  • Move to Locale folder of MelodyPlayer plugin

  • Just make duplicate of EN.yml file.

  • Rename it and write the name of the file into config.yml.

Example

#LocaleFile: EN.yml
Prefix: "&5&lMelody Player &6\u2771"
  ...
#LocaleFile: SK.yml (Slovak)
Prefix: "&5&lPrehrávač &6\u2771"
  ...
Locale:
  Primary: SK #Previously EN

Multi localization

Plugin is able to hold different localisations at the same time. It’s up to player, which localisation wants to display.

Secondary localizations do not have to contain all translations. In case of secondary translation does not contain requested path, the primary file is used to fetch data.

#config.yml
Locale:
  Primary: EN
  Secondary:
  - SK
  - CZ
  ...

Analytics

Plugin sends anonymous data such as version of this resource, your server version and addition data of configuration. These data will help me in future development. All requests are asynchronous, so it has no impact on server's performance.

If you don't want to share these data, you can easily disable it.

Analytics:
  Active: false

Data collected from your server about Melody Player

  • Server Version

  • Resource Version

{
   "Options":{
   }
}

Last updated