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

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-06-22 19:07:07 +01:00
parent 22bfa512a9
commit 244635242e
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