> For the complete documentation index, see [llms.txt](https://fletchly.gitbook.io/comparator-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fletchly.gitbook.io/comparator-docs/basics/configuration/comparator.conf.md).

# comparator.conf

You'll find general options for the plugin's behavior in this file

## Default configuration

{% code title="plugins/Comparator/comparator.conf" %}

```properties
# The prefix used to invoke the assistant in public chat (e.g. "@bot Hello!")
public-chat-prefix="@bot"
# Options for conversation context storage
context {
  # Maximum number of messages to retain in context per player
  conversation-message-limit=25
  # Number of minutes to retain a player's context after their conversation goes inactive
  expire-after-access-minutes=10
}
# Options for the AI provider
ai-provider {
  # Options for the Ollama AI provider
  ollama {
    # The base URL of the Ollama instance
    base-url="https://ollama.com"
    # API key for the Ollama API - only required when using an Ollama cloud model
    api-key=""
    # The model to use for response generation
    model="qwen3.5:397b-cloud"
  }
}
# Options for the web panel
web-panel {
  # Port to run the web panel on
  port=8080
  # Host to run the web panel on
  host="0.0.0.0"
}
# Options for assistant tools
tool {
  # Options for the web search tool
  web-search {
    # Whether the web search tool is enabled
    enabled=true
    # API key for the web search tool - falls back to ai-provider.ollama.api-key if left blank
    api-key=""
  }
  # Options for the game version tool
  game-version {
    # Whether the game version tool is enabled
    enabled=true
  }
  # Options for the current date tool
  current-date {
    # Whether the current date tool is enabled
    enabled=true
  }
  # Options for the player info tool
  player-info {
    # Whether the player info tool is enabled
    enabled=true
    # How far to scan for nearby entities in the east/west direction (in blocks)
    entity-radius-x=5
    # How far to scan for nearby entities in the up/down direction (in blocks)
    entity-radius-y=5
    # How far to scan for nearby entities in the north/south direction (in blocks)
    entity-radius-z=5
    # Maximum distance (in blocks) to check for a block or entity the player is looking at
    looking-at-distance=5
  }
}
# Config version - do not modify this value, as it may cause your config to be overwritten
config-version=5
```

{% endcode %}
