Question: Why aren’t my villagers working properly? / How do I optimize my villagers?

To prevent unnecessary and excess lag on the server, we’ve opted to install a plugin called VillagerOptimizer that changes how villagers function and behave depending on specific conditions.

This plugin may cause some annoyances sometimes, but it is necessary to keep the server running well as it minimizes huge villager lag. It does also add some new cool features like the ability to leash villagers, disabling damage from all sources (except zombies), and disabling their sleep cycle while in the ‘unoptimized’ state.


Basic Info

This plugin will disable trades with any villagers as long as they’re in an unoptimized state, where their AI is working.

  • Optimized villagers will have their AI disabled and will glow white.

To optimize villagers, you currently have two different methods available:

  1. Optimization with blocks (Recommended)
  2. Optimization with name tags (Not recommended)

Optimization delay

  • There is a 10 minute cooldown on optimizing / unoptimizing villagers.
  • This is necessary and was done to prevent exploits.

The second way of optimizing villagers is to use blocks.

  • Using blocks is a very simple and clear way of optimizing villagers and is very accessible.
  • To optimize villagers with blocks, you’ll have to follow these steps:
    1. Have one of the optimization blocks.
    2. Place it within a 2-block radius of the villager(s) that you’d like to have optimized.
  • The currently available optimization blocks are:
    1. Lapis Block
    2. Glowstone
    3. Iron Block

Why is this recommended?

  • We found this to be the easiest and most straightforward way of optimizing your villagers.
  • It is also more resistant to player griefing.

The first way of optimizing villagers is to use name tags.

  • Using name tags is a clear process, all you’ll need to do is:
    1. Have a name tag.
    2. Rename it to one of the optimization words.
    3. Apply it to the villagers that you’d like to have optimized.
  • The currently available optimization words are:
    1. Optimize
    2. DisableAI
    3. noAI

Why is this not recommended?

  • Based on the fact that name tags CANNOT be removed once they’ve been placed on a creature, we’ve decided to give players access to the /unoptimize {RADIUS} command, so that they can clear name tags off of villagers.
  • However, this comes with a downside, as this allows ANY player to unoptimize your villagers.
  • So please, do use this method with caution.

Infinite nametag usage

  • Because we know it’s a tedious process to get name tags, we’ve made it so any name tags that have the name of an optimization word will NOT get used up once applied.