Package org.galliumpowered.command
Interface CommandContext
public interface CommandContext
-
Method Summary
Modifier and TypeMethodDescriptiongetArgument
(String name) Get the command callerString[]
Command argumentsifConsole
(Consumer<CommandCaller> consumer)
-
Method Details
-
getCaller
CommandCaller getCaller()Get the command caller -
getCommandArgs
String[] getCommandArgs()Command arguments- Returns:
- Command arguments
-
ifPlayer
-
ifConsole
-
getArgument
-