Class MentionModule
java.lang.Object
net.flectone.pulse.module.message.format.mention.MentionModule
- All Implemented Interfaces:
ModuleLocalization<Localization.Message.Format.Mention>, ModuleSimple
public class MentionModule
extends Object
implements ModuleLocalization<Localization.Message.Format.Mention>
-
Constructor Summary
ConstructorsConstructorDescriptionMentionModule(com.google.common.cache.Cache<String, String> messageCache, FileFacade fileFacade, ListenerRegistry listenerRegistry, FPlayerService fPlayerService, SocialService socialService, IntegrationModule integrationModule, PermissionChecker permissionChecker, MessagePipeline messagePipeline, MessageDispatcher messageDispatcher, ModuleController moduleController, FLogger fLogger) -
Method Summary
Modifier and TypeMethodDescriptionaddTags(MessageContext messageContext) config()format(MessageContext messageContext) localization(FPlayer fPlayer) name()voidvoidonEnable()com.google.common.collect.ImmutableSet.Builder<PermissionSetting> voidsendMention(FPlayer fPlayer) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ModuleLocalization
cooldown, cooldownOrThrow, localization, sound, soundOrThrowMethods inherited from interface ModuleSimple
childrenBuilder, disablePredicate
-
Constructor Details
-
MentionModule
@Inject public MentionModule(com.google.common.cache.Cache<String, String> messageCache, FileFacade fileFacade, ListenerRegistry listenerRegistry, FPlayerService fPlayerService, SocialService socialService, IntegrationModule integrationModule, PermissionChecker permissionChecker, MessagePipeline messagePipeline, MessageDispatcher messageDispatcher, ModuleController moduleController, FLogger fLogger)
-
-
Method Details
-
onEnable
public void onEnable()- Specified by:
onEnablein interfaceModuleSimple
-
permissionBuilder
- Specified by:
permissionBuilderin interfaceModuleLocalization<Localization.Message.Format.Mention>- Specified by:
permissionBuilderin interfaceModuleSimple
-
onDisable
public void onDisable()- Specified by:
onDisablein interfaceModuleSimple
-
name
- Specified by:
namein interfaceModuleSimple
-
config
- Specified by:
configin interfaceModuleSimple
-
permission
- Specified by:
permissionin interfaceModuleSimple
-
localization
- Specified by:
localizationin interfaceModuleLocalization<Localization.Message.Format.Mention>
-
format
-
addTags
-
sendMention
-