@EventHandler
	public void onSpoutcraftAuth(SpoutCraftEnableEvent event) {
		SpoutPlayer sPlayer = event.getPlayer();
	
		if (!sPlayer.hasPermission("PlayerPlus.use")) {
			for(AccessoryType ttype : AccessoryType.values()) {
				String url = get(event.getPlayer().getName(), ttype);		
				sPlayer.removeAccessory(ttype);
			}
		}

		if (sPlayer.hasPermission("PlayerPlus.use")) {
			for(AccessoryType ttype : AccessoryType.values()) {
				String url = get(event.getPlayer().getName(), ttype);
				if (event.getPlayer().hasPermission("PlayerPlus.use." + ttype.toString())) {
					if(url != null) {
						event.getPlayer().addAccessory(ttype, url);				
					}	
				} else {
					sPlayer.removeAccessory(ttype);					
				}			
			}
			
			if (event.getPlayer().hasPermission("PlayerPlus.use.capes")) {				
				String url = getCape(event.getPlayer().getName(), "CAPES");
				if (url != null) {
					sPlayer.setCape(url);
				} else {
					if (PlayerPlus.getInstance().getConfig().getBoolean("ForceDefaultCape")) {
						sPlayer.setCape(PlayerPlus.getInstance().getConfig().getString("DefaultCape"));
					}
				}
			} else {
				sPlayer.resetCape();
			}
		}	
	}