Add matchPlayer API

This commit is contained in:
md_5
2014-06-23 17:26:30 +10:00
parent 59ba644623
commit e54388a5e0
2 changed files with 37 additions and 0 deletions

View File

@@ -282,4 +282,14 @@ public abstract class ProxyServer
*/
public abstract ProxyConfig getConfig();
/**
* Attempts to match any players with the given name, and returns a list of
* all possible matches.
*
* @param name the (partial) name to match
* @return list of all possible players, singleton if there is an exact
* match
*/
public abstract Collection<ProxiedPlayer> matchPlayer(String name);
}