Here is a better version than I last posted.
This should address guilds,z axis, gods and a couple other minor things. And I formatted spawnStruct properly this time. Much more readable. Still plenty of unknowns tho.
Post your bugs here so I can poke at the most popular stuff. I basically stopped when everything I used worked. I don't mind workin more out if needed tho.
-piggy