Class ConnectionTestCommand
java.lang.Object
org.geysermc.geyser.command.GeyserCommand
org.geysermc.geyser.command.defaults.ConnectionTestCommand
-
Field Summary
Fields inherited from class org.geysermc.geyser.command.GeyserCommand
description, name, permission -
Constructor Summary
ConstructorsConstructorDescriptionConnectionTestCommand(GeyserImpl geyser, String name, String description, String permission) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(@Nullable GeyserSession session, CommandSender sender, String[] args)booleanUsed for permission defaults on server implementations.Methods inherited from class org.geysermc.geyser.command.GeyserCommand
getSubCommands, hasSubCommands, isBedrockOnly, isExecutableOnConsole
-
Constructor Details
-
ConnectionTestCommand
public ConnectionTestCommand(GeyserImpl geyser, String name, String description, String permission)
-
-
Method Details
-
execute
public void execute(@Nullable @Nullable GeyserSession session, CommandSender sender, String[] args)- Specified by:
executein classGeyserCommand
-
isSuggestedOpOnly
public boolean isSuggestedOpOnly()Description copied from class:GeyserCommandUsed for permission defaults on server implementations.- Overrides:
isSuggestedOpOnlyin classGeyserCommand- Returns:
- if this command is designated to be used only by server operators.
-