Skip navigation links
A B C D E F G H I J M N O P R S T V W 

A

ArgumentOptional<T> - Class in com.mrivanplays.icf
Represents a optional which contains things for our purpose and that's arguments.
ArgumentResolver<T> - Interface in com.mrivanplays.icf
Represents a argument resolver which resolves a single argument into a type specified.
ArgumentResolvers - Class in com.mrivanplays.icf
A utility class containing the default argument resolvers.
ArgumentResolvers() - Constructor for class com.mrivanplays.icf.ArgumentResolvers
 

B

BridgeCommand - Class in com.mrivanplays.icf.external
 
BridgeCommand(ICFCommand, CommandManager, String...) - Constructor for class com.mrivanplays.icf.external.BridgeCommand
 
BukkitCommandMapBridge - Class in com.mrivanplays.icf.external
 
BukkitCommandMapBridge(Plugin, CommandManager) - Constructor for class com.mrivanplays.icf.external.BukkitCommandMapBridge
 

C

com.mrivanplays.icf - package com.mrivanplays.icf
 
com.mrivanplays.icf.external - package com.mrivanplays.icf.external
 
CommandArguments - Class in com.mrivanplays.icf
Represents a class, containing the actual argument resolving of a command.
CommandArguments(String[]) - Constructor for class com.mrivanplays.icf.CommandArguments
 
CommandManager - Class in com.mrivanplays.icf
Represents a manager of commands and argument resolvers.
CommandManager(Plugin) - Constructor for class com.mrivanplays.icf.CommandManager
 
CommandSendListener - Class in com.mrivanplays.icf.external
A listener to remove commands from first completion if a Player has no permission to execute them.
CommandSendListener(String, List<Map.Entry<String, String>>) - Constructor for class com.mrivanplays.icf.external.CommandSendListener
 
copy() - Method in class com.mrivanplays.icf.CommandArguments
Creates a new copy of this command arguments.

D

DOUBLE - Static variable in class com.mrivanplays.icf.ArgumentResolvers
 

E

enablePermissionCheckWhenFirstTabComplete() - Method in class com.mrivanplays.icf.CommandManager
Enables permission check for showing up commands, registered by this manager by doing /[tab] ingame.
execute(CommandSender, String, String[]) - Method in class com.mrivanplays.icf.external.BridgeCommand
 
execute(CommandSender, String, CommandArguments) - Method in class com.mrivanplays.icf.ICFCommand
Executes the command when it is being invoked.

F

FailReason - Enum in com.mrivanplays.icf
Represents a fail reason of why RestArgumentAction.orElse(java.util.function.Consumer) got invoked

G

get() - Method in class com.mrivanplays.icf.ArgumentOptional
Gets the specified value if present.
getArg(int) - Method in class com.mrivanplays.icf.CommandArguments
Gets the specified argument while decrementing the CommandArguments.size().
getArgUnsafe(int) - Method in class com.mrivanplays.icf.CommandArguments
Gets the specified argument while decrementing the CommandArguments.size().
getCommands() - Method in class com.mrivanplays.icf.external.BukkitCommandMapBridge
 
getNoConsoleMessage() - Method in class com.mrivanplays.icf.CommandManager
Gets the no console message, which is being used if the invoked command is being player only.
getNoPermissionMessage() - Method in class com.mrivanplays.icf.CommandManager
Gets the no permission message, which is being used if the command sender does not have a permission to invoke certain command.
getPermission() - Method in class com.mrivanplays.icf.ICFCommand
Gets the permission of this command.

H

hasPermission(CommandSender) - Method in class com.mrivanplays.icf.ICFCommand
Returns whenever the CommandSender has permission to execute this command.

I

ICFCommand - Class in com.mrivanplays.icf
Represents a command, which is made for our purposes.
ICFCommand() - Constructor for class com.mrivanplays.icf.ICFCommand
 
ICFCommand(boolean) - Constructor for class com.mrivanplays.icf.ICFCommand
 
ICFCommand(boolean, String) - Constructor for class com.mrivanplays.icf.ICFCommand
 
ifPresent(Consumer<T>) - Method in class com.mrivanplays.icf.ArgumentOptional
If value is being present, the executor will get executed and the return value will don't come in work, otherwise the return value, a rest argument action will execute its RestArgumentAction.orElse(Consumer) method if it was called.
INTEGER - Static variable in class com.mrivanplays.icf.ArgumentResolvers
 
isPlayerOnly() - Method in class com.mrivanplays.icf.ICFCommand
Returns whenever this command is player only.
isPresent() - Method in class com.mrivanplays.icf.ArgumentOptional
Returns whenever the value is present.

J

joinArguments(int, char) - Method in class com.mrivanplays.icf.CommandArguments
Joins the specified arguments with the character specified.
joinArgumentsSpace(int) - Method in class com.mrivanplays.icf.CommandArguments
Joins the specified arguments with space as a delimiter.

M

map(Function<T, U>) - Method in class com.mrivanplays.icf.ArgumentOptional
Leads the specified argument to a new argument.

N

next() - Method in class com.mrivanplays.icf.CommandArguments
Gets the next argument while decrementing the CommandArguments.size().
next(ArgumentResolver<T>) - Method in class com.mrivanplays.icf.CommandArguments
Resolves the next argument to the specified resolver.
next(Function<String, T>) - Method in class com.mrivanplays.icf.CommandArguments
Resolves the next argument to the specified resolver.
nextDouble() - Method in class com.mrivanplays.icf.CommandArguments
 
nextInt() - Method in class com.mrivanplays.icf.CommandArguments
 
nextString() - Method in class com.mrivanplays.icf.CommandArguments
 
nextUnsafe() - Method in class com.mrivanplays.icf.CommandArguments
Gets the next argument while decrementing the CommandArguments.size().

O

of(T, FailReason) - Static method in class com.mrivanplays.icf.ArgumentOptional
Creates a new argument optional.
on(PlayerCommandSendEvent) - Method in class com.mrivanplays.icf.external.CommandSendListener
 
orElse(Consumer<FailReason>) - Method in class com.mrivanplays.icf.RestArgumentAction
The specified Consumer gets invoked with the FailReason when the value wasn't present.
orElse(Runnable) - Method in class com.mrivanplays.icf.RestArgumentAction
The specified Runnable gets invoked whatever the FailReason was when the value wasn't present.

P

PLAYER - Static variable in class com.mrivanplays.icf.ArgumentResolvers
 
PLAYER_EXACT - Static variable in class com.mrivanplays.icf.ArgumentResolvers
 
PLAYER_OFFLINE - Static variable in class com.mrivanplays.icf.ArgumentResolvers
 

R

registerCommand(ICFCommand, String...) - Method in class com.mrivanplays.icf.CommandManager
Registers a new command.
registerCommand(ICFCommand, String...) - Method in class com.mrivanplays.icf.external.BukkitCommandMapBridge
 
resolve(String) - Method in interface com.mrivanplays.icf.ArgumentResolver
Resolves the input argument into the type this resolver resolves.
RestArgumentAction - Class in com.mrivanplays.icf
Represents a rest action, which comes role when the argument you wanted to get back in the code chain is null.
RestArgumentAction(FailReason) - Constructor for class com.mrivanplays.icf.RestArgumentAction
 

S

setNoConsoleMessage(String) - Method in class com.mrivanplays.icf.CommandManager
Sets a new no console message
setNoPermissionMessage(String) - Method in class com.mrivanplays.icf.CommandManager
Sets a new no permission message
setPermission(String) - Method in class com.mrivanplays.icf.ICFCommand
Sets a new permission for this command.
setPlayerOnly(boolean) - Method in class com.mrivanplays.icf.ICFCommand
Sets if this command should be player only.
size() - Method in class com.mrivanplays.icf.CommandArguments
Returns the count of the specified arguments.
STRING - Static variable in class com.mrivanplays.icf.ArgumentResolvers
Deprecated.
CommandArguments.nextString() has better performance

T

tabComplete(CommandSender, String, String[]) - Method in class com.mrivanplays.icf.external.BridgeCommand
 
tabComplete(CommandSender, String, CommandArguments) - Method in interface com.mrivanplays.icf.TabCompleter
Needs to return a iterable of matches on the specified argument length.
TabCompleter - Interface in com.mrivanplays.icf
Represents a tab completer, made for our purposes.

V

valueOf(String) - Static method in enum com.mrivanplays.icf.FailReason
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.mrivanplays.icf.FailReason
Returns an array containing the constants of this enum type, in the order they are declared.

W

wasValuePresent() - Method in class com.mrivanplays.icf.RestArgumentAction
Returns whenever the value was present.
A B C D E F G H I J M N O P R S T V W 
Skip navigation links

Copyright © 2019. All rights reserved.