Class OfflinePlayerArgument

java.lang.Object
dev.rollczi.litecommands.argument.resolver.ArgumentResolver<org.bukkit.command.CommandSender,org.bukkit.OfflinePlayer>
dev.rollczi.litecommands.bukkit.argument.OfflinePlayerArgument
All Implemented Interfaces:
dev.rollczi.litecommands.argument.matcher.Matcher<org.bukkit.command.CommandSender,org.bukkit.OfflinePlayer>, dev.rollczi.litecommands.argument.parser.Parser<org.bukkit.command.CommandSender,org.bukkit.OfflinePlayer>, dev.rollczi.litecommands.argument.resolver.ArgumentResolverBase<org.bukkit.command.CommandSender,org.bukkit.OfflinePlayer>, dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<org.bukkit.command.CommandSender,org.bukkit.OfflinePlayer>, dev.rollczi.litecommands.argument.suggester.Suggester<org.bukkit.command.CommandSender,org.bukkit.OfflinePlayer>, dev.rollczi.litecommands.range.Rangeable<dev.rollczi.litecommands.argument.Argument<org.bukkit.OfflinePlayer>>

public class OfflinePlayerArgument extends dev.rollczi.litecommands.argument.resolver.ArgumentResolver<org.bukkit.command.CommandSender,org.bukkit.OfflinePlayer>
  • Constructor Summary

    Constructors
    Constructor
    Description
    OfflinePlayerArgument(org.bukkit.Server server, org.bukkit.plugin.Plugin plugin, boolean enableThreadCheck)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected dev.rollczi.litecommands.argument.parser.ParseResult<org.bukkit.OfflinePlayer>
    parse(dev.rollczi.litecommands.invocation.Invocation<org.bukkit.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<org.bukkit.OfflinePlayer> context, String argument)
     
    dev.rollczi.litecommands.suggestion.SuggestionResult
    suggest(dev.rollczi.litecommands.invocation.Invocation<org.bukkit.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<org.bukkit.OfflinePlayer> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)
     

    Methods inherited from class dev.rollczi.litecommands.argument.resolver.ArgumentResolver

    getRange, match, match, parse

    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.parser.Parser

    canParse
  • Constructor Details

    • OfflinePlayerArgument

      public OfflinePlayerArgument(org.bukkit.Server server, org.bukkit.plugin.Plugin plugin, boolean enableThreadCheck)
  • Method Details

    • parse

      protected dev.rollczi.litecommands.argument.parser.ParseResult<org.bukkit.OfflinePlayer> parse(dev.rollczi.litecommands.invocation.Invocation<org.bukkit.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<org.bukkit.OfflinePlayer> context, String argument)
      Specified by:
      parse in class dev.rollczi.litecommands.argument.resolver.ArgumentResolver<org.bukkit.command.CommandSender,org.bukkit.OfflinePlayer>
    • suggest

      public dev.rollczi.litecommands.suggestion.SuggestionResult suggest(dev.rollczi.litecommands.invocation.Invocation<org.bukkit.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<org.bukkit.OfflinePlayer> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)