NoTargetAFK
Many players have noticed the problem: even when you step away from the computer with EssentialsX AFK status, hostile mobs continue to show aggression towards you. Skeletons release arrows, creepers approach dangerously close, and other creatures also strive to attack.
This addon completely solves this situation. With its help, each activation of AFK mode makes you "invisible" to enemy mobs. They will continue to spawn nearby, move around, but will stop recognizing you as a target for attack. For them, you seem to turn into an ordinary block or neutral creature.
Important note for Minecraft 1.19+
In version 1.19, the Warden will still be able to smell you with its sense of smell and become angry. However, while you are in AFK mode, it will not attack. Instead, the monster will simply stand nearby and continuously roar. Fixing this behavior is technically impossible for now, so try not to leave your character unattended where the Warden may appear.
Installation and usage
Simply install the plugin along with EssentialsX. No additional actions are required from you - everything works automatically.
Settings and permissions
Currently, the plugin does not have configuration files. The following permissions are available through the rights system:
notargetafk.mobs-lose-track- whether the ability for all entities to track the player in AFK mode should be disabled (default: enabled).notargetafk.mobs-dont-target- whether the ability to select the player as a target in AFK mode should be blocked (default: enabled).
Bug reports and feedback
Reports of found problems and suggestions are accepted through the issue system on GitHub.