Package net.okocraft.box.api.message
Interface MessageProvider
public interface MessageProvider
An interface that provides a localized
MiniMessageSource
for CommandSender
s.-
Method Summary
Modifier and TypeMethodDescription@NotNull com.github.siroshun09.messages.minimessage.source.MiniMessageSource
findSource
(@NotNull org.bukkit.command.CommandSender sender) Gets a localizedMiniMessageSource
forCommandSender
s.
-
Method Details
-
findSource
@NotNull @NotNull com.github.siroshun09.messages.minimessage.source.MiniMessageSource findSource(@NotNull @NotNull org.bukkit.command.CommandSender sender) Gets a localizedMiniMessageSource
forCommandSender
s.- Parameters:
sender
- aCommandSender
- Returns:
- a localized
MiniMessageSource
or default one
-