Class SimpleCommand
java.lang.Object
org.cloudburstmc.server.command.Command
org.cloudburstmc.server.command.simple.SimpleCommand
- Author:
- Tee7even
-
Field Summary
Fields inherited from class org.cloudburstmc.server.command.Command
commandData, timing -
Constructor Summary
ConstructorsConstructorDescriptionSimpleCommand(Object object, Method method, String name, String description, String usageMessage, String[] aliases, String permissions, List<CommandParameter[]> parameters) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsendInGameMessage(org.cloudburstmc.api.command.CommandSender sender)voidsetForbidConsole(boolean forbidConsole)voidsetMaxArgs(int maxArgs)voidsetMinArgs(int minArgs)Methods inherited from class org.cloudburstmc.server.command.Command
getAliases, getCommandParameters, getDescription, getLabel, getName, getPermissionMessage, getPermissions, getRegisteredName, getUsage, removeAlias, setRegisteredName, testPermission, testPermissionSilent, toNetwork, toString
-
Constructor Details
-
SimpleCommand
-
-
Method Details
-
setForbidConsole
public void setForbidConsole(boolean forbidConsole) -
setMaxArgs
public void setMaxArgs(int maxArgs) -
setMinArgs
public void setMinArgs(int minArgs) -
sendInGameMessage
public void sendInGameMessage(org.cloudburstmc.api.command.CommandSender sender) -
execute
-