list.add(Transaction.class);
return list;
}
};
FileConfiguration config = YamlConfiguration.loadConfiguration(new File("bukkit.yml"));
DB.initializeDatabase(
config.getString("database.driver"),
config.getString("database.url"),
config.getString("database.username"),
config.getString("database.password"),
config.getString("database.isolation")
);
database = DB.getDatabase();
scheduleTask(new Queue(), 200L, 200L);