#459 Add other accounts command + Update config docs

This commit is contained in:
Gabriele C
2016-10-30 13:01:22 +01:00
parent 46af922fba
commit 2651786456
4 changed files with 55 additions and 11 deletions
@@ -308,4 +308,12 @@ public class BukkitService implements SettingsDependent {
return Bukkit.getServer().getBanList(BanList.Type.IP).addBan(ip, reason, expires, source);
}
/**
* Dispatch a command as console
*
* @param command the command
*/
public void dispatchConsoleCommand(String command) {
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), command);
}
}