Jail / Prison System Version 1.3

You can download the system here.

It is a fully functioning jail and is up to version 1.3. If a PK'er comes in to town and starts slaughtering the commoners, the constable is instantly summoned whereby he teleports the offender to a magical prison called Nosirp Liaj Pit.

In the pit the offender is surrounded by lava and two talking doors. He has a few choices he can make. Let the door decide the punishment for his offense whereby the door will fine him 5,000 gold (you can raise this) or the door will choose a jury for the offender. The jury is actually one juror, Juror Bloodclaw (an adult red dragon) that will sentence the offender to trial by mortal combat. If the PC defeats the dragon the dragon will drop the key so he or she can leave.) - I tested the latter scenario myself with a few 20th level characters and they have about a 5 to 10 percent chance if lucky of defeating the dragon so most will choose the monetary option.

You can place the jail system on any commoner or NPC you choose to protect.

You can customize scripts to protect PCs as well but I haven't gotten around to that just yet and that will be coming out in later versions.

Enjoy.