Class BukkitOfflinePlayerArgument<MESSAGE>

java.lang.Object
dev.rollczi.litecommands.bukkit.tools.BukkitOfflinePlayerArgument<MESSAGE>
All Implemented Interfaces:
dev.rollczi.litecommands.argument.simple.MultilevelArgument<org.bukkit.OfflinePlayer>, dev.rollczi.litecommands.argument.simple.OneArgument<org.bukkit.OfflinePlayer>

public class BukkitOfflinePlayerArgument<MESSAGE> extends Object implements dev.rollczi.litecommands.argument.simple.OneArgument<org.bukkit.OfflinePlayer>
  • Constructor Summary

    Constructors
    Constructor
    Description
    BukkitOfflinePlayerArgument(org.bukkit.Server server, MESSAGE playerNotFoundMessage)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    panda.std.Result<org.bukkit.OfflinePlayer,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

    • BukkitOfflinePlayerArgument

      public BukkitOfflinePlayerArgument(org.bukkit.Server server, MESSAGE playerNotFoundMessage)
  • Method Details

    • parse

      public panda.std.Result<org.bukkit.OfflinePlayer,Object> parse(dev.rollczi.litecommands.command.LiteInvocation invocation, String argument)
      Specified by:
      parse in interface dev.rollczi.litecommands.argument.simple.OneArgument<MESSAGE>
    • 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<MESSAGE>
      Specified by:
      suggest in interface dev.rollczi.litecommands.argument.simple.OneArgument<MESSAGE>