This is the whole point of factions. I do feel bad that this happened, but thats factions. Factions is a game of fighting and griefing. First, don't let people into your base unless you trust them 100%. And there were no glitches with commands, you simply had to /enemy the faction so u can fight...