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

    Constructors
    Constructor
    Description
    VelocityPlayerArgument(com.velocitypowered.api.proxy.ProxyServer server, T playerNotFoundMessage)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    panda.std.Result<com.velocitypowered.api.proxy.Player,Object>
    parse(dev.rollczi.litecommands.command.LiteInvocation invocation, String argument)
     
    List<dev.rollczi.litecommands.suggestion.Suggestion>
    suggest(dev.rollczi.litecommands.command.LiteInvocation invocation)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface dev.rollczi.litecommands.argument.simple.MultilevelArgument

    validate

    Methods 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:
      parse in interface dev.rollczi.litecommands.argument.simple.OneArgument<T>
    • suggest

      public List<dev.rollczi.litecommands.suggestion.Suggestion> suggest(dev.rollczi.litecommands.command.LiteInvocation invocation)
      Specified by:
      suggest in interface dev.rollczi.litecommands.argument.simple.MultilevelArgument<T>
      Specified by:
      suggest in interface dev.rollczi.litecommands.argument.simple.OneArgument<T>