Add getConsole() to the API

This commit is contained in:
md_5
2013-03-12 12:01:47 +11:00
parent 758e196479
commit 3dac86a94c
2 changed files with 16 additions and 0 deletions

View File

@@ -211,4 +211,13 @@ public abstract class ProxyServer
* @return the constructed instance
*/
public abstract ServerInfo constructServerInfo(String name, InetSocketAddress address);
/**
* Returns the console overlord for this proxy. Being the console, this
* command server cannot have permissions or groups, and will be able to
* execute anything.
*
* @return the console command sender of this proxy
*/
public abstract CommandSender getConsole();
}