Minecraft plugin · 2026
TownNPC
Paper and Folia plugin for patrolling NPCs that exist only as packets, so the server never ticks them.
Overview
TownNPC adds player-like NPCs that patrol a looped path of waypoints. Each NPC is sent to clients purely through packets. Nothing is spawned on the server, so NPCs are never ticked by the game loop, never saved into world files, and never collide with real entities.
It supports Paper and Folia 1.21.11, online and offline servers, and Bedrock players through Geyser and Floodgate.
How it works
-
Draw the route
An admin creates an NPC where they stand, then walks the route and adds waypoints. The last waypoint connects back to the first, and each one can make the NPC jump, sneak, or wait.
-
Plan the path
A* route planning walks around walls and uses stairs, slabs, and one-block jumps to reach other floors, with ground snapping and automatic crouching under low ceilings.
-
Send only what players can see
Packets go only to players within a configurable distance, and NPCs nobody can see are not simulated. On Folia each NPC ticks on the region that owns its chunk.
Highlights
-
Zero server-side entities
NPCs cost nothing in the game loop and never end up in world saves.
-
Native Folia support
NPCs follow Folia’s regionised threading instead of fighting it.
-
Java and Bedrock
Bedrock players see the NPC, its skin, and its name tag through Geyser.
Tech stack
- Plugin
- Build