Class DeleteModule
java.lang.Object
net.flectone.pulse.module.message.format.moderation.delete.DeleteModule
- All Implemented Interfaces:
ModuleLocalization<Localization.Message.Format.Moderation.Delete>, ModuleSimple
public class DeleteModule
extends Object
implements ModuleLocalization<Localization.Message.Format.Moderation.Delete>
-
Constructor Summary
ConstructorsConstructorDescriptionDeleteModule(FileFacade fileFacade, ListenerRegistry listenerRegistry, MessagePipeline messagePipeline, FPlayerService fPlayerService, MessageSender messageSender, ModuleController moduleController, SocialService socialService) -
Method Summary
Modifier and TypeMethodDescriptionaddTag(MessageContext messageContext) voidclearHistory(FPlayer fPlayer) config()booleanisCached(net.kyori.adventure.text.Component component) localization(FPlayer fPlayer) name()voidvoidonEnable()booleanvoidremoveCache(net.kyori.adventure.text.Component component) voidsave(FPlayer receiver, UUID messageUUID, net.kyori.adventure.text.Component component, boolean needToCache) voidsendUpdate(UUID receiver) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ModuleLocalization
cooldown, cooldownOrThrow, localization, permissionBuilder, sound, soundOrThrowMethods inherited from interface ModuleSimple
childrenBuilder, disablePredicate
-
Constructor Details
-
DeleteModule
@Inject public DeleteModule(FileFacade fileFacade, ListenerRegistry listenerRegistry, MessagePipeline messagePipeline, FPlayerService fPlayerService, MessageSender messageSender, ModuleController moduleController, SocialService socialService)
-
-
Method Details
-
onEnable
public void onEnable()- Specified by:
onEnablein 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.Moderation.Delete>
-
clearHistory
-
addTag
-
save
-
isCached
public boolean isCached(net.kyori.adventure.text.Component component) -
removeCache
public void removeCache(net.kyori.adventure.text.Component component) -
remove
-
sendUpdate
-