Class ConditionModule
java.lang.Object
net.flectone.pulse.module.message.format.condition.ConditionModule
- All Implemented Interfaces:
ModuleLocalization<Localization.Message.Format.Condition>, ModuleSimple
public class ConditionModule
extends Object
implements ModuleLocalization<Localization.Message.Format.Condition>
-
Constructor Summary
ConstructorsConstructorDescriptionConditionModule(FileFacade fileFacade, ModuleController moduleController, ListenerRegistry listenerRegistry, PermissionChecker permissionChecker, MessagePipeline messagePipeline, SocialService socialService) -
Method Summary
Modifier and TypeMethodDescriptionaddTag(MessageContext messageContext) config()@Nullable StringgetConditionValue(String conditionName, FEntity fPlayer, FPlayer fReceiver, Map<MessageFlag, Boolean> flags) @Nullable StringgetConditionValue(String conditionName, FPlayer fPlayer) localization(FPlayer fPlayer) name()voidonEnable()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, onDisable
-
Constructor Details
-
ConditionModule
@Inject public ConditionModule(FileFacade fileFacade, ModuleController moduleController, ListenerRegistry listenerRegistry, PermissionChecker permissionChecker, MessagePipeline messagePipeline, SocialService socialService)
-
-
Method Details
-
onEnable
public void onEnable()- Specified by:
onEnablein interfaceModuleSimple
-
permissionBuilder
- Specified by:
permissionBuilderin interfaceModuleLocalization<Localization.Message.Format.Condition>- Specified by:
permissionBuilderin interfaceModuleSimple
-
localization
- Specified by:
localizationin interfaceModuleLocalization<Localization.Message.Format.Condition>
-
name
- Specified by:
namein interfaceModuleSimple
-
config
- Specified by:
configin interfaceModuleSimple
-
permission
- Specified by:
permissionin interfaceModuleSimple
-
addTag
-
getConditionValue
-
getConditionValue
-