Changing Factions is part of the server-side stuff, the database to be correct.
Editing the database varies greatly depending on what emulator software you're using.
Most server softwares also have their database structures listed and explained somewhere, go look for it and create a new faction row in the corresponding table.