Package org.geysermc.geyser.command
Class CommandExecutor
java.lang.Object
org.geysermc.geyser.command.CommandExecutor
- Direct Known Subclasses:
GeyserSpigotCommandExecutor
,GeyserSpongeCommandExecutor
,GeyserVelocityCommandExecutor
Represents helper functions for listening to
/geyser
commands.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCommand(String label)
getGeyserSession(CommandSender sender)
tabComplete(CommandSender sender)
Determine which subcommands to suggest in the tab complete for the main /geyser command by a given command sender.
-
Field Details
-
geyser
-
-
Constructor Details
-
CommandExecutor
-
-
Method Details
-
getCommand
-
getGeyserSession
-
tabComplete
Determine which subcommands to suggest in the tab complete for the main /geyser command by a given command sender.- Parameters:
sender
- The command sender to receive the tab complete suggestions. If the command sender is a bedrock player, an empty list will be returned as bedrock players do not get command argument suggestions. If the command sender is not a bedrock player, bedrock commands will not be shown. If the command sender does not have the permission for a given command, the command will not be shown.- Returns:
- A list of command names to include in the tab complete
-