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

# Bot configuration

## Bot account

{% hint style="info" %}
In case if you need to use offline account type you should to enter bot username to the required field and keep type and password values empty.
{% endhint %}

<table><thead><tr><th width="182">Key</th><th>Description</th></tr></thead><tbody><tr><td>username</td><td>Email of used account.</td></tr><tr><td>password</td><td>Password of used account</td></tr><tr><td>type</td><td>Premium account type</td></tr></tbody></table>

## Server credentials

{% hint style="info" %}
Supported server versions: 1.8-1.19.3
{% endhint %}

<table><thead><tr><th width="108">Key</th><th>Description</th></tr></thead><tbody><tr><td>ip</td><td>Your server hostname or IP address</td></tr><tr><td>port</td><td>Port of the server</td></tr><tr><td>version</td><td>Version of the server</td></tr></tbody></table>

## Position

{% hint style="info" %}
Bot will go to provided coordinates on join. Pitch and yaw values are random.
{% endhint %}

## Utils

### Auto auth

{% hint style="info" %}
On join bot will send auth commands in the chat, e.g. /reg and /login
{% endhint %}

<table><thead><tr><th width="190">Key</th><th>Description</th></tr></thead><tbody><tr><td>password</td><td>Auth password</td></tr></tbody></table>

### Anti AFK

After join bot will do things to simulate player behaviour

<table><thead><tr><th width="170">Key</th><th>Description</th></tr></thead><tbody><tr><td>sneak</td><td>Bot will sneak all the time</td></tr><tr><td>jump</td><td>Bot will jump  cyclically</td></tr><tr><td>hit</td><td>Bot will just swing his hand. You can enable <code>attack-mobs</code> sub-module to allow attack near targets except players. The delay value is specified in milliseconds.</td></tr><tr><td>rotate</td><td>Bot will rotate in yaw axis</td></tr><tr><td>circle-walk</td><td>Bot will walk circularry in specified radius</td></tr></tbody></table>

### Chat Messages

Send messages from the list in the chat once or repeatedly

<table><thead><tr><th width="217">Key</th><th>Description</th></tr></thead><tbody><tr><td>repeat</td><td>Enable messages loop</td></tr><tr><td>repeat-delay</td><td>Messages send delay (in seconds)</td></tr><tr><td>messages</td><td>List of the messages</td></tr></tbody></table>

## Other

<table><thead><tr><th width="214">Key</th><th>Description</th></tr></thead><tbody><tr><td>chat-log</td><td>Send server chat in console</td></tr><tr><td>auto-reconnect</td><td>Reconnect to the server on kick</td></tr><tr><td>auto-reconnect-delay</td><td>Reconnection delay</td></tr></tbody></table>
