Full Configuration Breakdown
π X-NPC_Control Configuration Breakdown
All settings are in config.lua
β tweak values to match your serverβs needs.
1. Debug Settings
For troubleshooting/development:
Usage:
Set
RemoveAllNPCs = true
only to test performance.Enable
Mode = true
to see NPC counts near players.
2. Population Control
Adjust NPC/vehicle density globally or dynamically:
Recommended Presets:
Zombie Apocalypse
0
false
City Roleplay
2
true
Battle Royale
1
true
3. NPC-Free Zones
Create areas where NPCs vanish
Pro Tips:
Use
/tp 323.26 -595.57 44.86
in-game to verify coordinates.Set
DrawZones = true
temporarily to visualize boundaries.
4. Dispatch Services
Disable emergency responses:
Key IDs:
[1]
Police cars[5]
Ambulances[11]
Gang activity
5. Scenario Control
Block annoying NPC behaviors:
Popular Scenarios to Disable:
WORLD_VEHICLE_MECHANIC
β NPCs repairing carsWORLD_VEHICLE_AMBULANCE
β Random EMS spawnsWORLD_VEHICLE_BUSINESSMEN
β Suit-clad NPCs
6. Gang Relationships
Control hostility levels:
Relationship Scale:
0
Companion1
Respect2
Like3
Neutral4
Dislike5
Hate
7. Performance Tweaks
Reduce server strain:
8. Routing Buckets
Disable NPCs in specific dimensions (MLOs):
Common Uses:
Interior dimensions (e.g., apartments)
Event zones
β Troubleshooting
NPCs still in zones
Increase zone radius
by 10-20 meters
Police respond despite config
Set Config.DispatchServices[1] = true
FPS drops
Set PedBudget = 1
and disable scenarios
Last updated