Class VelocityPlayerArgument<T>
java.lang.Object
dev.rollczi.litecommands.velocity.tools.VelocityPlayerArgument<T>
- All Implemented Interfaces:
dev.rollczi.litecommands.argument.simple.MultilevelArgument<com.velocitypowered.api.proxy.Player>,dev.rollczi.litecommands.argument.simple.OneArgument<com.velocitypowered.api.proxy.Player>
public class VelocityPlayerArgument<T>
extends Object
implements dev.rollczi.litecommands.argument.simple.OneArgument<com.velocitypowered.api.proxy.Player>
-
Constructor Summary
ConstructorsConstructorDescriptionVelocityPlayerArgument(com.velocitypowered.api.proxy.ProxyServer server, T playerNotFoundMessage) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.rollczi.litecommands.argument.simple.MultilevelArgument
validateMethods inherited from interface dev.rollczi.litecommands.argument.simple.OneArgument
countMultilevel, parseMultilevel
-
Constructor Details
-
VelocityPlayerArgument
public VelocityPlayerArgument(com.velocitypowered.api.proxy.ProxyServer server, T playerNotFoundMessage)
-
-
Method Details
-
parse
public panda.std.Result<com.velocitypowered.api.proxy.Player,Object> parse(dev.rollczi.litecommands.command.LiteInvocation invocation, String argument) - Specified by:
parsein interfacedev.rollczi.litecommands.argument.simple.OneArgument<T>
-
suggest
public List<dev.rollczi.litecommands.suggestion.Suggestion> suggest(dev.rollczi.litecommands.command.LiteInvocation invocation)
-