Zone NPC Commander is a FiveM resource for ESX Legacy that lets authorized admins create and manage NPC zones and groups through an in-game NUI menu. Configure NPC models, weapons, group sizes, accuracy, zone radius, and behavior, then save zones for persistent use.
- Copy the resource folder into your server’s resources directory.
- Add
ensure ender_npczonestoserver.cfg, afterensure es_extended. - Grant admins either an ESX group listed in
Config.AdminGroupsor the ACE permissionender_npczones.admin. - Start or restart the server.
- In game, run
/npczonesas an authorized admin. - Create a zone, set its name and radius, and enter coordinates or use your current position.
- Add one or more NPC groups. Choose a model, weapon, behavior, group size, and accuracy.
- Save the zone. Zone data is stored in the resource’s server KVP and synced to clients.
- NPCs spawn when the population-owning client is within the configured spawn distance and are removed after moving beyond the despawn distance.
More FiveM resource projects by EnderDevelopment: https://github.com/EnderDevelopment