public void onEnable() {
		// Load the configuration.
		new Configuration(this);
		
		try {
			new SQLDatabase(this);
			
			if(!(SQLDatabase.isDBSchemaValid() || SQLDatabase.setupTables())) {
				getLogger().log(Level.SEVERE, "Unable to validate schema or create proper tables." +
												" Plugin will not load until issue is fixed.");
				disable();
			}
		} catch (SQLException ex) {
			getLogger().log(Level.SEVERE, "Error loading database during initialization.\n" +
											ex.getMessage());
			ex.printStackTrace();
			disable();
		}
		
		if (this.isEnabled()) {
			setupCommands();
			setupChat();
			setupPermissions();
		}
	}