Skip navigation links
A B C D E G H I L N O P R S T V 

A

ActorFactory<A extends VelocityCommandActor> - Interface in revxrsal.commands.velocity.actor
Represents a functional interface that allows for creating custom implementations of VelocityCommandActor that wrap instances of CommandSource.
actorFactory() - Method in class revxrsal.commands.velocity.VelocityLampConfig
 
actorFactory(ActorFactory<A>) - Method in class revxrsal.commands.velocity.VelocityLampConfig.Builder
Sets the ActorFactory.
argumentTypes() - Method in class revxrsal.commands.velocity.VelocityLampConfig
 
argumentTypes() - Method in class revxrsal.commands.velocity.VelocityLampConfig.Builder
Returns the ArgumentTypes.Builder of this builder
argumentTypes(Consumer<ArgumentTypes.Builder<A>>) - Method in class revxrsal.commands.velocity.VelocityLampConfig.Builder
Applies the given Consumer on the VelocityLampConfig.Builder.argumentTypes() instance.
asPlayer() - Method in interface revxrsal.commands.velocity.actor.VelocityCommandActor
Returns this actor as a Player if it is a player, otherwise returns null.

B

brigadier(VelocityLampConfig<A>) - Static method in class revxrsal.commands.velocity.VelocityVisitors
Registers the commands into Velocity as brigadier commands.
brigadier(ProxyServer, ActorFactory<A>, ArgumentTypes<A>) - Static method in class revxrsal.commands.velocity.VelocityVisitors
Registers the commands into Velocity as brigadier commands.
brigadier(ProxyServer, ActorFactory<A>) - Static method in class revxrsal.commands.velocity.VelocityVisitors
Registers the commands into Velocity as brigadier commands.
brigadier(ProxyServer) - Static method in class revxrsal.commands.velocity.VelocityVisitors
Registers the commands into Velocity as brigadier commands.
build() - Method in class revxrsal.commands.velocity.VelocityLampConfig.Builder
Returns a new VelocityLampConfig from this builder
builder(VelocityLampConfig<A>) - Static method in class revxrsal.commands.velocity.VelocityLamp
Returns a Lamp.Builder that contains the default registrations for the Velocity platform
builder(Object, ProxyServer) - Static method in class revxrsal.commands.velocity.VelocityLamp
Returns a Lamp.Builder that contains the default registrations for the Velocity platform
builder(Object, ProxyServer) - Static method in class revxrsal.commands.velocity.VelocityLampConfig
Returns a new VelocityLampConfig.Builder with the given plugin and ProxyServer.

C

CommandPermission - Annotation Type in revxrsal.commands.velocity.annotation
Adds a command permission for the given command
create(CommandSource, Lamp<A>) - Method in interface revxrsal.commands.velocity.actor.ActorFactory
Creates the actor from the given CommandSource
create(AnnotationList, Lamp<VelocityCommandActor>) - Method in enum revxrsal.commands.velocity.sender.VelocityPermissionFactory
 
createActor(CommandSource, Lamp<A>) - Method in class revxrsal.commands.velocity.hooks.VelocityBrigadier
 
createDefault(Object, ProxyServer) - Static method in class revxrsal.commands.velocity.VelocityLampConfig
Returns a new VelocityLampConfig with the given plugin and ProxyServer, containing the default settings.

D

defaultFactory() - Static method in interface revxrsal.commands.velocity.actor.ActorFactory
Returns the default ActorFactory that returns a simple VelocityCommandActor implementation
defaultFactory(MessageSender<VelocityCommandActor, ComponentLike>, MessageSender<VelocityCommandActor, ComponentLike>) - Static method in interface revxrsal.commands.velocity.actor.ActorFactory
Returns the default ActorFactory that returns a simple VelocityCommandActor implementation, with custom MessageSenders for messages and errors
defaultSuggestions() - Method in class revxrsal.commands.velocity.parameters.PlayerParameterType
 

E

equals(Object) - Method in class revxrsal.commands.velocity.parameters.PlayerParameterType
 
error(ComponentLike) - Method in interface revxrsal.commands.velocity.actor.VelocityCommandActor
Sends the given component to this error.

G

getArgumentType(ParameterNode<A, ?>) - Method in class revxrsal.commands.velocity.hooks.VelocityBrigadier
 
getSender(Class<?>, VelocityCommandActor, ExecutableCommand<VelocityCommandActor>) - Method in class revxrsal.commands.velocity.sender.VelocitySenderResolver
 

H

hashCode() - Method in class revxrsal.commands.velocity.parameters.PlayerParameterType
 

I

InvalidPlayerException - Exception in revxrsal.commands.velocity.exception
Thrown when an invalid value for a Player parameter is inputted in the command
InvalidPlayerException(String) - Constructor for exception revxrsal.commands.velocity.exception.InvalidPlayerException
 
isConsole() - Method in interface revxrsal.commands.velocity.actor.VelocityCommandActor
Tests whether is this actor the console or not
isPlayer() - Method in interface revxrsal.commands.velocity.actor.VelocityCommandActor
Tests whether is this actor a player or not
isSenderType(CommandParameter) - Method in class revxrsal.commands.velocity.sender.VelocitySenderResolver
 

L

lamp() - Method in interface revxrsal.commands.velocity.actor.VelocityCommandActor
Returns the Lamp instance that constructed this actor.
legacyColorCodes() - Static method in class revxrsal.commands.velocity.VelocityVisitors
Makes the default format for CommandActor.reply(String) and CommandActor.error(String) take the legacy ampersand ChatColor-coded format
legacyColorize(String) - Static method in class revxrsal.commands.velocity.util.VelocityUtils
Returns a TextComponent that colorizes the given text using the ampersand for color coding.

N

name() - Method in interface revxrsal.commands.velocity.actor.VelocityCommandActor
Returns the name of this actor.

O

onEnumNotFound(EnumNotFoundException, VelocityCommandActor) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onExpectedLiteral(ExpectedLiteralException, VelocityCommandActor) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onInputParse(InputParseException, VelocityCommandActor) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onInvalidBoolean(InvalidBooleanException, VelocityCommandActor) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onInvalidDecimal(InvalidDecimalException, VelocityCommandActor) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onInvalidHelpPage(InvalidHelpPageException, VelocityCommandActor) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onInvalidInteger(InvalidIntegerException, VelocityCommandActor) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onInvalidListSize(InvalidListSizeException, VelocityCommandActor, ParameterNode<VelocityCommandActor, ?>) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onInvalidPlayer(InvalidPlayerException, VelocityCommandActor) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onInvalidStringSize(InvalidStringSizeException, VelocityCommandActor, ParameterNode<VelocityCommandActor, ?>) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onInvalidUUID(InvalidUUIDException, VelocityCommandActor) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onMissingArgument(MissingArgumentException, VelocityCommandActor, ParameterNode<VelocityCommandActor, ?>) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onNoPermission(NoPermissionException, VelocityCommandActor) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onNumberNotInRange(NumberNotInRangeException, VelocityCommandActor, ParameterNode<VelocityCommandActor, Number>) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onSenderNotConsole(SenderNotConsoleException, VelocityCommandActor) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onSenderNotPlayer(SenderNotPlayerException, VelocityCommandActor) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onUnknownCommand(UnknownCommandException, VelocityCommandActor) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
onValueNotAllowed(ValueNotAllowedException, VelocityCommandActor) - Method in class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 

P

parse(MutableStringStream, ExecutionContext<VelocityCommandActor>) - Method in class revxrsal.commands.velocity.parameters.PlayerParameterType
 
PlayerParameterType - Class in revxrsal.commands.velocity.parameters
A parameter type for Player types.
PlayerParameterType(ProxyServer) - Constructor for class revxrsal.commands.velocity.parameters.PlayerParameterType
 
plugin() - Method in class revxrsal.commands.velocity.VelocityLampConfig
 
pluginContextParameters(Object) - Static method in class revxrsal.commands.velocity.VelocityVisitors
Adds dependencies and type resolvers for the given plugin object

R

reply(ComponentLike) - Method in interface revxrsal.commands.velocity.actor.VelocityCommandActor
Sends the given component to this actor.
requireConsole() - Method in interface revxrsal.commands.velocity.actor.VelocityCommandActor
Returns this actor as a ConsoleCommandSource if it is the console, otherwise throws a SenderNotConsoleException.
requirePlayer() - Method in interface revxrsal.commands.velocity.actor.VelocityCommandActor
Returns this actor as a Player if it is a player, otherwise throws a SenderNotPlayerException.
revxrsal.commands.velocity - package revxrsal.commands.velocity
 
revxrsal.commands.velocity.actor - package revxrsal.commands.velocity.actor
 
revxrsal.commands.velocity.annotation - package revxrsal.commands.velocity.annotation
 
revxrsal.commands.velocity.exception - package revxrsal.commands.velocity.exception
 
revxrsal.commands.velocity.hooks - package revxrsal.commands.velocity.hooks
 
revxrsal.commands.velocity.parameters - package revxrsal.commands.velocity.parameters
 
revxrsal.commands.velocity.sender - package revxrsal.commands.velocity.sender
 
revxrsal.commands.velocity.util - package revxrsal.commands.velocity.util
 

S

SenderNotConsoleException - Exception in revxrsal.commands.velocity.exception
Thrown when a console-only command is executed by a non-console
SenderNotConsoleException() - Constructor for exception revxrsal.commands.velocity.exception.SenderNotConsoleException
 
SenderNotPlayerException - Exception in revxrsal.commands.velocity.exception
Thrown when a player-only command is executed by a non-player
SenderNotPlayerException() - Constructor for exception revxrsal.commands.velocity.exception.SenderNotPlayerException
 
sendRawError(ComponentLike) - Method in interface revxrsal.commands.velocity.actor.VelocityCommandActor
Prints the given component to this actor as an error.
sendRawError(String) - Method in interface revxrsal.commands.velocity.actor.VelocityCommandActor
Sends the given message to the actor as an error, with legacy color-coding.
sendRawMessage(ComponentLike) - Method in interface revxrsal.commands.velocity.actor.VelocityCommandActor
Prints the given component to this actor.
sendRawMessage(String) - Method in interface revxrsal.commands.velocity.actor.VelocityCommandActor
Sends the given message to the actor, with legacy color-coding.
server() - Method in class revxrsal.commands.velocity.parameters.PlayerParameterType
 
server() - Method in class revxrsal.commands.velocity.VelocityLampConfig
 
source() - Method in interface revxrsal.commands.velocity.actor.VelocityCommandActor
Returns the underlying CommandSource of this actor

T

toString() - Method in class revxrsal.commands.velocity.parameters.PlayerParameterType
 

V

valueOf(String) - Static method in enum revxrsal.commands.velocity.sender.VelocityPermissionFactory
Returns the enum constant of this type with the specified name.
values() - Static method in enum revxrsal.commands.velocity.sender.VelocityPermissionFactory
Returns an array containing the constants of this enum type, in the order they are declared.
VelocityBrigadier<A extends VelocityCommandActor> - Class in revxrsal.commands.velocity.hooks
A hook that registers Lamp commands into Velocity
VelocityBrigadier(VelocityLampConfig<A>) - Constructor for class revxrsal.commands.velocity.hooks.VelocityBrigadier
 
VelocityBrigadier(ProxyServer, ActorFactory<A>, ArgumentTypes<A>) - Constructor for class revxrsal.commands.velocity.hooks.VelocityBrigadier
 
VelocityCommandActor - Interface in revxrsal.commands.velocity.actor
Represents a Velocity CommandActor that wraps CommandSource
VelocityExceptionHandler - Class in revxrsal.commands.velocity.exception
 
VelocityExceptionHandler() - Constructor for class revxrsal.commands.velocity.exception.VelocityExceptionHandler
 
velocityExceptionHandler() - Static method in class revxrsal.commands.velocity.VelocityVisitors
Handles the default Velocity exceptions
VelocityLamp - Class in revxrsal.commands.velocity
Includes modular building blocks for hooking into the Velocity platform.
VelocityLamp() - Constructor for class revxrsal.commands.velocity.VelocityLamp
 
VelocityLampConfig<A extends VelocityCommandActor> - Class in revxrsal.commands.velocity
A collective immutable object that contains all Velocity-only properties and allows for easy customizing and chaining using a builder
VelocityLampConfig.Builder<A extends VelocityCommandActor> - Class in revxrsal.commands.velocity
Represents a builder for VelocityLampConfig
velocityParameterTypes(ProxyServer) - Static method in class revxrsal.commands.velocity.VelocityVisitors
Registers the following parameter types: Player
VelocityPermissionFactory - Enum in revxrsal.commands.velocity.sender
 
velocityPermissions() - Static method in class revxrsal.commands.velocity.VelocityVisitors
Adds support for the CommandPermission annotation
VelocitySenderResolver - Class in revxrsal.commands.velocity.sender
 
VelocitySenderResolver() - Constructor for class revxrsal.commands.velocity.sender.VelocitySenderResolver
 
velocitySenderResolver() - Static method in class revxrsal.commands.velocity.VelocityVisitors
Resolves the sender type CommandSource and Player for parameters that come first in the command.
VelocityUtils - Class in revxrsal.commands.velocity.util
 
VelocityVisitors - Class in revxrsal.commands.velocity
Includes modular building blocks for hooking into the Velocity platform.
VelocityVisitors() - Constructor for class revxrsal.commands.velocity.VelocityVisitors
 
visit(Lamp<A>) - Method in class revxrsal.commands.velocity.hooks.VelocityBrigadier
 
visit(Lamp.Builder<A>) - Method in class revxrsal.commands.velocity.VelocityLampConfig
 
A B C D E G H I L N O P R S T V 
Skip navigation links