Class ClearchatModule
java.lang.Object
net.flectone.pulse.module.command.clearchat.ClearchatModule
- All Implemented Interfaces:
ModuleCommand<Localization.Command.Clearchat>, ModuleLocalization<Localization.Command.Clearchat>, ModuleSimple, org.incendo.cloud.execution.CommandExecutionHandler<FPlayer>
public class ClearchatModule
extends Object
implements ModuleCommand<Localization.Command.Clearchat>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.incendo.cloud.execution.CommandExecutionHandler
org.incendo.cloud.execution.CommandExecutionHandler.FutureCommandExecutionHandler<C> -
Constructor Summary
ConstructorsConstructorDescriptionClearchatModule(FileFacade fileFacade, FPlayerService fPlayerService, PermissionChecker permissionChecker, CommandParserProvider commandParserProvider, ProxySender proxySender, PlatformPlayerAdapter platformPlayerAdapter, MessageDispatcher messageDispatcher, ModuleController moduleController, ModuleCommandController commandModuleController, RangeFilter rangeFilter, ProxyRegistry proxyRegistry, ListenerRegistry listenerRegistry, SocialService socialService) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidconfig()voidlocalization(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 org.incendo.cloud.execution.CommandExecutionHandler
executeFutureMethods inherited from interface ModuleCommand
executeMethods inherited from interface ModuleLocalization
cooldown, cooldownOrThrow, localization, sound, soundOrThrowMethods inherited from interface ModuleSimple
childrenBuilder, disablePredicate
-
Constructor Details
-
ClearchatModule
@Inject public ClearchatModule(FileFacade fileFacade, FPlayerService fPlayerService, PermissionChecker permissionChecker, CommandParserProvider commandParserProvider, ProxySender proxySender, PlatformPlayerAdapter platformPlayerAdapter, MessageDispatcher messageDispatcher, ModuleController moduleController, ModuleCommandController commandModuleController, RangeFilter rangeFilter, ProxyRegistry proxyRegistry, ListenerRegistry listenerRegistry, SocialService socialService)
-
-
Method Details
-
onEnable
public void onEnable()- Specified by:
onEnablein interfaceModuleSimple
-
onDisable
public void onDisable()- Specified by:
onDisablein interfaceModuleSimple
-
permissionBuilder
- Specified by:
permissionBuilderin interfaceModuleLocalization<Localization.Command.Clearchat>- Specified by:
permissionBuilderin interfaceModuleSimple
-
execute
public void execute(FPlayer fPlayer, org.incendo.cloud.context.CommandContext<FPlayer> commandContext) - Specified by:
executein interfaceModuleCommand<Localization.Command.Clearchat>
-
name
- Specified by:
namein interfaceModuleSimple
-
config
- Specified by:
configin interfaceModuleCommand<Localization.Command.Clearchat>- Specified by:
configin interfaceModuleSimple
-
permission
- Specified by:
permissionin interfaceModuleSimple
-
localization
- Specified by:
localizationin interfaceModuleLocalization<Localization.Command.Clearchat>
-
clearChat
-
clearChat
-