The village upgrades are listed here along with other important information visitors need. Leaving or going into a village then a post needs to be made going through the gates or have an applicable way to bypass security. Going outside a village at least one post needs to be made in Open Lands without space-time.
Warning: in the case of insufficient defenses staff can create a NPC to use that is effectively a PC. It's expected people with mastery over their character can mess with a village easily. But boring progression and metagaming will still be interfered with.