Class NicknameModule
java.lang.Object
net.flectone.pulse.module.command.nickname.NicknameModule
- All Implemented Interfaces:
ModuleCommand<Localization.Command.Nickname>, ModuleLocalization<Localization.Command.Nickname>, ModuleSimple, org.incendo.cloud.execution.CommandExecutionHandler<FPlayer>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.incendo.cloud.execution.CommandExecutionHandler
org.incendo.cloud.execution.CommandExecutionHandler.FutureCommandExecutionHandler<C> -
Constructor Summary
ConstructorsConstructorDescriptionNicknameModule(FileFacade fileFacade, FPlayerService fPlayerService, SocialService socialService, CommandParserProvider commandParserProvider, PermissionChecker permissionChecker, ListenerRegistry listenerRegistry, MessagePipeline messagePipeline, MessageDispatcher messageDispatcher, ProxyRegistry proxyRegistry, ProxySender proxySender, ModuleController moduleController, ModuleCommandController commandModuleController, ProfileResolver profileResolver, FLogger fLogger) -
Method Summary
Modifier and TypeMethodDescriptionaddTag(MessageContext messageContext) voidchangeName(FPlayer fPlayer, FPlayer fTarget, String nickname) config()voidvoidexecuteOther(FPlayer fPlayer, org.incendo.cloud.context.CommandContext<FPlayer> commandContext) 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 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
-
NicknameModule
@Inject public NicknameModule(FileFacade fileFacade, FPlayerService fPlayerService, SocialService socialService, CommandParserProvider commandParserProvider, PermissionChecker permissionChecker, ListenerRegistry listenerRegistry, MessagePipeline messagePipeline, MessageDispatcher messageDispatcher, ProxyRegistry proxyRegistry, ProxySender proxySender, ModuleController moduleController, ModuleCommandController commandModuleController, ProfileResolver profileResolver, 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.Nickname>
-
executeOther
-
name
- Specified by:
namein interfaceModuleSimple
-
config
- Specified by:
configin interfaceModuleCommand<Localization.Command.Nickname>- Specified by:
configin interfaceModuleSimple
-
permission
- Specified by:
permissionin interfaceModuleSimple
-
localization
- Specified by:
localizationin interfaceModuleLocalization<Localization.Command.Nickname>
-
permissionBuilder
- Specified by:
permissionBuilderin interfaceModuleLocalization<Localization.Command.Nickname>- Specified by:
permissionBuilderin interfaceModuleSimple
-
changeName
-
addTag
-