
VillagerOptimizer
Fix server lag caused by lots of villagers on your server
Автор: xGinko25,6 тыс.76обновлён 30 июл. 2024 г.
УправлениеМобыОптимизация
Описание
Combat server lag caused by large amounts of villagers
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
Последние версии
Все версии →release
VillagerOptimizer 1.6.2
1.6.230 июл. 2024 г.21,2 тыс.Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21folia, paper, purpur, spigot
Что нового
- Added profession whitelist to chunk limit.
- Fixed compatibility with new 1.21 spigot changes.
release
VillagerOptimizer 1.6.1
1.6.111 июл. 2024 г.762Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21folia, paper, purpur, spigot
Что нового
- Fixed an oopsie which would cause all modules to enable no matter the config
release
VillagerOptimizer 1.6.0
1.6.09 июл. 2024 г.256Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21folia, paper, purpur, spigot
Что нового
- Added full compatibility for 1.20.5-1.21
- Initial support for servers running spigot only
- Improved scheduling for Folia servers
release
VillagerOptimizer 1.5.5
1.5.513 мая 2024 г.1 тыс.Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6folia, paper, purpur
Что нового
- Fixed an error that would appear during optimization interactions with the message:
```
java.lang.NullPointerException: Name is null
```
release
VillagerOptimizer 1.5.4
1.5.411 мая 2024 г.121Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6folia, paper, purpur
Что нового
- Fix nametag optimization still consuming nametags when `nametags-get-consumed` is set to `false`
- Fixed a bug where wrong cooldown millis would be reported, making it impossible to re-optimize villagers that have been optimized before
- Updated Adventure to get more compatibility with 1.20.6
release
VillagerOptimizer 1.5.3
1.5.34 мая 2024 г.158Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6folia, paper, purpur
Что нового
- Fixed enum name formatting still containing _ due to a typo
release
VillagerOptimizer 1.5.2
1.5.228 апр. 2024 г.145Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5folia, paper, purpur
Что нового
- Fixed players getting kicked with messages like
```
IllegalArgumentException: Unable to measure distance between world_nether and world
```
- Added chinese translation (Thanks, xiaoyueyoqwq)
- Improved compatibility with Villagers previously optimized by AVL (Your feedback would be appreciated)
- Improved logging
- Improved how enums show up in messages. This means that for example "LIGHT_BLUE_WOOL" now shows as "Light Blue Wool".
release
VillagerOptimizer 1.5.1
1.5.12 апр. 2024 г.245Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4folia, paper, purpur
Что нового
- Fix nametag optimization throwing NoSuchMethodError
- Improve AVL villagerdata handling
release
VillagerOptimizer 1.5.0
1.5.020 мар. 2024 г.189Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4folia, paper, purpur
Что нового
- Now supports Java 8
- Fully fixed support for versions < 1.19
- Fixed language files not generating on windows
- Fixed workstation optimization
- Villagers no longer get an automatic "Optimized" Nametag as this behavior introduces too many bugs. Instead an option to make optimized villagers glow has been added.
release
VillagerOptimizer 1.4.1
1.4.113 февр. 2024 г.312Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4folia, paper, purpur
Что нового
- Fixed restock cooldown
- Fixed plugin messages showing negative times