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

    Constructors
    Constructor
    Description
    MessageService(net.kyori.adventure.platform.bukkit.BukkitAudiences adventure, BiConsumer<Runnable,Long> schedule)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    playerQuit(org.bukkit.entity.Player player)
     
    prepareMessageService(FunnyGuilds plugin, File languageFolder)
     
    void
     

    Methods inherited from class dev.peri.yetanothermessageslibrary.SimpleSendableMessageService

    getDispatcherFactory, getViewerService

    Methods inherited from class dev.peri.yetanothermessageslibrary.SimpleMessageService

    getDefaultLocale, getLocaleProvider, getMessageRepositories, getRepository, registerLocaleProvider, registerRepository, setDefaultLocale

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface dev.peri.yetanothermessageslibrary.MessageService

    get, get, get, getDefaultLocale, getList, getLocale, getLocaleProvider, getRepository

    Methods 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

      public static MessageService prepareMessageService(FunnyGuilds plugin, File languageFolder)