A 1.20.4 - 1.21 AFK System with multiple modules to select from.
CC0-1.0 License
AFKMania is a versatile and customizable AFK (Away From Keyboard) system for Minecraft 1.20.4 to 1.21 servers. It provides multiple modules to choose from, including a WorldGuard region-based system that allows you to set specific rewards for players who stay AFK in designated areas.
Download the Plugin: Download the latest version of AFKMania from the Releases page.
Install the Plugin:
Place the downloaded AFKMania.jar
file in your server's plugins
directory.
Restart the Server: Restart your Minecraft server to load the plugin.
AFKMania provides a configuration file to customize the AFK modules and rewards.
Locate the Configuration File:
After the first start, the configuration file will be generated in the plugins/AFKMania
directory.
Edit the Configuration File:
Open the config.yml
file with a text editor and configure the settings to your preference.
Below is an example configuration of modules/afk_pool.yml
:
afk_pools:
afk_pool:
region_name: "afk_pool"
rewards:
- "Diamond"
- "Emerald"
reward_interval_seconds: 5
afk-message:
inventory-collect:
title: "&6AFK Pools"
subtitle: "&aGenerating Rewards..."
inventory-full:
title: "&6AFK Pools"
subtitle: "&cYour inventory is full"
leaving-afk:
title: "&6AFK Pools"
subtitle: "&cYou are no longer AFK"
send-message:
enabled: true
message: "%prefix% You are no longer in the AFK pool region. You were in the region for {seconds} seconds."
rewards:
Diamond:
command: "give %player% minecraft:diamond 1"
chance: 10
Emerald:
command: "give %player% minecraft:emerald 1"
chance: 30
/afkmania reload
- Reload the plugin configuration.
afkmania.reload
afkmania.reload
- Allows players to reload the plugin's config files.We welcome contributions from the community! To contribute:
This project is licensed under the CC0 License - see the LICENSE file for details.
For support and inquiries, please join our Discord server or open an issue on GitHub.
Thank you for using AFKMania! We hope it enhances your Minecraft server experience.