2. Configuration

Inside file /plugins/LTItemMail/config.yml there is a few important settings.


plugin:
    language: 'english'
    tag: '&6[LTIM]'

plugin.language: Sets the language that will be used for commands and activities of the plugin. You can choose between:

  • english: English US

  • portuguese: Portuguese BR

  • vietnamese: Vietnamese, currently obsolete due to lack of update.

plugin.tag: Sets the plugin tag that will show in some plugin messages. You can customize it using bukkit color and formatting codes: https://htmlcolorcodes.com/bukkit-color-codes/

Exemplo de tag definida no arquivo config.yml

database.type: Sets the data storage type. You can choose between:

  • flatfile: A local file extracted inside plugin folder

  • mysql

database.convert: Imports data from the old storage type to the new one.

If you are using the local file (flatfile) for data storage, you must set the plugin to use MySQL and activate database conversion.

It is also possible to convert from MySQL to flatfile if you set the plugin to use the local file (keeping MySQL login configured) and activating the database conversion.

database.mysql.host: MySQL server host (IP:Port).

database.mysql.user: MySQL username.

database.mysql.password: MySQL password.

database.mysql.database: MySQL database name.


mail.display: You can choose to show new mail notification as a title, chat message or toast notification.

Examples:

  • CHAT:

Chat notification
  • TITLE:

Title notification
  • TOAST:

Toast notification

mail.cost.per-item: If enabled, mail price will be multiplied by the number items inside mail inventory.

mail.cost.value: Sets the current mail price.

mail.name: Sets the mail inventory name. You can customize it using bukkit color and formatting codes: https://htmlcolorcodes.com/bukkit-color-codes/

Exemplo de nome definido no arquivo config.yml

Configuration file:


Language files:

Portuguese (BR):

English (US):

Vietnamese (obsolete):

Last updated