MessageHandler

public interface MessageHandler

Functions

Link copied to clipboard
public abstract String get(Messages key)
Get a message based on its key.
Link copied to clipboard
public abstract boolean load(Path path)
Load messages from a path.
Link copied to clipboard
public abstract void send(CommandSender sender, Messages key, Array<TagResolver.Single> placeholders)
Send a message to a sender with replacing placeholders.
Link copied to clipboard
public abstract void update(Path path)
Try to update the given .properties file by adding missing messages, which are present in the internal .