Class StandaloneCloudCommandManager
java.lang.Object
org.incendo.cloud.CommandManager<GeyserCommandSource>
org.geysermc.geyser.command.standalone.StandaloneCloudCommandManager
- All Implemented Interfaces:
org.incendo.cloud.CommandBuilderSource<GeyserCommandSource>,org.incendo.cloud.state.Stateful<org.incendo.cloud.state.RegistrationState>
public class StandaloneCloudCommandManager
extends org.incendo.cloud.CommandManager<GeyserCommandSource>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidFire aGeyserRegisterPermissionsEventto determine any additions or removals to the base list of permissions.booleanhasPermission(@NonNull GeyserCommandSource sender, @NonNull String permission) Methods inherited from class org.incendo.cloud.CommandManager
appendSuggestionMapper, capabilities, captionFormatter, captionFormatter, captionRegistry, captionRegistry, command, command, command, commandExecutor, commandRegistrationHandler, commandRegistrationHandler, commands, commandSyntaxFormatter, commandSyntaxFormatter, commandTree, componentBuilder, createDefaultCommandMeta, createHelpHandler, createHelpHandler, decorateBuilder, deleteRootCommand, exceptionController, flagBuilder, hasCapability, helpHandlerFactory, helpHandlerFactory, isCommandRegistrationAllowed, lockRegistration, parameterInjectorRegistry, parserRegistry, postprocessContext, preprocessContext, registerCapability, registerCommandPostProcessor, registerCommandPreProcessor, registerDefaultExceptionHandlers, rootCommands, settings, state, suggestionFactory, suggestionMapper, suggestionMapper, suggestionProcessor, suggestionProcessor, testPermission, transitionIfPossibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.incendo.cloud.CommandBuilderSource
commandBuilder, commandBuilder, commandBuilder, commandBuilder, commandBuilder, commandBuilderMethods inherited from interface org.incendo.cloud.state.Stateful
requireState, transitionOrThrow
-
Constructor Details
-
StandaloneCloudCommandManager
-
-
Method Details
-
fireRegisterPermissionsEvent
public void fireRegisterPermissionsEvent()Fire aGeyserRegisterPermissionsEventto determine any additions or removals to the base list of permissions. This should be called after any event listeners have been registered, such as that ofCommandRegistry. -
hasPermission
- Specified by:
hasPermissionin classorg.incendo.cloud.CommandManager<GeyserCommandSource>
-