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
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
Chunky
Pre-generates chunks, quickly and efficiently
18.4MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta