Class RegisteredServerArgument
java.lang.Object
dev.rollczi.litecommands.argument.resolver.ArgumentResolver<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.server.RegisteredServer>
dev.rollczi.litecommands.velocity.argument.RegisteredServerArgument
- All Implemented Interfaces:
dev.rollczi.litecommands.argument.parser.Parser<com.velocitypowered.api.command.CommandSource,,com.velocitypowered.api.proxy.server.RegisteredServer> dev.rollczi.litecommands.argument.resolver.ArgumentResolverBase<com.velocitypowered.api.command.CommandSource,,com.velocitypowered.api.proxy.server.RegisteredServer> dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<com.velocitypowered.api.command.CommandSource,,com.velocitypowered.api.proxy.server.RegisteredServer> dev.rollczi.litecommands.argument.suggester.Suggester<com.velocitypowered.api.command.CommandSource,,com.velocitypowered.api.proxy.server.RegisteredServer> dev.rollczi.litecommands.range.Rangeable<dev.rollczi.litecommands.argument.Argument<com.velocitypowered.api.proxy.server.RegisteredServer>>
public class RegisteredServerArgument
extends dev.rollczi.litecommands.argument.resolver.ArgumentResolver<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.server.RegisteredServer>
-
Constructor Summary
ConstructorsConstructorDescriptionRegisteredServerArgument(dev.rollczi.litecommands.message.MessageRegistry<com.velocitypowered.api.command.CommandSource> messageRegistry, com.velocitypowered.api.proxy.ProxyServer server) -
Method Summary
Modifier and TypeMethodDescriptionprotected dev.rollczi.litecommands.argument.parser.ParseResult<com.velocitypowered.api.proxy.server.RegisteredServer> parse(dev.rollczi.litecommands.invocation.Invocation<com.velocitypowered.api.command.CommandSource> invocation, dev.rollczi.litecommands.argument.Argument<com.velocitypowered.api.proxy.server.RegisteredServer> context, String argument) dev.rollczi.litecommands.suggestion.SuggestionResultsuggest(dev.rollczi.litecommands.invocation.Invocation<com.velocitypowered.api.command.CommandSource> invocation, dev.rollczi.litecommands.argument.Argument<com.velocitypowered.api.proxy.server.RegisteredServer> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context) Methods inherited from class dev.rollczi.litecommands.argument.resolver.ArgumentResolver
canParse, getRange, parseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.rollczi.litecommands.argument.parser.Parser
canParse
-
Constructor Details
-
RegisteredServerArgument
public RegisteredServerArgument(dev.rollczi.litecommands.message.MessageRegistry<com.velocitypowered.api.command.CommandSource> messageRegistry, com.velocitypowered.api.proxy.ProxyServer server)
-
-
Method Details
-
parse
protected dev.rollczi.litecommands.argument.parser.ParseResult<com.velocitypowered.api.proxy.server.RegisteredServer> parse(dev.rollczi.litecommands.invocation.Invocation<com.velocitypowered.api.command.CommandSource> invocation, dev.rollczi.litecommands.argument.Argument<com.velocitypowered.api.proxy.server.RegisteredServer> context, String argument) - Specified by:
parsein classdev.rollczi.litecommands.argument.resolver.ArgumentResolver<com.velocitypowered.api.command.CommandSource,com.velocitypowered.api.proxy.server.RegisteredServer>
-
suggest
public dev.rollczi.litecommands.suggestion.SuggestionResult suggest(dev.rollczi.litecommands.invocation.Invocation<com.velocitypowered.api.command.CommandSource> invocation, dev.rollczi.litecommands.argument.Argument<com.velocitypowered.api.proxy.server.RegisteredServer> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)
-