Add a section in the config to allow for messages to be configured
Possible implementation
Use getConfig().getString(key, defValue) to get the message from the config and provide a default value in-case message is not stored in the config, this avoids null being sent to the player.
Add a section in the config to allow for messages to be configured
Possible implementation
Use
getConfig().getString(key, defValue)
to get the message from the config and provide a default value in-case message is not stored in the config, this avoidsnull
being sent to the player.