Class QuestionAnswerModule
java.lang.Object
net.flectone.pulse.module.message.format.questionanswer.QuestionAnswerModule
- All Implemented Interfaces:
ModuleLocalization<Localization.Message.Format.QuestionAnswer>, ModuleSimple
public class QuestionAnswerModule
extends Object
implements ModuleLocalization<Localization.Message.Format.QuestionAnswer>
-
Constructor Summary
ConstructorsConstructorDescriptionQuestionAnswerModule(FileFacade fileFacade, FLogger fLogger, ListenerRegistry listenerRegistry, PermissionChecker permissionChecker, CooldownChecker cooldownChecker, TaskScheduler taskScheduler, MessageDispatcher messageDispatcher, MessagePipeline messagePipeline, ModuleController moduleController, SocialService socialService) -
Method Summary
Modifier and TypeMethodDescriptionaddTag(MessageContext messageContext) config()format(MessageContext messageContext) localization(FPlayer fPlayer) name()voidvoidonEnable()com.google.common.collect.ImmutableSet.Builder<PermissionSetting> 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
-
QuestionAnswerModule
@Inject public QuestionAnswerModule(FileFacade fileFacade, FLogger fLogger, ListenerRegistry listenerRegistry, PermissionChecker permissionChecker, CooldownChecker cooldownChecker, TaskScheduler taskScheduler, MessageDispatcher messageDispatcher, MessagePipeline messagePipeline, ModuleController moduleController, SocialService socialService)
-
-
Method Details
-
onEnable
public void onEnable()- Specified by:
onEnablein interfaceModuleSimple
-
permissionBuilder
- Specified by:
permissionBuilderin interfaceModuleLocalization<Localization.Message.Format.QuestionAnswer>- 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.QuestionAnswer>
-
format
-
addTag
-