Prison is a powerful Bukkit plugin that includes the basics for creating a Prison server.