# comparator.conf

## 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://fletchly.gitbook.io/comparator-docs/basics/configuration/comparator.conf.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
