
PluginMIT
VillagerNoAI
Proximity-based villager AI disabler for optimization
42
Downloads
1
Followers
4 months ago
Updated
📦
1
Versions
📖About VillagerNoAI
When villagers have no player in 32 block range, they will get a vanilla NoAI:1 flag which completely turns off ALL behavior, 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