getMessage

public abstract String getMessage(String key, Map<? extends Object, ? extends Object> placeholders)

Gets the message from they key of the current lang file

Return

The parsed string from the lang file key

Parameters

key

The config key to get the message of

placeholders

The placeholders, you make a Map<The User Placeholder, What to replace it with>. If it is like Map.of("skin_name", skin.name(), if the user puts in the message {skin_name}, it will replace it with the contents of skin.name()


public abstract String getMessage(String key)

Gets the message from they key of the current lang file

Return

The string from the key in the lang file

Parameters

key

The config key to get the message of