Language

VillagerOptimizer

VillagerOptimizer

Modrinth

Fix server lag caused by lots of villagers on your server

21.2k downloads 74 followers updated 23mo ago
latest v1.6.2 Modrinth
Folia Paper Purpur Spigot 1.16 – 1.21 ManagementMobsOptimization

Combat server lag caused by large amounts of villagers

VillagerOptimizer

ko-fi Discord

This plugin enables you and your playerbase to optimize villagers in trading halls or other setups so they still remain their function but don't take up large amounts of resources.

There are 4 methods to do so:

  • Using commands to optimize/unoptimize all villagers in a given block radius
  • Using nametags with a specific name to optimize/unoptimize a single villager (recommended)
  • Using specific blocks and placing/removing them near a villager
  • Using the corresponding workstation block and placing/removing them near a villager

It aims to be highly customizable and performant. Offering a multilang system, which displays messages based on the player client's language setting as well as an optimize- and unoptimize event, so you may extend the plugin with your own custom solutions.

Commands:

| Command | Aliases | Description |
|:---------------------------------------------:|:-------------------:|:------------------------------------------:|
| /villageroptimizer [reload, version, disable] | voptimizer, vo | VillagerOptimizer admin commands |
| /optimizevillagers | noai, optvils | Optmize villagers in a radius around you |
| /unoptimizevillagers | noaiundo, unoptvils | Unoptmize villagers in a radius around you |

Other features:

  • Prevent trading with unoptimized villagers to encourage players to optimize them
  • Smart villager chunk limit with configurable max numbers for optimized and unoptimized villagers and a villager profession based priorisation system (you can configure what kind of villagers should be deleted first, like for example nitwits or jobless villagers.)
  • Make villagers spawn as adults so players can optimize them sooner
  • Prevent other mobs from targeting optimized villagers
  • Prevent damage of specific, configurable causes to optimized villagers
  • Comes with prepackaged translations for en_us, de_de, it_it, ru_ru
  • All plugin messages support the usage of multiple lines and use MiniMessage formatting. This means you can use hex colors, custom click events and much more without needing to be a programmer!

Found a bug or got an idea for an enhancement? Open an issue or join the discord!

Supports Spigot/Paper/Purpur/Folia 1.16 - 1.21

Versions

Release
1.6.2
folia, paper, purpur · 1.16, 1.16.1, 1.16.2 · 23mo ago
- Added profession whitelist to chunk limit. - Fixed compatibility with new 1.21 spigot changes.
17.1k
Release
1.6.1
folia, paper, purpur · 1.16, 1.16.1, 1.16.2 · 23mo ago
- Fixed an oopsie which would cause all modules to enable no matter the config
702
Release
1.6.0
folia, paper, purpur · 1.16, 1.16.1, 1.16.2 · 23mo ago
- Added full compatibility for 1.20.5-1.21 - Initial support for servers running spigot only - Improved scheduling for Folia servers
221
Release
1.5.5
folia, paper, purpur · 1.16, 1.16.1, 1.16.2 · 25mo ago
- Fixed an error that would appear during optimization interactions with the message: ``` java.lang.NullPointerException: Name is null ```
1.0k
Release
1.5.4
folia, paper, purpur · 1.16, 1.16.1, 1.16.2 · 25mo ago
- Fix nametag optimization still consuming nametags when `nametags-get-consumed` is set to `false` - Fixed a bug where wrong cooldown millis would be reported,…
109
Release
1.5.3
folia, paper, purpur · 1.16, 1.16.1, 1.16.2 · 25mo ago
- Fixed enum name formatting still containing _ due to a typo
137
Release
1.5.2
folia, paper, purpur · 1.16, 1.16.1, 1.16.2 · 26mo ago
- Fixed players getting kicked with messages like ``` IllegalArgumentException: Unable to measure distance between world_nether and world ``` - Added chinese…
125
Release
1.5.1
folia, paper, purpur · 1.16, 1.16.1, 1.16.2 · 26mo ago
- Fix nametag optimization throwing NoSuchMethodError - Improve AVL villagerdata handling
230
Release
1.5.0
folia, paper, purpur · 1.16, 1.16.1, 1.16.2 · 27mo ago
- Now supports Java 8 - Fully fixed support for versions < 1.19 - Fixed language files not generating on windows - Fixed workstation optimization - Villagers…
164
Release
1.4.1
folia, paper, purpur · 1.16, 1.16.1, 1.16.2 · 28mo ago
- Fixed restock cooldown - Fixed plugin messages showing negative times
299
Release
1.4.0
folia, paper, purpur · 1.16, 1.16.1, 1.16.2 · 28mo ago
- Added ability for players to use leashes on villagers. - Improved workstation optimization to interfere less with trade rolling - Villagers will now be…
131
Release
1.3.0
folia, paper, purpur · 1.16, 1.16.1, 1.16.2 · 29mo ago
**Added support for AntiVillagerLag!** If you have previously been using AntiVillagerLag, VillagerOptimizer is now capable of reading (but not writing) data…
159

Comments 0

No comments yet. Be the first to share your thoughts.