Class MessageService
java.lang.Object
dev.peri.yetanothermessageslibrary.SimpleMessageService<C>
dev.peri.yetanothermessageslibrary.SimpleSendableMessageService<org.bukkit.command.CommandSender,MessageConfiguration,FunnyMessageDispatcher>
net.dzikoysk.funnyguilds.config.message.MessageService
- All Implemented Interfaces:
dev.peri.yetanothermessageslibrary.MessageService<MessageConfiguration>,dev.peri.yetanothermessageslibrary.SendableMessageService<org.bukkit.command.CommandSender,MessageConfiguration, FunnyMessageDispatcher>
public class MessageService
extends dev.peri.yetanothermessageslibrary.SimpleSendableMessageService<org.bukkit.command.CommandSender,MessageConfiguration,FunnyMessageDispatcher>
-
Constructor Summary
ConstructorsConstructorDescriptionMessageService(net.kyori.adventure.platform.bukkit.BukkitAudiences adventure, BiConsumer<Runnable, Long> schedule) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidplayerQuit(org.bukkit.entity.Player player) static MessageServiceprepareMessageService(FunnyGuilds plugin, File languageFolder) voidreload()Methods inherited from class dev.peri.yetanothermessageslibrary.SimpleSendableMessageService
getDispatcherFactory, getViewerServiceMethods inherited from class dev.peri.yetanothermessageslibrary.SimpleMessageService
getDefaultLocale, getLocaleProvider, getMessageRepositories, getRepository, registerLocaleProvider, registerRepository, setDefaultLocaleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.peri.yetanothermessageslibrary.MessageService
get, get, get, getDefaultLocale, getList, getLocale, getLocaleProvider, getRepositoryMethods inherited from interface dev.peri.yetanothermessageslibrary.SendableMessageService
getMessage, sendMessage
-
Constructor Details
-
MessageService
public MessageService(net.kyori.adventure.platform.bukkit.BukkitAudiences adventure, BiConsumer<Runnable, Long> schedule)
-
-
Method Details
-
reload
public void reload() -
playerQuit
public void playerQuit(org.bukkit.entity.Player player) -
close
public void close() -
prepareMessageService
-