Skip navigation links
A C D G H N O P R S T 

A

aliases - Variable in class de.dytanic.cloudnet.command.Command
 
appendArgument(CommandArgument) - Method in class de.dytanic.cloudnet.command.Command
Appends a new argument to this command

C

clearCommands() - Method in class de.dytanic.cloudnet.command.CommandManager
Clears all the commands that are currently registered.
Command - Class in de.dytanic.cloudnet.command
Abstract class to define a command with an executor and a name
Command(String, String, String...) - Constructor for class de.dytanic.cloudnet.command.Command
Constructs a new command with a name, a needed permission and variable aliases.
CommandArgument - Class in de.dytanic.cloudnet.command
Class to process arguments before and after calling a command.
CommandArgument(String) - Constructor for class de.dytanic.cloudnet.command.CommandArgument
 
commandArguments - Variable in class de.dytanic.cloudnet.command.Command
 
CommandExecutor - Interface in de.dytanic.cloudnet.command
Interface for classes that execute commands.
CommandManager - Class in de.dytanic.cloudnet.command
Class that manages commands for the interfaces of CloudNet.
CommandManager() - Constructor for class de.dytanic.cloudnet.command.CommandManager
Constructs a new command manager with a ConsoleCommandSender and no commands.
commands - Variable in class de.dytanic.cloudnet.command.CommandManager
 
CommandSender - Interface in de.dytanic.cloudnet.command
Interface for denoting classes that can dispatch commands.
complete(String, int, List<CharSequence>) - Method in class de.dytanic.cloudnet.command.CommandManager
 
ConsoleCommandSender - Class in de.dytanic.cloudnet.command
Class that defines a command sender in a terminal.
ConsoleCommandSender() - Constructor for class de.dytanic.cloudnet.command.ConsoleCommandSender
 
consoleSender - Variable in class de.dytanic.cloudnet.command.CommandManager
 

D

de.dytanic.cloudnet.command - package de.dytanic.cloudnet.command
 
description - Variable in class de.dytanic.cloudnet.command.Command
 
dispatchCommand(String) - Method in class de.dytanic.cloudnet.command.CommandManager
Parses the given command from the console and dispatches it using a ConsoleCommandSender.
dispatchCommand(CommandSender, String) - Method in class de.dytanic.cloudnet.command.CommandManager
Parses the given command and dispatches it using the given sender.

G

getAliases() - Method in class de.dytanic.cloudnet.command.Command
 
getCommand(String) - Method in class de.dytanic.cloudnet.command.CommandManager
Get the command for a given name.
getCommandArguments() - Method in class de.dytanic.cloudnet.command.Command
 
getCommands() - Method in class de.dytanic.cloudnet.command.CommandManager
Get the registered commands.
getConsoleSender() - Method in class de.dytanic.cloudnet.command.CommandManager
 
getDescription() - Method in class de.dytanic.cloudnet.command.Command
 
getName() - Method in class de.dytanic.cloudnet.command.Command
 
getName() - Method in class de.dytanic.cloudnet.command.CommandArgument
 
getName() - Method in class de.dytanic.cloudnet.command.ConsoleCommandSender
 
getPermission() - Method in class de.dytanic.cloudnet.command.Command
 
getPermissionEntity() - Method in class de.dytanic.cloudnet.command.ConsoleCommandSender
 

H

hasPermission(String) - Method in interface de.dytanic.cloudnet.command.CommandSender
Query this command sender for its permissions.
hasPermission(String) - Method in class de.dytanic.cloudnet.command.ConsoleCommandSender
 

N

name - Variable in class de.dytanic.cloudnet.command.Command
 
name - Variable in class de.dytanic.cloudnet.command.CommandArgument
The name of the argument to process

O

onExecuteCommand(CommandSender, String[]) - Method in interface de.dytanic.cloudnet.command.CommandExecutor
Method that is called when a command should execute.
onTab(long, String) - Method in interface de.dytanic.cloudnet.command.TabCompletable
This method is called when a tab completion is requested by a CommandSender.

P

permission - Variable in class de.dytanic.cloudnet.command.Command
 
permissionEntity - Variable in class de.dytanic.cloudnet.command.ConsoleCommandSender
 
postExecute(Command, String) - Method in class de.dytanic.cloudnet.command.CommandArgument
Method to execute after a command is executed.
preExecute(Command, String) - Method in class de.dytanic.cloudnet.command.CommandArgument
Method to execute before an argument is processed.

R

registerCommand(Command) - Method in class de.dytanic.cloudnet.command.CommandManager
Register a new command and all of its aliases to this command manager.

S

sendMessage(String...) - Method in interface de.dytanic.cloudnet.command.CommandSender
Send messages to this command sender.
sendMessage(String...) - Method in class de.dytanic.cloudnet.command.ConsoleCommandSender
 

T

TabCompletable - Interface in de.dytanic.cloudnet.command
Interface denoting classes that complete inputs and return a list of possible completion candidates.
A C D G H N O P R S T 
Skip navigation links

Copyright © 2020. All rights reserved.