Class StopCommand
java.lang.Object
org.geysermc.geyser.command.GeyserCommand
org.geysermc.geyser.command.defaults.StopCommand
-
Field Summary
Fields inherited from class org.geysermc.geyser.command.GeyserCommand
description, name, permission -
Constructor Summary
ConstructorsConstructorDescriptionStopCommand(GeyserImpl geyser, String name, String description, String permission) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(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
-
StopCommand
-
-
Method Details
-
execute
- 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.
-