> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zonely.gen.tr/llms.txt
> Use this file to discover all available pages before exploring further.

# AFK Bot API service

> Start Minecraft AFK bots op uw eigen Windows-, Linux- of Docker-service.

AFK bots in de API-modus werken op uw eigen servicemachine. Nadat de browser is gesloten, kan de service blijven werken. Deze service is niet droog voor de browsermodus.

## Service

[ZonelyAfkBotApiService](https://github.com/zonely-gen-tr/ZonelyAfkBotApiService) Haal bestanden en **Service/** Schakel over naar de map. Gebruik het bestand van uw besturingssysteem voor lokale opstart:

> [tab] Windows
>
> ```bat title="Vensters · lokaal" icon="https://mintcdn.com/zonely-a8cd49e7/ja7fj31SJsKV8uKD/images/doc-icons/ui-monitor.svg?fit=max&auto=format&n=ja7fj31SJsKV8uKD&q=85&s=be8f113e6d089ddf27a146dee68a1b3c" lines theme={"theme":"css-variables"}
> cd service
> start-local-windows.bat
> ```

> [tab] Linux
>
> ```bash title="Linux · lokaal" icon="https://mintcdn.com/zonely-a8cd49e7/ja7fj31SJsKV8uKD/images/doc-icons/ui-terminal.svg?fit=max&auto=format&n=ja7fj31SJsKV8uKD&q=85&s=974dbaf0043eca8dd43204c8ea988572" lines theme={"theme":"css-variables"}
> cd service
> sh start-local-linux.sh
> ```

In dezelfde map in de installatie van Docker **start-docker-windows.bat** of **start-docker-linux.sh** launcher wordt gebruikt.

## Bewerk service toegang

De eerste opening **Service/.env** file **API\_TOKEN**, **PANEL\_USERNAME**, **PANEL\_PASSWORD** en **PANEL\_SESSION\_SECRET** Stel waarden in. De standaard hoofdpoort van de service **8787**.

## Maak de Zonely-link klaar

**→ Minecraft AFK Bot** instellingen **API-modus** Selecteer. Zelfde als de HTTP/HTTPS type, service adres, poort en .env bestand **API Token** Voer de waarde in.

[![Connection Type, Service IP/Domain Name, API Token](https://mintcdn.com/zonely-a8cd49e7/MLAhZnjsyaexSV7n/images/panel/addon-settings-guide-20261027/afk-bot-ayarlari-02-nl.png?fit=max\&auto=format\&n=MLAhZnjsyaexSV7n\&q=85\&s=1e4eebb284cee041836f3341af73645a)](https://docs.zonely.gen.tr/images/panel/addon-settings-guide-20261027/afk-bot-ayarlari-02-nl.png)

> [card] 1. Verbindingstype
>
> Selecteer uw service.HTTP of HTTPS type.

> [card] 2. Service IP/domeinnaam
>
> Voer het adres en de poort van de AFK-service in.

> [card] 3. API Token
>
> Gebruik dezelfde token waarde met de service .env bestand.

Gebruik het toegankelijke adres als de service op een andere machine staat. **127.0.0.1** De kant die verbinding maakt met de enige dienst is het juiste doel wanneer deze in dezelfde machine zit.

## Volg de dienst

Gezondheidscontrole **/health**, service management **/panel** opent. Na het voltooien van de verbindingscontrole op het paneel, de botinstellingen voorbereiden. Update Zonely link wanneer service adres of token verandert.

[Instellingen AFK Bot](https://docs.zonely.gen.tr/nl/guides/minecraft-afk-bot.md) · [Verbindingen en gereedschappen](https://docs.zonely.gen.tr/nl/integrations/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.