{"id":166504,"date":"2026-06-09T21:25:09","date_gmt":"2026-06-09T18:25:09","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/villagerlobotomy\/"},"modified":"2026-06-09T21:25:09","modified_gmt":"2026-06-09T18:25:09","slug":"villagerlobotomy","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/villagerlobotomy\/","title":{"rendered":"VillagerLobotimizer"},"content":{"rendered":"<p>![image](https:\/\/github.com\/user-attachments\/assets\/2716b281-48a6-4a1a-9305-0560684d4e0f)<\/p>\n<p># VillagerLobotimizer<\/p>\n<p>A Minecraft Paper plugin that improves server performance by turning off villagers&#8217; AI when they&#8217;re confined to trading halls.<\/p>\n<p>![](https:\/\/img.shields.io\/bstats\/players\/25704?color=green?label=Players) ![](https:\/\/img.shields.io\/bstats\/servers\/25704?color=green?label=Servers)<\/p>\n<p>## Features<\/p>\n<p>&#8211; Automatically detects when villagers are trapped in trading halls<br \/>\n&#8211; Disables AI for trapped villagers to improve server performance<br \/>\n&#8211; Maintains villager trading functionality while AI is disabled<br \/>\n&#8211; Automatically refreshes villager trades on a configurable schedule with randomization support<br \/>\n&#8211; Profession-specific restock sounds and level-up celebrations<br \/>\n&#8211; Optimized job site detection for better performance<br \/>\n&#8211; Night-time trade refresh functionality<br \/>\n&#8211; Allows naming villagers to control their behavior (&#8220;nobrain&#8221;, &#8220;alwaysbrain&#8221;)<br \/>\n&#8211; Debug mode for troubleshooting<br \/>\n&#8211; Command system for checking villager status and managing the plugin<\/p>\n<p>## Commands<\/p>\n<p>&#8211; `\/lobotomy info` &#8211; Shows statistics about lobotomized and active villagers<br \/>\n&#8211; `\/lobotomy debug` &#8211; Shows detailed information about the villager you&#8217;re looking at<br \/>\n&#8211; `\/lobotomy debug <entity>` &#8211; Shows detailed information about a specific villager<br \/>\n&#8211; `\/lobotomy debug toggle` &#8211; Toggles debug mode<br \/>\n&#8211; `\/lobotomy wake` &#8211; Manually restores AI to the villager you&#8217;re looking at<br \/>\n&#8211; `\/lobotomy reload` &#8211; Reloads the configuration and applies changes to all villagers<\/p>\n<p>![Partner link for Nodecraft](https:\/\/nodecraft.com\/r\/mja00) **Note: I do not make any money off this link. It&#8217;s fully non-monetized.** <\/p>\n<p>## Configuration<\/p>\n<p>&#8220;`yaml<br \/>\n#List of names that will always keep villagers active (case-insensitive)<br \/>\nalways-active-names:<br \/>\n  &#8211; &#8220;alwaysbrain&#8221;<\/p>\n<p>#Interval between trapped checks, in ticks, for active villagers<br \/>\ncheck-interval: 150<\/p>\n<p>#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<br \/>\ninactive-check-interval: 150<\/p>\n<p>#Interval between villager trade restocks, in milliseconds<br \/>\nrestock-interval: 540000<\/p>\n<p>#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.<br \/>\nrestock-random-range: 0<\/p>\n<p>#Whether to only lobotomize villagers with jobs<br \/>\nonly-lobotomize-villagers-with-professions: false<\/p>\n<p>#Whether to lobotomize villagers in boats\/minecarts. Does not apply to villagers riding on non-vehicle entities like horses.<br \/>\nalways-lobotomize-villagers-in-vehicles: false<\/p>\n<p>#The sound to play when a villager restocks. Leave empty (&#8220;&#8221;) for default sounds.<br \/>\n#A list of sounds can be found at https:\/\/jd.papermc.io\/paper\/1.21.6\/io\/papermc\/paper\/registry\/keys\/SoundEventKeys.html<br \/>\n#Use the name found in the description column, e.g. &#8220;entity.villager.celebrate&#8221; for the sound played when a villager restocks.<br \/>\nrestock-sound: &#8220;&#8221;<\/p>\n<p>#The sound played when a villager is leveled up. Leave empty (&#8220;&#8221;) for no sound.<br \/>\nlevel-up-sound: &#8220;entity.villager.celebrate&#8221;<\/p>\n<p>#Debug mode. Prints debug messages to the console.<br \/>\ndebug: false<\/p>\n<p>#Chunk debug mode. Prints debug messages related to chunks<br \/>\nchunk-debug: false<\/p>\n<p>#To ignore villagers stuck in doors, set this to true.<br \/>\nignore-villagers-stuck-in-doors: false<\/p>\n<p>#To not lobotomize villagers surrounded by non-solid blocks, set this to true.<br \/>\nignore-non-solid-blocks: false<\/p>\n<p>#To check if there is a roof above a villager before lobotomizing, set this to true<br \/>\ncheck-roof: true<\/p>\n<p>#Create teams for debugging purposes. This will create colored teams for inactive and active villagers. We use this to color their glowing effect.<br \/>\ncreate-debug-teams: false<\/p>\n<p>#Disable the update checker. You can disable this if you don&#8217;t want to be notified about updates.<br \/>\ndisable-update-checker: false<\/p>\n<p>#Disable chunk forced Villager updating. This&#8217;ll disable changes to blocks in a chunk from triggering Villagers in the chunk to be updated.<br \/>\ndisable-chunk-villager-updates: false<\/p>\n<p>#Prevent trading with unlobotomized villagers. When enabled, players can only trade with villagers that have been lobotomized.<br \/>\nprevent-trading-with-unlobotomized-villagers: false<br \/>\n&#8220;`<\/p>\n<p>## Special Villager Names<\/p>\n<p>&#8211; Name a villager with &#8220;nobrain&#8221; to force it to always be lobotomized<br \/>\n&#8211; Name a villager with &#8220;alwaysbrain&#8221; to prevent it from ever being lobotomized (configurable in `always-active-names`)<\/p>\n<p>## Sound System<\/p>\n<p>The plugin features an enhanced sound system:<br \/>\n&#8211; **Default restock sounds**: When `restock-sound` is left empty, villagers will play default sounds when restocking<br \/>\n&#8211; **Customizable sounds**: You can override the default sounds by specifying a custom sound in the configuration<br \/>\n&#8211; **Sound reference**: A complete list of available sounds can be found in the Paper API documentation<br \/>\n&#8211; **Level-up celebrations**: Villagers play celebration sounds when they level up their trades<\/p>\n<p>## Requirements<\/p>\n<p>&#8211; Paper (or its forks) 1.21.6+<br \/>\n&#8211; Java Development Kit (JDK) 21 for development<\/p>\n<p>## Installation<\/p>\n<p>1. Download the latest release from Modrinth or Hangar<br \/>\n2. Place the .jar file in your server&#8217;s plugins folder<br \/>\n3. Restart your server or use a plugin manager to load the plugin<br \/>\n4. Configure the plugin settings in `plugins\/VillagerLobotimizer\/config.yml` if needed<\/p>\n<p>## Development<\/p>\n<p>### Prerequisites<\/p>\n<p>&#8211; Java Development Kit (JDK) 21<br \/>\n&#8211; Gradle (wrapper included)<\/p>\n<p>### Building<\/p>\n<p>1. Clone the repository<br \/>\n   &#8220;`bash<br \/>\n   git clone https:\/\/github.com\/mja00\/VillagerLobotimizer.git<br \/>\n   cd VillagerLobotimizer<br \/>\n   &#8220;`<\/p>\n<p>2. Build the plugin<br \/>\n   &#8220;`bash<br \/>\n   .\/gradlew build<br \/>\n   &#8220;`<br \/>\n   The built plugin will be in `build\/libs\/VillagerLobotimizer-<version>.jar`<\/p>\n<p>### Running a test server<\/p>\n<p>The project uses the run-paper plugin to easily test changes:<\/p>\n<p>&#8220;`bash<br \/>\n.\/gradlew runServer<br \/>\n&#8220;`<\/p>\n<p>This will download a Paper server for Minecraft 1.21.5 and start it with the plugin installed.<\/p>\n<p>### Publishing<\/p>\n<p>The project uses Hangar for publishing:<\/p>\n<p>&#8220;`bash<br \/>\n.\/gradlew publishPluginPublicationToHangar<br \/>\n&#8220;`<\/p>\n<p>This requires the `HANGAR_API_KEY` environment variable to be set. The plugin will be published as:<br \/>\n&#8211; A release version if the current commit is tagged with a version matching the project version<br \/>\n&#8211; A snapshot version if there&#8217;s no matching tag<\/p>\n<p>## Support<\/p>\n<p>If you encounter any issues, please report them on GitHub.<\/p>\n<p>## License<\/p>\n<p>This project is licensed under the MIT License &#8211; see the [LICENSE](LICENSE) file for details.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A plugin to lobotomize villagers stuck in a trading hall. Perfect for SMPs looking to increase performance without sacrificing gameplay!<\/p>\n","protected":false},"featured_media":166505,"template":"","meta":{"_minecraft_slug":"villagerlobotomy","_minecraft_project_id":"pDaq3k6b","_minecraft_author":"mja00","_minecraft_license":"MIT","_minecraft_downloads":4446,"_minecraft_follows":52,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"villagerlobotomy.zip","_minecraft_size_bytes":18954564,"_minecraft_version_count":63,"_minecraft_updated_at":"2026-05-16T03:58:01.073517Z","_minecraft_date_created":"2025-03-31T03:57:38.072160Z","_minecraft_date_modified":"2026-05-10T17:36:46.712792Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/villagerlobotomy","_minecraft_icon_attachment_id":166505,"_minecraft_imported_at":"2026-06-09T18:25:09+00:00","_minecraft_import_hash":"4635971b83c9665802c1934c328b1c79","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[125,89,126,137,90,127,128,123,92],"mod_loader":[131,132,133],"minecraft_version":[62,37,40,41,73,74,38,78,79,80,81,82,83,167,163],"class_list":["post-166504","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-folia","mod_category-game-mechanics","mod_category-management","mod_category-mobs","mod_category-optimization","mod_category-paper","mod_category-purpur","mod_category-technology","mod_category-utility","mod_loader-folia","mod_loader-paper","mod_loader-purpur","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-10","minecraft_version-1-21-11","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-6","minecraft_version-1-21-7","minecraft_version-1-21-8","minecraft_version-1-21-9","minecraft_version-26-1","minecraft_version-26-1-1","minecraft_version-26-1-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>VillagerLobotimizer - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/villagerlobotomy\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"VillagerLobotimizer - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A plugin to lobotomize villagers stuck in a trading hall. Perfect for SMPs looking to increase performance without sacrificing gameplay!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/villagerlobotomy\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerlobotomy\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerlobotomy\\\/\",\"name\":\"VillagerLobotimizer - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerlobotomy\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerlobotomy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/villagerlobotomy-icon-8b56e82ccd10bd76a4595007426ee3a2a6bc33a9.webp\",\"datePublished\":\"2026-06-09T18:25:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerlobotomy\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerlobotomy\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerlobotomy\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/villagerlobotomy-icon-8b56e82ccd10bd76a4595007426ee3a2a6bc33a9.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/villagerlobotomy-icon-8b56e82ccd10bd76a4595007426ee3a2a6bc33a9.webp\",\"width\":56,\"height\":56},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/villagerlobotomy\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"VillagerLobotimizer\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"VillagerLobotimizer - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/villagerlobotomy\/","og_locale":"en_US","og_type":"article","og_title":"VillagerLobotimizer - Minecraft","og_description":"A plugin to lobotomize villagers stuck in a trading hall. Perfect for SMPs looking to increase performance without sacrificing gameplay!","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/villagerlobotomy\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/villagerlobotomy\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/villagerlobotomy\/","name":"VillagerLobotimizer - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/villagerlobotomy\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/villagerlobotomy\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/villagerlobotomy-icon-8b56e82ccd10bd76a4595007426ee3a2a6bc33a9.webp","datePublished":"2026-06-09T18:25:09+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/villagerlobotomy\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/villagerlobotomy\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/villagerlobotomy\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/villagerlobotomy-icon-8b56e82ccd10bd76a4595007426ee3a2a6bc33a9.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/villagerlobotomy-icon-8b56e82ccd10bd76a4595007426ee3a2a6bc33a9.webp","width":56,"height":56},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/villagerlobotomy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"VillagerLobotimizer"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/166504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/166505"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=166504"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=166504"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=166504"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=166504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}