public void onEnable(){
		registerListeners();
		saveResource(permissionsFileName, false);
		saveResource(usersFileName, false);
		saveDefaultConfig();
		reloadAll();
		cc.checkConfigFiles();
		
		if(statsAllowed()){
			Metrics metrics;
			try {
				metrics = new Metrics(this);
				metrics.start();
				getLogger().info("Stats collection started succesfully");
			} catch (IOException e) {
				getLogger().warning("Stats collection start up has failed");
			}
		}
		
		if(!haveDefault()){
			getLogger().warning("A global default group has not been defined! Please define one in permissions.yml");
		}
		
		if(allowedChecking("OnStart")){
			checkForUpdate();
		}
	}