When a player is arrested by a guard NPC, he will be sent to the closest jail.


To build a jail that the game will recognize, you need several things:

  • A "PrisonMarker" (A predefined door with this name) placed in the interior cell which contains the jail
  • Another "PrisonMarker" linked to the first one, in the exterior cell where the player will be released from jail.
  • "StolenGoods"-container, placed in the jail interior cell, where the player's possessions are stored while in jail
  • A bed in the jail cell, for the player to click on to "serve time"
  • Obviously a locked door is a good idea, if you don't want the player to escape.