/** * This is the standard onDisable() command inherited from Bukkit. It monitors the closing of the * DataManager, and reports on its success or failure. * * @see org.bukkit.plugin.Plugin#onDisable() */ @Override public void onDisable() { System.out.println("[CasinoManager] Disabling plugin..."); if (database.stop()) System.out.println("[CasinoManager] Plugin disabled Successfully!"); else System.out.println("[CasinoManager] Encountered an error while exiting..."); }