COWMODSКаталог модов

AFKGuard

AFKGuard is a powerful AFK detection plugin designed for modern Minecraft servers. It rewards true inactivity, not macros, not exploits, and not accidental movement while remaining fair, configurable, and Bedrock-friendly.

Автор: xcaninex1242обновлён 17 дек. 2025 г.
ЭкономикаУправлениеУтилиты

Описание

AFKGuard is a lightweight and reliable AFK detection plugin built for modern Minecraft servers that want fair rewards without abuse. It accurately distinguishes real inactivity from macro use, environmental movement, and accidental player input, ensuring only legitimate AFK time is rewarded. Designed with performance and compatibility in mind, AFKGuard works seamlessly on Java servers with Bedrock support.

This plugin provides precise state tracking, moving players through ACTIVE, IDLE, and AFK states based on configurable rules. Rewards can be granted globally, per world, or within specific regions, allowing server owners full control over where and how AFK rewards apply. WorldGuard integration enables advanced region-based behavior without adding unnecessary overhead.

AFKGuard includes flexible UI options for displaying AFK countdowns, supporting either a BossBar or a Subtitle-based display. The Subtitle mode is optimized for Java & Bedrock players and avoids flickering issues common with other plugins. All UI behavior, thresholds, and reward logic are fully configurable and can be reloaded without restarting the server.

Built to be efficient, AFKGuard runs on a lightweight one-second tick loop and includes clean handling for player joins and quits to prevent memory leaks or stale data.

Commands

  • /afkguard reload — Reload the configuration without restarting the server

Permissions

  • afkguard.reload — Allows use of the reload command

Optional Dependencies

  • WorldGuard — Enables region-specific AFK rules

Configuration Highlights

  • Separate AFK rules for worlds and regions
  • Customizable AFK time thresholds
  • Fully configurable reward commands
  • Intelligent movement filtering that ignores mob pushes
  • Choice between BossBar or subtitle countdown displays

Ideal For

  • Survival servers
  • AFK pool setups
  • Economy-focused servers
  • Bedrock-compatible networks

Галерея

Subtitle ModeBossbar ModeConfig Part 1Config Part 2

Последние версии

Все версии →
release

AFKGuard 1.0.0

1.0.0
17 дек. 2025 г.124Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur, spigot
Скачать
Что нового
AFKGuard – Initial Release (v1.0.0) 🚀 Core Features Accurate AFK detection Distinguishes between ACTIVE, IDLE, and AFK states Configurable idle and AFK thresholds Activity resets on movement, rotation, interaction, chat, commands, and inventory use Safe AFK movement handling Players are no longer penalized if pushed by mobs or other players while AFK Small external movement is tolerated AFK breaks only on intentional movement or rotation Prevents AFK farming being ruined by mobs or collisions 🎁 Reward System Configurable AFK rewards via console commands Supports global, world, and region-based rewards Rewards are time-based only (no reward on AFK entry) Reward timers reset correctly on AFK exit or activity Hot-reload support via /afkguard reload 🧭 World & Region Rules World-based AFK allow/deny rules WorldGuard region support (via reflection, no hard dependency) Whitelist or blacklist rule modes Region rules correctly override world rules 🖥️ UI Options BossBar countdown UI Fully configurable text and color Smooth, accurate countdown synced to reward timing Subtitle countdown UI Bedrock-friendly Non-flickering, once-per-second updates Clears instantly when leaving AFK UI system designed for easy expansion 🔄 Stability & Performance Per-player cleanup on quit (no task or UI leaks) Safe reload handling for all systems Thread-safe data structures No forced teleports or player control No intrusive anti-cheat behavior 🧠 Design Philosophy No diminishing rewards No macro detection (intentionally avoided) Trust-based AFK detection with strong safeguards Lightweight, predictable, and server-friendly