public void onEnable() {
		getServer().getPluginManager().registerEvents(getEvents(), this);
		files.loadConfiguration();

		if (!wgClass.checkWorldGuard()) {
			this.getLogger().info("WorldGuard has not been found. Custom flags cannot be used!");
		}
		if (!wgClass.checkWGCustomFlags()) {
			this.getLogger().info("WGCustomFlags has not been found. Custom flags cannot be used!");
		}
		
		if (wgClass.isWorldGuardReady()) {
			
			// Get WorldGuardHandler
			wgClass.initialiseWGHandler(this);
			
			this.getLogger().info("Hooked into WorldGuard and WGCustomFlags!");
			this.getLogger().info("WorldGuard custom flags can be used!");
			wgClass.wgHandler.getWGCustomFlags();
			wgClass.wgHandler.getWorldGuard();
			wgClass.wgHandler.registerFlags();
		}

		// Initialize worlds
		wHandlers.getWorlds();

		this.getLogger().info("Configuring worlds!");

		// Initialize enabled worlds
		this.getLogger().info("Checking "
				+ wHandlers.getEnabledWorlds().size() + " worlds!");

		// Check if the config is set up correctly
		if (!files.hasAllOptions()) {
			getLogger().severe("The config is not setup correctly!");
			getServer().getPluginManager().disablePlugin(this);
			return;
		}
		
		// Check for a newer version IF we are allowed to
		if (getConfig().getBoolean("Updater.doCheckUpdate")) {
			updater = new Updater(this, "inventory-drop-chance", this.getFile(),
					Updater.UpdateType.NO_DOWNLOAD, false);
		}
		
		this.getLogger().info(getDescription().getName()
				+ "] has been enabled!");
	}