The server config can now specify aliases to multiple (or none) commands, for example "debug: [version, plugin]" to run both version and plugin, or "plugins: []" to disable the plugins command

This commit is contained in:
Dinnerbone
2011-06-22 19:07:07 +01:00
parent 5738f2e6fe
commit 7524109bf0
3 changed files with 51 additions and 8 deletions

View File

@@ -270,7 +270,7 @@ public interface Server {
*
* @return Map of aliases to command names
*/
public Map<String, String> getCommandAliases();
public Map<String, String[]> getCommandAliases();
/**
* Gets the radius, in blocks, around each worlds spawn point to protect