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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Fire a GeyserRegisterPermissionsEvent to determine any additions or removals to the base list of permissions.
    boolean
    hasPermission(@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, transitionIfPossible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.incendo.cloud.CommandBuilderSource

    commandBuilder, commandBuilder, commandBuilder, commandBuilder, commandBuilder, commandBuilder

    Methods inherited from interface org.incendo.cloud.state.Stateful

    requireState, transitionOrThrow
  • Constructor Details

    • StandaloneCloudCommandManager

      public StandaloneCloudCommandManager(GeyserImpl geyser)
  • Method Details

    • fireRegisterPermissionsEvent

      public void fireRegisterPermissionsEvent()
      Fire a GeyserRegisterPermissionsEvent to 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 of CommandRegistry.
    • hasPermission

      public boolean hasPermission(@NonNull GeyserCommandSource sender, @NonNull String permission)
      Specified by:
      hasPermission in class org.incendo.cloud.CommandManager<GeyserCommandSource>