@Override
    public void onDisable() {

        PluginDescriptionFile pdfFile = this.getDescription();

        if (this.getConfig().getBoolean("use-mysql")) {
            if (dbManageMySQL != null) {
                dbManageMySQL.close();
                this.log.info("[" + pdfFile.getName() + "] MySQL database connection closed!");
            }
        } else if (!this.getConfig().getBoolean("use-mysql")) {
            if (dbManageSQLite != null) {
                dbManageSQLite.close();
                this.log.info("[" + pdfFile.getName() + "] SQLite database connection closed!");
            }
        }
    }