{"id":44771,"date":"2026-06-02T06:26:21","date_gmt":"2026-06-02T03:26:21","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/comparator\/"},"modified":"2026-06-02T06:26:21","modified_gmt":"2026-06-02T03:26:21","slug":"comparator","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/comparator\/","title":{"rendered":"Comparator"},"content":{"rendered":"<p>![Comparator](https:\/\/www.dropbox.com\/scl\/fi\/qk3sqt46garmoyoqei3pa\/comparator-banner.png?rlkey=mt61gg70qxlvond5sys82jac6&#038;st=z7pytba9&#038;raw=1)<\/p>\n<p>> ### The AI agent built for Minecraft.<\/p>\n<p>![Github](https:\/\/github.com\/fletchly\/comparator)<br \/>\n![Modrinth](https:\/\/modrinth.com\/project\/MQoLAFN8)<br \/>\n![Release](https:\/\/img.shields.io\/github\/v\/release\/fletchly\/comparator)<br \/>\n![Documentation](https:\/\/fletchly.gitbook.io\/comparator-docs\/)<br \/>\n![Minecraft Version](https:\/\/img.shields.io\/badge\/minecraft-26.x-brightgreen)<br \/>\n![License](https:\/\/img.shields.io\/badge\/license-Apache%202.0-blue)<br \/>\n![Build](https:\/\/github.com\/fletchly\/comparator\/actions\/workflows\/build.yml)<\/p>\n<p>Comparator brings a fully conversational AI agent to your Paper server; with multi-turn memory, built-in tools, and an API to extend it on your own.<\/p>\n<p>&#8212;<\/p>\n<p>## Features<\/p>\n<p>### \ud83e\udd16 Conversational AI Agent<br \/>\nEmbed a fully conversational AI agent directly into your Minecraft server. Comparator maintains context across messages for natural, coherent dialogue; not just one-shot responses.<\/p>\n<p>### \ud83d\udd27 Built-In Tools<br \/>\nThe agent can to more than just chat. Comparator ships with several built-in tools the AI can invoke to give accurate, grounded answers:<\/p>\n<p>| Tool             | Description                                                                                                                                                |<br \/>\n|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;|<br \/>\n| **Web Search**   | Searches the web for up-to-date information, so the agent isn&#8217;t limited to its training data                                                               |<br \/>\n| **Current Date** | Retrieves the current date, helping the agent reason about how recent its knowledge is                                                                     |<br \/>\n| **Game Version** | Fetches the server&#8217;s running Minecraft version so answers are version-accurate                                                                             |<br \/>\n| **Player Info**  | Retrieves the player&#8217;s surroundings, inventory, nearby entities, biome, game mode, and what they&#8217;re looking at. This enables contextual in-game assistance |<\/p>\n<p>### \ud83c\udf10 Embedded Web Panel<br \/>\nComparator includes a built-in web panel served directly from the plugin via an embedded server. It gives server admins a live view into conversations, tool runs, and registered tools with real-time updates. No separate deployment needed; just configure the host and port in `comparator.conf` and run `\/comparator panel start` to launch it.<\/p>\n<p>### \ud83e\udde9 Extensible Tool API<br \/>\nThird-party plugins can register their own tools using the Comparator API. Defining a tool is as simple as annotating a function:<\/p>\n<p>&#8220;`kotlin<br \/>\n@ToolFunction(&#8220;give_item&#8221;, &#8220;Gives an item to the requesting player&#8221;)<br \/>\nsuspend fun giveItem(<br \/>\n    @ToolParameter(&#8220;The item to give&#8221;) item: String,<br \/>\n    context: ToolContext<br \/>\n): GiveResult {<br \/>\n    val player = context.bukkitPlayer ?: throw ToolException(&#8220;No player context&#8221;, null)<br \/>\n    \/\/ &#8230;<br \/>\n}<\/p>\n<p>\/\/ Register during ToolRegistrationEvent<br \/>\nevent.registry.register(tool(::giveItem))<br \/>\n&#8220;`<\/p>\n<p>The API handles parameter validation, type checking, serialization, and error reporting automatically. See the API docs for full details.<\/p>\n<p>### \ud83d\udd12 Designed for Responsible AI Use<br \/>\nComparator was built with safety and transparency in mind. This sets it apart from plugins that simply wrap an AI API with no guardrails:<\/p>\n<p>&#8211; **Permission-gated access** \u2014 All commands and public chat interactions respect Bukkit permissions, giving server admins fine-grained control over who can use the agent and who can manage it.<br \/>\n&#8211; **Configurable system prompt** \u2014 The agent&#8217;s behavior, persona, and constraints are fully configurable. The default prompt explicitly instructs the agent to stay on-topic, avoid fabricating information, and flag when its knowledge may be outdated.<br \/>\n&#8211; **Context scoping** \u2014 Conversations are isolated per-player, per-console, and for public chat. A player cannot read or pollute another player&#8217;s conversation history.<br \/>\n&#8211; **Automatic context expiry** \u2014 Conversation history expires after a configurable period of inactivity, limiting unintended data retention.<br \/>\n&#8211; **Tool result and parameter validation** \u2014 Tool inputs are validated against declared parameter types and constraints before execution. The agent cannot invoke a tool with malformed arguments.<br \/>\n&#8211; **Queue-based message handling** \u2014 Each conversation runs through a bounded channel. If a player floods the agent with messages, excess requests are rejected gracefully rather than queued unboundedly.<br \/>\n&#8211; **Structured error handling** \u2014 Tool failures are surfaced to the model as descriptive errors, not raw stack traces or internal state.<\/p>\n<p>### \u26a1 High-Performance, Non-Blocking Architecture<br \/>\nBuilt on Kotlin coroutines for fully non-blocking execution. AI requests, tool calls, and context operations never block the server thread, so the agent has no impact on server tick performance.<\/p>\n<p>### \u2728 Flexible AI Provider Support<br \/>\nIntegrates with Ollama, supporting both cloud-hosted and self-hosted models. Configure your model, base URL, and optional API key in `comparator.conf`.<\/p>\n<p>&#8212;<\/p>\n<p>## Installation<\/p>\n<p>1. Download the plugin `.jar` from Modrinth or GitHub Releases<br \/>\n2. Place the `.jar` in your server&#8217;s `plugins\/` folder<br \/>\n3. Restart your server<br \/>\n4. Follow the quickstart guide to complete setup<\/p>\n<p>&#8212;<\/p>\n<p>## Usage<\/p>\n<p>**Ask in private (DM-style):**<br \/>\n&#8220;`<br \/>\n\/ask <prompt>\n&#8220;`<\/p>\n<p>**Mention in public chat:**<br \/>\n&#8220;`<br \/>\n@bot <prompt>\n&#8220;`<\/p>\n<p>For full usage information, see the documentation.<\/p>\n<p>&#8212;<\/p>\n<p>## Support<\/p>\n<p>&#8211; Plugin Documentation<br \/>\n&#8211; API Documentation<br \/>\n&#8211; Discord<br \/>\n&#8211; GitHub Issues<\/p>\n<p>&#8212;<\/p>\n<p>## Contributing<\/p>\n<p>Contributions are welcome!<\/p>\n<p>1. Fork the repository<br \/>\n2. Create a feature branch: `git checkout -b feature\/my-feature`<br \/>\n3. Commit your changes: `git commit -m &#8220;Add my feature&#8221;`<br \/>\n4. Push and open a Pull Request<\/p>\n<p>Please follow the existing code style and include tests where applicable. For more details, see CONTRIBUTING.md.<\/p>\n<p>&#8212;<\/p>\n<p>## Credits<\/p>\n<p>&#8211; Main icon: *circuit* by Skena Grafis from The Noun Project (CC BY 3.0)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The AI agent built for Minecraft<\/p>\n","protected":false},"featured_media":44772,"template":"","meta":{"_minecraft_slug":"comparator","_minecraft_project_id":"MQoLAFN8","_minecraft_author":"fletchly","_minecraft_license":"Apache-2.0","_minecraft_downloads":55,"_minecraft_follows":0,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"comparator.zip","_minecraft_size_bytes":156978941,"_minecraft_version_count":11,"_minecraft_updated_at":"2026-05-15T20:55:28.907851Z","_minecraft_date_created":"2026-03-04T22:48:43.650803Z","_minecraft_date_modified":"2026-04-30T18:05:32.858678Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/comparator","_minecraft_icon_attachment_id":44772,"_minecraft_imported_at":"2026-06-02T03:26:22+00:00","_minecraft_import_hash":"66259821adf146651644803878bed9e9","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[87,127,867,92],"mod_loader":[132],"minecraft_version":[62,37,40,41,73,74,38,78,79,80,81,82,83,167,163],"class_list":["post-44771","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-adventure","mod_category-paper","mod_category-social","mod_category-utility","mod_loader-paper","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>Comparator - 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\/comparator\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Comparator - Minecraft\" \/>\n<meta property=\"og:description\" content=\"The AI agent built for Minecraft\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/comparator\/\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/comparator\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/comparator\\\/\",\"name\":\"Comparator - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/comparator\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/comparator\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/comparator-icon-013adf1aef6c8914c81506ffce4a7be7b1731411_96.webp\",\"datePublished\":\"2026-06-02T03:26:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/comparator\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/comparator\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/comparator\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/comparator-icon-013adf1aef6c8914c81506ffce4a7be7b1731411_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/comparator-icon-013adf1aef6c8914c81506ffce4a7be7b1731411_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/comparator\\\/#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\":\"Comparator\"}]},{\"@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":"Comparator - 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\/comparator\/","og_locale":"en_US","og_type":"article","og_title":"Comparator - Minecraft","og_description":"The AI agent built for Minecraft","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/comparator\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/comparator\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/comparator\/","name":"Comparator - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/comparator\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/comparator\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/comparator-icon-013adf1aef6c8914c81506ffce4a7be7b1731411_96.webp","datePublished":"2026-06-02T03:26:21+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/comparator\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/comparator\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/comparator\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/comparator-icon-013adf1aef6c8914c81506ffce4a7be7b1731411_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/comparator-icon-013adf1aef6c8914c81506ffce4a7be7b1731411_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/comparator\/#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":"Comparator"}]},{"@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\/44771","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\/44772"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=44771"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=44771"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=44771"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=44771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}