Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft
Fancy Npcs Plugin Wiki › Guides › Make NPCs Follow Paths and Patrol

Make NPCs Follow Paths and Patrol

Creating a Patrol Route

Define waypoints for your NPC to follow by marking positions in the world. Use the pathing tool to set each point the NPC should visit in sequence. You can add as many waypoints as needed to create complex patrol routes around your server.

Configuring Movement Behavior

Set the NPC's walking speed and whether it should loop the path continuously or stop at the end. You can also configure whether the NPC pauses at each waypoint and for how long. This is useful for creating NPCs that guard areas, perform routines, or guide players through your server.

Once configured, the NPC will automatically move between waypoints. You can pause or resume patrols through commands, allowing dynamic control over NPC behavior during gameplay.