13
0
geforkt von Mirrors/Paper

Documented + added server.matchPlayer

By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2011-01-07 10:00:00 +00:00
Ursprung 6f77375dc5
Commit 88076b8a29

Datei anzeigen

@ -1,6 +1,7 @@
package org.bukkit;
import java.util.List;
import org.bukkit.plugin.PluginManager;
/**
@ -38,6 +39,18 @@ public interface Server {
*/
public Player getPlayer(String name);
/**
* Attempts to match any players with the given name, and returns a list
* of all possibly matches
*
* This list is not sorted in any particular order. If an exact match is found,
* the returned list will only contain a single result.
*
* @param name Name to match
* @return List of all possible players
*/
public List<Player> matchPlayer(String name);
/**
* Gets the PluginManager for interfacing with plugins
*