Class CommandExit
- java.lang.Object
-
- de.dytanic.cloudnet.command.Command
-
- de.dytanic.cloudnet.command.commands.CommandExit
-
- All Implemented Interfaces:
ICommandExecutor
public final class CommandExit extends Command
-
-
Field Summary
-
Fields inherited from class de.dytanic.cloudnet.command.Command
description, names, permission, prefix, usage
-
-
Constructor Summary
Constructors Constructor Description CommandExit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(ICommandSender sender, java.lang.String command, java.lang.String[] args, java.lang.String commandLine, de.dytanic.cloudnet.common.Properties properties)Handles an incoming commandLine which are already split and fetched for all extra propertiesprotected CloudNetgetCloudNet()-
Methods inherited from class de.dytanic.cloudnet.command.Command
getDescription, getInfo, getNames, getPermission, getPrefix, getUsage, isValid
-
-
-
-
Method Detail
-
execute
public void execute(ICommandSender sender, java.lang.String command, java.lang.String[] args, java.lang.String commandLine, de.dytanic.cloudnet.common.Properties properties)
Description copied from interface:ICommandExecutorHandles an incoming commandLine which are already split and fetched for all extra properties- Parameters:
sender- the sender, that execute the commandcommand- the command name, that is used forargs- all important argumentscommandLine- the full commandline from the senderproperties- all properties, that are parsed from the command line
-
getCloudNet
protected final CloudNet getCloudNet()
-
-