Class PlayerArguments

java.lang.Object
dev.booky.cloudutilities.util.PlayerArguments

public final class PlayerArguments extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.velocitypowered.api.proxy.Player
    getPlayer(com.velocitypowered.api.proxy.ProxyServer server, com.mojang.brigadier.context.CommandContext<?> ctx, String name)
     
    static com.velocitypowered.api.proxy.Player
    parse(com.velocitypowered.api.proxy.ProxyServer server, String input)
     
    static com.mojang.brigadier.suggestion.SuggestionProvider<com.velocitypowered.api.command.CommandSource>
    playerSuggestions(com.velocitypowered.api.proxy.ProxyServer server)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • playerSuggestions

      public static com.mojang.brigadier.suggestion.SuggestionProvider<com.velocitypowered.api.command.CommandSource> playerSuggestions(com.velocitypowered.api.proxy.ProxyServer server)
    • getPlayer

      public static com.velocitypowered.api.proxy.Player getPlayer(com.velocitypowered.api.proxy.ProxyServer server, com.mojang.brigadier.context.CommandContext<?> ctx, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • parse

      public static com.velocitypowered.api.proxy.Player parse(com.velocitypowered.api.proxy.ProxyServer server, String input) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException