AEssentialsXAFKDelay
This plugin introduces a configurable delay before a player transitions to AFK mode, preventing abuse of this feature.
The Problem It Solves
When using the AFK function in EssentialsX with the freeze-afk-players option enabled, players effectively gain invulnerability. This allows them to abuse the system - evade battles with mobs or other players, and cancel fall damage with a simple command.
How the Solution Works
The plugin adds a configurable waiting period during which the player must remain stationary and not take damage. If these conditions are violated, AFK status activation is canceled. This encourages players to find a safe location before stepping away from the keyboard, which aligns with real behavior logic.
Installation and Configuration
Install the plugin alongside EssentialsX. On first launch, a configuration folder is created with a config.yml file where you can configure:
- Delay duration
- Activation check interval
- Text messages in different languages
Permission System
essentials.afk.immediate- allows the player to switch to AFK without waiting Default: true
Technical Features
The plugin is designed as an addon to EssentialsX for quick achievement of the desired effect. Only the latest major Minecraft versions are supported. Older versions are available in the release history, but updates for them are not provided.