CommandManager(Class<?> clazz, String permission, boolean allowConsole, String... args) { try { this.clazz = (BaseCommand) clazz.newInstance(); } catch (InstantiationException e) { Message.log(Level.SEVERE, "Error while instantiating a command! InstantiationException"); return; } catch (IllegalAccessException e) { Message.log(Level.SEVERE, "Error while instantiating a command! IllegalAccessException"); return; } this.permission = permission; this.allowConsole = allowConsole; alias = new ArrayList<String>(); for (String arg : args) alias.add(arg); }