Class FlectonepulseModule
java.lang.Object
net.flectone.pulse.module.command.flectonepulse.FlectonepulseModule
- All Implemented Interfaces:
ModuleCommand<Localization.Command.Flectonepulse>, ModuleLocalization<Localization.Command.Flectonepulse>, ModuleSimple, org.incendo.cloud.execution.CommandExecutionHandler<FPlayer>
public class FlectonepulseModule
extends Object
implements ModuleCommand<Localization.Command.Flectonepulse>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.incendo.cloud.execution.CommandExecutionHandler
org.incendo.cloud.execution.CommandExecutionHandler.FutureCommandExecutionHandler<C> -
Constructor Summary
ConstructorsConstructorDescriptionFlectonepulseModule(com.google.inject.Injector injector, FileFacade fileFacade, FlectonePulse flectonePulse, CommandParserProvider commandParserProvider, TimeFormatter timeFormatter, ReflectionResolver reflectionResolver, TaskScheduler taskScheduler, MessageDispatcher messageDispatcher, ModuleController moduleController, ModuleCommandController commandModuleController, SimpleDateFormat simpleDateFormat, MetricsService metricsService, MessagePipeline messagePipeline, SocialService socialService, com.google.gson.Gson gson, HttpClient httpClient, Path projectPath, FLogger fLogger) -
Method Summary
Modifier and TypeMethodDescriptionconfig()voidlocalization(FPlayer fPlayer) name()voidvoidonEnable()voidMethods 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, permissionBuilder, sound, soundOrThrowMethods inherited from interface ModuleSimple
childrenBuilder, disablePredicate
-
Constructor Details
-
FlectonepulseModule
@Inject public FlectonepulseModule(com.google.inject.Injector injector, FileFacade fileFacade, FlectonePulse flectonePulse, CommandParserProvider commandParserProvider, TimeFormatter timeFormatter, ReflectionResolver reflectionResolver, TaskScheduler taskScheduler, MessageDispatcher messageDispatcher, ModuleController moduleController, ModuleCommandController commandModuleController, SimpleDateFormat simpleDateFormat, MetricsService metricsService, MessagePipeline messagePipeline, SocialService socialService, com.google.gson.Gson gson, HttpClient httpClient, Path projectPath, FLogger fLogger)
-
-
Method Details
-
onEnable
public void onEnable()- Specified by:
onEnablein interfaceModuleSimple
-
onDisable
public void onDisable()- Specified by:
onDisablein interfaceModuleSimple
-
execute
public void execute(FPlayer fPlayer, org.incendo.cloud.context.CommandContext<FPlayer> commandContext) - Specified by:
executein interfaceModuleCommand<Localization.Command.Flectonepulse>
-
reload
-
name
- Specified by:
namein interfaceModuleSimple
-
config
- Specified by:
configin interfaceModuleCommand<Localization.Command.Flectonepulse>- Specified by:
configin interfaceModuleSimple
-
permission
- Specified by:
permissionin interfaceModuleSimple
-
localization
- Specified by:
localizationin interfaceModuleLocalization<Localization.Command.Flectonepulse>
-