# AfkZone

<figure><img src="/files/1C6jGCOpYyjU8z5AoXZw" alt=""><figcaption></figcaption></figure>

🛒 [mantic.dev/product/afkzone](https://mantic.dev/product/afkzone) - $7.99\
🔐 Requires ManticLib (free) and supports from 1.8 upwards

Need help setting up? Look in [Setup Guide](/afkzone/setup-guide.md)

#### AfkZone Plugin Overview

AfkZone is a plugin designed for Minecraft servers that allows server administrators to define specific areas or "zones" where players can safely go "away from keyboard" (AFK). When a player enters one of these designated AFK zones, certain pre-configured actions can occur.

This plugin requires the library ManticLib to function and is compatible with Minecraft versions 1.8 and above. It comes with a set of commands for setting up and managing AFK zones, as well as handling related permissions.

#### Key Features of AfkZone

* **AFK Zone Creation**: Admins can use the plugin to easily create and manage AFK zones.
* **Built-in Economy & Shop**: An economy called Gems (which you can change the name of) is included!
* **Custom Commands**: Execute specific server commands when players enter or leave an AFK zone.
* **Compatibility**: Works on a wide range of Minecraft versions starting from 1.8.
* **Easy Setup**: Intuitive commands and a user-friendly interface make it simple to get AfkZone up and running.
* MySQL or JSON storage options.

By introducing AFK zones on a server, admins can enhance the gameplay experience, offering players safe havens and managing the server more effectively.

## Commands

```
» /afkzone help - Shows the help page
» /afkzone wand - Receive the Afk Zone creator wand
» /afkzone create [region] - Create an afk zone region
» /afkzone delete [region] - Delete afk zone region
» /afkzone list - List all afk zone regions
» /afkzone command add [region] [command] - Add command to afkzone region (use {player} for player name)
» /afkzone command remove [region] [command] - Remove command from afkzone region
» /afkzone command list [region] - List commands of afkzone region
» /afkzone reload - Reload config files

» /gem help - Shows the help page
» /gem shop - Opens the gem shop
» /gem balance - View your gem balance
» /gem balance [name] - View player gem balance
» /gem set [name] [amount] - Give player gems
» /gem reset [name] - Reset player gem balance
» /gem give [name] [amount] - Give player gems
» /gem remove [name [amount] - Remove player gems
» /gems convert [new type (json, mysql)]
```

Permissions are all configurable in your config.yml


---

# 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://docs.mantic.dev/afkzone.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.
