πŸŒ™ Advanced NPC Routine Plugin for RPG Maker MZ

Smart, scalable NPC pathfinding with daily routines.

πŸ’¬ Any questions or need support? Join the community on Discord:

Join the Discord Server

🎯 Overview

Breathe life into your RPG towns with fully autonomous NPCs that move, rest, vanish at night, and follow realistic schedules — all powered by A* pathfinding, route caching, and a variable-based time system.

This plugin is designed for scale, supporting:

  • βœ… Unlimited NPCs
  • βœ… Unlimited routine locations per NPC
  • βœ… Smart route caching for performance
  • βœ… Full compatibility with most time systems
  • βœ… Lightweight logic that performs smoothly — even across large maps and cast sizes

Whether you're making a cosy town sim, a sprawling open world, or an immersive village hub, this plugin lets your NPCs feel real.


🧠 Key Features

  • πŸ§β€β™‚οΈ Unlimited NPC Support – Add as many NPCs as you want, each with their own routine.
  • πŸ“ Unlimited Routine Locations – Define multiple destinations per NPC to keep them varied and alive.
  • 🧭 Smart A* Pathfinding – NPCs follow paths via roads you define using Region IDs.
  • πŸ’Ύ Route Caching – NPCs automatically remember routes after their first trip for better performance.
  • ⏱️ Wake, Lunch & Bed Scheduling – Fine-tune when NPCs appear, move, rest, and disappear.
  • 🍺 Tavern Logic – Optional feature that sends NPCs to a tavern at night instead of home.
  • πŸŒ’ Automatic Vanishing at Night – NPCs fade away when their routine ends for the day.
  • πŸ—¨οΈ Interaction-Aware – NPCs pause if the player talks to them and resume naturally.
  • πŸ”„ Auto Resume After Saving or Menus – Routines continue seamlessly across scenes.

πŸ› οΈ Easy Setup

  1. Assign walkable roads using Region ID.
  2. Place your NPC and any number of blank routine events on the map.
  3. Use a simple plugin command to define their home, schedule, and routine points.
  4. Done — NPCs will now move dynamically through your world based on time.

πŸ“¦ Includes Bonus Plugin: SimpleTimeMZ

No time system yet? We’ve got you covered.
Bundled with this plugin is SimpleTimeMZ – a lightweight, variable-based system that handles:

  • Minutes, Hours, Days
  • Time progression at your chosen speed
  • Full compatibility with this plugin

Or plug in any variable-based time plugin you already use!


🧾 Requirements

  • RPG Maker MZ
  • A variable representing the current in-game hour

πŸ’‘ Ideal For:

  • Life sims & farming games
  • Town hubs with active NPCs
  • Open world RPGs
  • Games that run on immersive world logic

πŸ“ What’s Included:

  • Advanced_NPC_Routine.js
  • SimpleTimeMZ.js
  • Full Setup Documentation (TXT file + Plugin Help Header)

βš™οΈ Technical Notes:

  • All NPCs cache their paths after first use to drastically reduce performance cost.
  • Use β€œErase Event” after setup so routines reapply each time the map loads.
  • Region ID-based pathing keeps NPCs moving naturally.
  • Handles menus and scene transitions seamlessly.

πŸ“œ Licensing

By purchasing the Advanced NPC Routine Plugin, you are granted the following rights:

βœ… You May:

  • Use this plugin in personal and commercial RPG Maker MZ projects.
  • Include the plugin in free or paid games.
  • Modify the plugin code for use within your own project.
  • Bundle the plugin with your deployed game (as part of the build).

❌ You May Not:

  • Redistribute, resell, or share the plugin on its own.
  • Include the plugin in asset packs, toolkits, or templates for resale.
  • Claim the plugin as your own original work.

πŸ’‘ A separate license is not required for each game — one purchase covers all your RPG Maker MZ projects.

If you're working as a team or studio, a single purchase covers your team as long as it's being used on shared projects.

Purchase

Buy NowΒ£7.50 GBP or more

In order to download this tool you must purchase it at or above the minimum price of Β£7.50 GBP. You will get access to the following files:

Advanced NPC Routines Plugin Files [V1.02].zip 14 kB
Advanced NPC Routines Plugin DEMO PROJECT - GeckWiz.zip 48 MB

Comments

Log in with itch.io to leave a comment.

I have a question. If you leave the map and then enter the map again will the npc's save their current location depending on the time of the day? And let's say I follow an NPC who walks inside a building, can I then see that NPC walking from the entrance to his bed for example?

Hey! When you exit and re-enter the map to signify the passing of time NPCs will be found randomly at one of their routine locations rather than starting their routine from home during the day.

NPCs inside their home can do whatever you set their custom move route to be. You can make NPCs appear inside home's by creating an event with them and setting the requirement for that NPCs "home switch" to be set to TRUE

Great plugin! Godsend!

(+1)

Thank you!

This reminds me of the NWN module "Almraiven" (one of my favourites) and I was in fact really thinking of how to make something similar in RPG maker, well, here we are.

Hopefully it can help make some ideas come to life for you :) 

depends- you said this can work with most time plugin? Including Visustella?

(+2)

Yes it works with Visustella time and date. I'm actually using it with that on my main project :)

The included time plugin is just there for anyone that doesn't already use one 

Well, you're a genius

How about the community lighting mz time system?

If it writes the current hour of the day to an in-game variable you can specify e.g. Variable #5 then yes.
This works by reading the current time from a variable so any plugin that uses variables is in theory compatible :)