1.14.4+ note: As of 1.14.4, the problem this plugin was built to address has mostly been fixed in the vanilla game. The plugin will still work, and will still reduce the entityTick of Villagers, but it will not help nearly as much as in 1.14.2 or 1.14.3.
- Native Minecraft Version:
- 1.14
- Tested Minecraft Versions:
- 1.14
- Source Code:
- https://github.com/froobynooby/Anti-Villager-Lag
- Contributors:
- froobynooby, Rincewind34
Villager OptimiserVillagers have new mechanics in 1.14 that cause them to run very CPU expensive pathfinding operations. This plugin aims to reduce their impact on a server's performance by forcing them to run these pathfinding operations less frequently, all while not stopping them from functioning as normal.
How it worksVillagers in 1.14 now have memories; they will remember their home (bed), job site and meeting place. If a villager is missing one of these memories then they will actively search for it. This plugin more or less works by filling in these memories with some placeholder value so the villagers stop searching, and then releasing this memory every now and then so it can still perform *some* searches.
The effect is that villagers run these pathfinding operations far less often. This doesn't have too much effect on them because they run them far too often as it is! Fact is, if they run it 30 times less frequently, the impact on you server decreases by a factor of 30. With this plugin, villagers will only run one operation per 30 seconds by default - but this is configurable.
Prefer a video explanation? Watch this video by stifflered:
Installation and configurationTo install the plugin is simple: download the jar, place it in your plugins folder and reload or restart the server. This will generate a folder called 'VillagerOptimiser' in your plugins directory. Inside is a config file which allows you change the time between pathfinding operations, as described above.
Please note that this plugin requires 1.14.2 or higher. It specifically requires a patch that was released on the 19th of June, 2019 - so make sure you are using a recent 1.14.2 build or a higher version.
Metrics: We use bStats to collect some (non-identifying) data about servers using this plugin. You can opt out by editing the config.yml in the bStats directory of your plugin directory.
You may also want to try the plugin SAML. This can help you to further reduce lag from mobs on your server, and it works just fine with this plugin.

Villager Optimiser [1.14.2-1.14.4] 1.1.1
Reduces performance impact of villagers in 1.14.2.
-
PantallazoAzul, Dr4cc, Her3sy and 3 others like this.
Recent Updates
- Villager Optimiser 1.1.1 Jul 3, 2019
- Villager Optimiser 1.1.0 Jun 23, 2019
Recent Reviews
-
superfly2000
- 4/5,
Not super sure that it actually help but it feels good to have it. It does sound strange that the vanilla villagers behave like that...
-
Jokni
- 5/5,
Amazing plugin, this improved the tps so much! Cant believe how unoptimized villagers are.
-
Author's Response
Thanks for the review! Glad it's helped
-
Gustavo_Player
- 5/5,
Dude, my review dissapeared or I don't did a review? Anyways, good plugin. =D
-
Author's Response
Thanks for the review either way! I appreciate it
-
Ninja_Jedi_Billy
- 5/5,
damn my timings report for villagers went from 99.39% of server tick to like 38.6%
I am impressed and thankful.
I have a villager breeder as well as a bunch of them locked down in my dungeon ; ) , so this plugin really helps.-
Author's Response
Happy to hear it has helped. Thanks for the review!
-
HexedHero
- 5/5,
This is actually a god sent wtf - Great work, keep at it! Can't wait for future updates!
-
Author's Response
Thanks for the review! Glad you like the plugin
-
Aurora5090
- 5/5,
Hello! I like this lite plugin very much.
Can I share with you the www.mcbbs.net forum in China?
i will mark out your(author's) name and the download link from spigotmc.org-
Author's Response
Thanks for the review!
And yes, feel free to share the plugin anywhere you like
-
iRedFox
- 5/5,
Great plugin! It fixes the lag with Villagers would recommend it.....................
-
Author's Response
Glad it's working for you! Thanks for the review
-
k9lego
- 5/5,
This really does help! I've found that mob stacking is a garbage solution that sometimes causes more lag than it fixes...
-
Author's Response
Thanks for the review! Nice to hear that it has helped
-
clx_
- 5/5,
Plugin deserves more attention, fixed my lag issues on 1.14.2. Combined with SAML, this will probably fix your lag too.
-
Author's Response
Thanks for the review! Very happy to hear the plugins have worked for you