Class BungeePlayerArgument<T>

java.lang.Object
dev.rollczi.litecommands.bungee.tools.BungeePlayerArgument<T>
All Implemented Interfaces:
dev.rollczi.litecommands.argument.simple.MultilevelArgument<net.md_5.bungee.api.connection.ProxiedPlayer>, dev.rollczi.litecommands.argument.simple.OneArgument<net.md_5.bungee.api.connection.ProxiedPlayer>

public class BungeePlayerArgument<T> extends Object implements dev.rollczi.litecommands.argument.simple.OneArgument<net.md_5.bungee.api.connection.ProxiedPlayer>
  • Constructor Summary

    Constructors
    Constructor
    Description
    BungeePlayerArgument(net.md_5.bungee.api.ProxyServer server, T playerNotFoundMessage)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    panda.std.Result<net.md_5.bungee.api.connection.ProxiedPlayer,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

    • BungeePlayerArgument

      public BungeePlayerArgument(net.md_5.bungee.api.ProxyServer server, T playerNotFoundMessage)
  • Method Details

    • parse

      public panda.std.Result<net.md_5.bungee.api.connection.ProxiedPlayer,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>