@Override
	public int isFactionTag(String tag)
	{
		for(int i=0;i<Faction.TAG_NAMES.length;i++)
		{
			if(tag.equalsIgnoreCase(Faction.TAG_NAMES[i]))
				return i;
			else
			if(Faction.TAG_NAMES[i].endsWith("*")&&tag.startsWith(Faction.TAG_NAMES[i].substring(0,Faction.TAG_NAMES[i].length()-1)))
				return i;
		}
		return -1;
	}