Logo
MINECRAFTBIBLE
Items
Items

All game items

Blocks
Blocks

Building blocks

Mobs
Mobs

Creatures & monsters

Biomes
Biomes

World biomes

Structures
Structures

Generated structures

Recipes
Recipes

Crafting guides

Advancements
Advancements

Achievements

Loot Tables
Loot Tables

Drop rates

Tags
Tags

Item groupings

All Versions
View all data →
Capes
Cape ArchiveNEW

Browse rare Minecon capes, OptiFine capes, and custom capes from players worldwide

Browse

Player Database
Player DatabasePopular

Search any player

Skin Browser
Skin Browser

Browse & download skins

Cape Gallery
Cape GalleryNEW

Minecon & OptiFine capes

Seed Vault
Seed Vault

Curated seeds

Learn

Guides
GuidesNew

Tutorials & tips

Blog
Blog

News & updates

Community

Community Hub
Community HubHub

Posts, discussions & more

All Versions
View community →
Seed Analyzer
Seed Analyzer

World seed analysis

Loot Explorer
Loot Explorer

Drop rates

Crafting Calculator
Crafting Calculator

Material planning

Enchant Calculator
Enchant Calculator

Probability math

Redstone Lab
Redstone Lab

Signal timing

Trading Profit
Trading Profit

Villager ROI

All Versions
View all tools →
Mods
Mods

Browse all mods

Plugins
Plugins

Server plugins

Resource Packs
Resource Packs

Textures & sounds

Shaders
Shaders

Visual enhancements

Datapacks
Datapacks

World logic

Scanner
Mod Intelligence

Scan & analyze any mod

All Versions
View all mods →
Loading...
IntroductionIntroductionVersion HistoryVersion HistoryGuidesGuidesBlog & NewsBlog & News
ItemsItemsBlocksBlocksMobsMobsRecipesRecipesBiomesBiomesStructuresStructuresAdvancementsAdvancementsLoot TablesLoot TablesTagsTags
ModsModsPluginsPluginsResource PacksResource PacksShadersShadersDatapacksDatapacks

MinecraftBible

The Ultimate Wiki

Logo
MINECRAFTBIBLE

The ultimate Minecraft reference. Every item, block, mob, and recipe documented with precision.

Community

  • Skin Browser
  • Cape Gallery
  • Seed Vault
  • Blog
  • Guides

Database

  • Items
  • Blocks
  • Mobs
  • Recipes
  • Biomes
  • Structures

Tools

  • Seed Analyzer
  • Mod Intelligence
  • Crafting Calculator
  • Enchant Calculator

Mods & Packs

  • Mods
  • Plugins
  • Resource Packs
  • Shaders
  • Datapacks

Site & Legal

  • About
  • Authors
  • Editorial Policy
  • Corrections
  • Contact
  • Privacy Policy
  • Terms of Service
  • DMCA
  • Sitemap

© 2026 MinecraftBible. Not affiliated with Mojang or Microsoft.

PrivacyTermsContact
VillagerLobotimizer
PluginMIT

VillagerLobotimizer

A plugin to lobotomize villagers stuck in a trading hall. Perfect for SMPs looking to increase performance without sacrificing gameplay!

3.0K
Downloads
46
Followers
4 months ago
Updated
📦
30
Versions
optimizationutilityfoliapaperpurpur
Download Latestv1.13.3View on Modrinth

📖About VillagerLobotimizer

image

VillagerLobotimizer

A Minecraft Paper plugin that improves server performance by turning off villagers' AI when they're confined to trading halls.

Features

  • Automatically detects when villagers are trapped in trading halls
  • Disables AI for trapped villagers to improve server performance
  • Maintains villager trading functionality while AI is disabled
  • Automatically refreshes villager trades on a configurable schedule with randomization support
  • Profession-specific restock sounds and level-up celebrations
  • Optimized job site detection for better performance
  • Night-time trade refresh functionality
  • Allows naming villagers to control their behavior ("nobrain", "alwaysbrain")
  • Debug mode for troubleshooting
  • Command system for checking villager status and managing the plugin

Commands

  • /lobotomy info - Shows statistics about lobotomized and active villagers
  • /lobotomy debug - Shows detailed information about the villager you're looking at
  • /lobotomy debug <entity> - Shows detailed information about a specific villager
  • /lobotomy debug toggle - Toggles debug mode
  • /lobotomy wake - Manually restores AI to the villager you're looking at
  • /lobotomy reload - Reloads the configuration and applies changes to all villagers

Partner link for Nodecraft Note: I do not make any money off this link. It's fully non-monetized.

Configuration

#List of names that will always keep villagers active (case-insensitive)
always-active-names:
  - "alwaysbrain"

#Interval between trapped checks, in ticks, for active villagers
check-interval: 150

#Interval between trapped checks, in ticks, for inac![Replace this with a description](https://cdn.modrinth.com/data/cached_images/d9e6e9cef0f4d62860a5ec931a483f000b113874_0.webp)tive villagers
inactive-check-interval: 150

#Interval between villager trade restocks, in milliseconds
restock-interval: 540000

#Range (in milliseconds) before restock-interval to start random restock checks. If set to 0, restocking is not randomized. If equal to or greater than restock-interval, restock will always occur.
restock-random-range: 0

#Whether to only lobotomize villagers with jobs
only-lobotomize-villagers-with-professions: false

#Whether to lobotomize villagers in boats/minecarts. Does not apply to villagers riding on non-vehicle entities like horses.
always-lobotomize-villagers-in-vehicles: false

#The sound to play when a villager restocks. Leave empty ("") for default sounds.
#A list of sounds can be found at https://jd.papermc.io/paper/1.21.6/io/papermc/paper/registry/keys/SoundEventKeys.html
#Use the name found in the description column, e.g. "entity.villager.celebrate" for the sound played when a villager restocks.
restock-sound: ""

#The sound played when a villager is leveled up. Leave empty ("") for no sound.
level-up-sound: "entity.villager.celebrate"

#Debug mode. Prints debug messages to the console.
debug: false

#Chunk debug mode. Prints debug messages related to chunks
chunk-debug: false

#To ignore villagers stuck in doors, set this to true.
ignore-villagers-stuck-in-doors: false

#To not lobotomize villagers surrounded by non-solid blocks, set this to true.
ignore-non-solid-blocks: false

#To check if there is a roof above a villager before lobotomizing, set this to true
check-roof: true

#Create teams for debugging purposes. This will create colored teams for inactive and active villagers. We use this to color their glowing effect.
create-debug-teams: false

#Disable the update checker. You can disable this if you don't want to be notified about updates.
disable-update-checker: false

#Disable chunk forced Villager updating. This'll disable changes to blocks in a chunk from triggering Villagers in the chunk to be updated.
disable-chunk-villager-updates: false

#Prevent trading with unlobotomized villagers. When enabled, players can only trade with villagers that have been lobotomized.
prevent-trading-with-unlobotomized-villagers: false

Special Villager Names

  • Name a villager with "nobrain" to force it to always be lobotomized
  • Name a villager with "alwaysbrain" to prevent it from ever being lobotomized (configurable in always-active-names)

Sound System

The plugin features an enhanced sound system:

  • Default restock sounds: When restock-sound is left empty, villagers will play default sounds when restocking
  • Customizable sounds: You can override the default sounds by specifying a custom sound in the configuration
  • Sound reference: A complete list of available sounds can be found in the Paper API documentation
  • Level-up celebrations: Villagers play celebration sounds when they level up their trades

Requirements

  • Paper (or its forks) 1.21.6+
  • Java Development Kit (JDK) 21 for development

Installation

  1. Download the latest release from Modrinth or Hangar
  2. Place the .jar file in your server's plugins folder
  3. Restart your server or use a plugin manager to load the plugin
  4. Configure the plugin settings in plugins/VillagerLobotimizer/config.yml if needed

Development

Prerequisites

  • Java Development Kit (JDK) 21
  • Gradle (wrapper included)

Building

  1. Clone the repository

    git clone https://github.com/mja00/VillagerLobotimizer.git
    cd VillagerLobotimizer
    
  2. Build the plugin

    ./gradlew build
    

    The built plugin will be in build/libs/VillagerLobotimizer-<version>.jar

Running a test server

The project uses the run-paper plugin to easily test changes:

./gradlew runServer

This will download a Paper server for Minecraft 1.21.5 and start it with the plugin installed.

Publishing

The project uses Hangar for publishing:

./gradlew publishPluginPublicationToHangar

This requires the HANGAR_API_KEY environment variable to be set. The plugin will be published as:

  • A release version if the current commit is tagged with a version matching the project version
  • A snapshot version if there's no matching tag

Support

If you encounter any issues, please report them on GitHub.

License

This project is licensed under the MIT License - see the LICENSE file for details.

👥 Team & Contributors

mja00
mja00Owner
derexXD
derexXD
Contributor

⚙️ Compatibility

Environment
🖥️ Server-side
Loaders
foliapaperpurpur
Minecraft Versions
1.21.61.21.71.21.81.21.91.21.101.21.11

🔗 Links

Modrinth Page