Class SpyModule
java.lang.Object
net.flectone.pulse.module.command.spy.SpyModule
- All Implemented Interfaces:
ModuleCommand<Localization.Command.Spy>, ModuleLocalization<Localization.Command.Spy>, 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
ConstructorsConstructorDescriptionSpyModule(FileFacade fileFacade, SocialService socialService, PermissionChecker permissionChecker, MessageDispatcher messageDispatcher, ModuleController moduleController, ModuleCommandController commandModuleController, ProxyRegistry proxyRegistry, ListenerRegistry listenerRegistry, TaskScheduler taskScheduler, FPlayerService fPlayerService) -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAnvil(@NonNull UUID player, @Nullable String itemName) voidvoidvoidcheckChat(@NonNull FPlayer fPlayer, @NonNull String chat, @NonNull String message, @NonNull List<FPlayer> receivers) voidcheckCommand(@NonNull UUID player, @Nullable String command) voidconfig()createFilter(FPlayer fPlayer, List<FPlayer> receivers) voidlocalization(FPlayer fPlayer) name()protected booleanvoidonEnable()voidvoidspy(@NonNull FPlayer fPlayer, @NonNull String action, @NonNull String message, @NonNull List<FPlayer> receivers) 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, permissionBuilder, sound, soundOrThrowMethods inherited from interface ModuleSimple
childrenBuilder, disablePredicate, onDisable
-
Constructor Details
-
SpyModule
@Inject public SpyModule(FileFacade fileFacade, SocialService socialService, PermissionChecker permissionChecker, MessageDispatcher messageDispatcher, ModuleController moduleController, ModuleCommandController commandModuleController, ProxyRegistry proxyRegistry, ListenerRegistry listenerRegistry, TaskScheduler taskScheduler, FPlayerService fPlayerService)
-
-
Method Details
-
onEnable
public void onEnable()- Specified by:
onEnablein interfaceModuleSimple
-
execute
public void execute(FPlayer fPlayer, org.incendo.cloud.context.CommandContext<FPlayer> commandContext) - Specified by:
executein interfaceModuleCommand<Localization.Command.Spy>
-
name
- Specified by:
namein interfaceModuleSimple
-
config
- Specified by:
configin interfaceModuleCommand<Localization.Command.Spy>- Specified by:
configin interfaceModuleSimple
-
permission
- Specified by:
permissionin interfaceModuleSimple
-
localization
- Specified by:
localizationin interfaceModuleLocalization<Localization.Command.Spy>
-
checkAnvil
-
checkSign
-
checkBook
-
checkCommand
-
checkChat
-
checkChat
-
spy
-
spy
-
createFilter
-
needToSpy
-