toggle menu
HMCWraps API
1.5.1
jvm
switch theme
search in API
HMCWraps API
/
de.skyslycer.hmcwraps.messages
/
MessageHandler
Message
Handler
public
interface
MessageHandler
Members
Functions
get
Link copied to clipboard
public
abstract
String
get
(
Messages
key
)
Get a message based on its key.
load
Link copied to clipboard
public
abstract
boolean
load
(
Path
path
)
Load messages from a path.
send
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.
update
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 .