@Override
	public void onEnable() {
		updateConfigFile();
		getBadWords();
		migrateToUUID();
		loadConfiguration();
		loadIgnoredPlayers();
		PluginManager pm = getServer().getPluginManager();
		pm.registerEvents(playerChatListener, this);
		pm.registerEvents(playerJoinListener, this);
		getCommand("badw").setExecutor(new ServerCommandExecutor(this));
		PluginDescriptionFile pdffile = this.getDescription();
		if (getConfig().getBoolean("NewVersion.CheckForUpdates")) {
			if (getConfig().getBoolean("NewVersion.auto-update")) {
				@SuppressWarnings("unused")
				Updater updater = new Updater(this, projectID, this.getFile(), Updater.UpdateType.DEFAULT, true);
			} else {
				Updater updater = new Updater(this, projectID, this.getFile(), Updater.UpdateType.NO_DOWNLOAD, false);
				boolean isUpdate = updater.getResult() == Updater.UpdateResult.UPDATE_AVAILABLE;
				if (isUpdate) {
					setIsUpdated(true);
					setUpdateName(updater.getLatestName());
					setUpdateVersion(updater.getLatestGameVersion());
					setUpdateType(updater.getLatestType());
					setUpdateLink(updater.getLatestFileLink());
					this.logger.info("[BadWords] ** There is a NEW VERSION of BadWords available **");
					this.logger.info("[BadWords] ONLY UPDATE IF YOU ARE RUNNING CRAFTBUKKIT 1.7 OR GREATER.");
					this.logger.info("[BadWords] Please update at http://dev.bukkit.org/server-mods/badwords/");					
					this.logger.info("[BadWords] or type /badw update to update now");
				}
			}
		}
		this.logger.info(pdffile.getName()+" "+pdffile.getVersion()+" is enabled");
	}