Out.info("main", "Database is not configured; disabling commands.");
} else {
try {
new Database(db_driver, db_url, db_username, db_password, db_schema);
BNetUser.setDatabase();
cmd = new CommandEventHandler();
primary.addEventHandler(cmd);
Settings.write("database", "driver", db_driver);
Settings.write("database", "url", db_url);
Settings.write("database", "username", db_username);