ToolSet / com.zndevs.toolset.tools / CommandResponse / getMessage

getMessage

fun getMessage(messageConfig: ConfigurationSection, messageConfigPath: String, defaultMessage: String): String

Gets a message from the configuration

Parameters

messageConfig - Configuration section to get message from

messageConfigPath - Configuration path that message exists in

defaultMessage - Message to display if configuration path doesn’t exist

Return Message