Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xginko/villageroptimizer
Save server resources by letting players disable their villager's AI
https://github.com/xginko/villageroptimizer
anti-villager-lag folia-supported minecraft-folia-plugin minecraft-paper-plugin minecraft-plugin optimization utility-plugin villager-lag villager-plugin villagers
Last synced: about 1 month ago
JSON representation
Save server resources by letting players disable their villager's AI
- Host: GitHub
- URL: https://github.com/xginko/villageroptimizer
- Owner: xGinko
- Created: 2023-09-04T21:24:40.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-03T13:42:57.000Z (7 months ago)
- Last Synced: 2024-04-03T14:47:54.188Z (7 months ago)
- Topics: anti-villager-lag, folia-supported, minecraft-folia-plugin, minecraft-paper-plugin, minecraft-plugin, optimization, utility-plugin, villager-lag, villager-plugin, villagers
- Language: Java
- Homepage: https://modrinth.com/plugin/villageroptimizer
- Size: 503 KB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# VillagerOptimizer
## Combat server lag caused by lots of ticking villagersThis 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 villagerIt 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](https://discord.com/invite/3UgsYf3qyc)!
# Supports Paper/Folia 1.16 - 1.20.4