When you get in game, alot of the commands you'll be using to create and edit NPCs can be found in the #help command.
To create an NPC that can be a Guild Master you'd #spawn <name>. I find this the easiest way. Afterwards you'd need to #npcspawn create to enter it in the database. #repop will repop your zone, enabling it to respawn with your actual mob. From there you can #npcedit its race, size, class, gender, texture (cloth, leather, plate, etc), wep1, wep2, and whole lots more. (#npcedit help).
To lock your server when you're in it just #lock. However this will lock it when you manually do it, you could have it set to lock on server boot up though by changing the eqemuserverconfig.xml in your server directory. In order to have people log in when it's locked though you'll have to unlock, let them in, and them relock it. Then flag their account to enter when locked from the server.
You'll also want some tools to make most of your work a bit easier. GeorgeS has a whole slew of tools I love. He, and everyone involved in creating the applications are really a godsend for the more novice server admins. I know my friends and I use his tools for alot of things.
Weapon Encyclopedia - Gives you a visual of all weapon, shield, helm, and armor textures available up to House of Thule expansion. So when you want to create some items, and want to know what graphic to use just scroll through here and take a look.
EQ Item Editor - A great tool to use to actually create items (weapons, armor, etc..) without manually doing it in the DB. There are a few things I'd like to see in it (the ability to make a new item from scratch instead of copy/ editing already existing ones), however it is still amazing.
DB Editing Tool Suite - This has a few tools in it. It has a trade skill creating/ editing application so you can have custom trade recipes, as well as an NPC editor in case you want to make massive changes to a zone or group of NPCs on the fly without using #npcedit on each individual in game.**
EQEmu Guidebook v.13 - A guidebook created for the Emu community with lots of useful info for an aspiring server admin. I use it still for some grid information now and again. Very very good, even if its a little out dated.
Spawning Tutorial - I haven't personally used this, because I didn't know it existed when I first got interested in making custom stuff in EQ servers. I was shown everything in the beginning. However this looks like it has video tutorials showing how to spawn NPCs and edit them. Very useful!
**I learned after we wiped our server that #npctypespawn is a great command if you want to have similar NPCs in a zone or area, and don't need individual NPCIDs for each. So it is great if you want to change the whole area's NPCs at once, because they are all technically the same if that makes sense at all (sorry if it doesn't).
-Note- Forgot to add the actual link to GeorgeS's website. Here ya go
http://www.georgestools.eqemulator.net/