I understand this isn't useful for anyone who isn't in the Kingdoms development team, but perhaps someone will learn from it or need it in the future. The dungeon generator works with other tilesets as well, so it could be used for another server.
Basically it's a tool for generating maps to be used with the dungeon generator.
Pardon the poor video.
The code is too long to post, so you can find it here.