Added Server.getServerId() for ID purposes.

This commit is contained in:
sk89q 2011-03-26 01:39:10 -07:00
parent bc2200fba8
commit 7d46e6714b

View File

@ -63,6 +63,14 @@ public interface Server {
*/ */
public String getServerName(); public String getServerName();
/**
* Get an ID of this server. The ID is a simple generally alphanumeric
* ID that can be used for uniquely identifying this server.
*
* @return The ID of this server
*/
public String getServerId();
/** /**
* Broadcast a message to all players. * Broadcast a message to all players.
* *