VillagerNoAI
Proximity-based villager AI disabler for optimization
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
VillagerNoAI
When villagers have no player in 32 block range, they will get a vanilla REQUIRES PAPER 1.21.4+ flag which completely REQUIRES PAPER 1.21.4+, even gravity! Very lightweight and impactful optimization. Use this plugin if you are ready to sacrifice villager gameplay for server performance. REQUIRES PAPER 1.21.4+
Config:
```
Maximum distance in blocks for AI to remain active
max-distance: 32.0
Refresh frequency in ticks (1 second = 20 ticks)
check-interval: 180
Minimum MSPT to start disabling AI
min-mspt: 30.0 ``` Note: If you decide to stop using this plugin, NoAI:1 flag may remain in some villagers and you will have to reset it