Source-checkedAdmin & protection

xAntiAFK - Detect All AFK Players On Your Server

by Soolz · for Minecraft

Detect every AFK players | Fully customizable | Afk location, Commands, Servers and more !

9.3KDownloads
18 mo agoLast updated
Spigot · PaperLoaders
1.21Latest game version

About xAntiAFK - Detect All AFK Players On Your Server

From SpigotMC

Detect every AFK players | Fully customizable | Afk location, Commands, Servers and more !

[​IMG]
Detect every AFK players on your server and perform actions.

[​IMG]
• Detect every AFK players on your server
• Run commands, teleport players, send messages, titles and more
• Teleport players who are no longer AFK to their last location
• Send players to other servers ⁽ᴮᵘⁿᵍᵉᵉᶜᵒʳᵈ⁾
•
Everything is customizable
• TAB , PlaceholderAPI , Factions , WorldGuard7.0.x support

[​IMG]
/xaa reload - Reload the configuration file
/xaa version
/afk
/afk
<player>

[​IMG]
xantiafk.admin | Display/use admins commands
xantiafk.bypass | Bypass AFK check
xantiafk.afk | Access to the /afk command

[​IMG]
<button type="button" class="button bbCodeSpoilerButton ToggleTrigger Tooltip JsOnly" title="Click to reveal or hide spoiler" data-target="> .SpoilerTarget">Spoiler: API</button>
Code (Java):

xAntiAFKAPI. getAfkPlayers ( ) | List &lt;Player &gt;

xAntiAFKAPI. isAfk (player ) | <a target="_blank" rel="nofollow" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+boolean">Boolean

xAntiAFKAPI. setAfk (Player, <a target="_blank" rel="nofollow" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+boolean">Boolean )

<a target="_blank" rel="nofollow" href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+event">Event :
PlayerAfkStatusChangeEvent
&nbsp;

[​IMG]
play.savercraft.net

Contact me if you want to list your server here

[​IMG]
​
<button type="button" class="button bbCodeSpoilerButton ToggleTrigger Tooltip JsOnly" title="Click to reveal or hide spoiler" data-target="> .SpoilerTarget">Spoiler: Default config</button>
Code (YAML):
# +-------------------------------------------------------+ #
# | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xAntiAFK &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | #
# | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;by Soolz &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | #
# +-------------------------------------------------------+ #

# In ticks (20 ticks = 1 second)
checkInterval : 20
# Check operator (/op) players knowing they have all permissions including 'xantiafk.bypass'
checkOp : false
# Set player as AFK when joining the server
afkOnJoin : false
# Set player as no longer AFK when sending chat message
noLongerOnChat : true

# Each check
actions:
&nbsp; '180' :
&nbsp;- messages:prevent
&nbsp; '240' :
&nbsp;- setAfk
&nbsp; '360' :
&nbsp;- commands:kick

events:
&nbsp; onAfk :
&nbsp; &nbsp; # Prevent player from hitting and being hurt
&nbsp; &nbsp; noDamage : true
&nbsp; &nbsp; # Send a title to players while they are AFK. none: disabled

Read the full description on SpigotMC →

Highlights

From source data

Game versions

Supports 14 Minecraft versions, the newest being 1.21.

Loaders

Runs on Spigot and Paper.

Footprint

Rated a light load on a server.

xAntiAFK - Detect All AFK Players On Your Server on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers, for Paper servers. We download it from SpigotMC, place it, and restart the server.
Server side
Required on the server
Server type needed
Spigot, Paper
Server load
light
Smallest plan we suggest
Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
3.5.3, released 2025-05-13

Game versions by loader

LoaderGame versionsNewest
Paper1.8 to 1.21 (14 versions)1.21
Spigot1.8 to 1.21 (14 versions)1.21

From 10 recorded builds of xAntiAFK - Detect All AFK Players On Your Server.

Recent builds

BuildReleasedGame versionsLoaders
3.5.32025-05-131.8 to 1.21 (14 versions)Spigot, Paper
3.5.22025-04-07n/aSpigot, Paper
3.5.12025-04-03n/aSpigot, Paper
3.5.02025-03-11n/aSpigot, Paper
3.5.02025-03-11n/aSpigot, Paper
3.4.12024-07-25n/aSpigot, Paper

Run xAntiAFK - Detect All AFK Players On Your Server on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on SpigotMC as “Admin”

Admin & protection

Permissions, moderation, anti-cheat and land protection for the people running the server.

Runs on your server

From source side support

SpigotMC lists xAntiAFK - Detect All AFK Players On Your Server as required on the server. Check its SpigotMC page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
SpigotPaper
Runs on
Serverrequired on the server
Game versions
1.21 and 13 earlier
Requires
One-click install needs a Paper server.

Verified at the source

  • ✓SpigotMCOfficial listing, checked 2026-10-02Open ↗
  • ✓AuthorSoolz, as published on SpigotMC
  • ✓LicenseNot published by the sourceFree

xAntiAFK - Detect All AFK Players On Your Server, answered

Generated from the mod’s own source data.

Do my players need to install xAntiAFK - Detect All AFK Players On Your Server?

SpigotMC lists xAntiAFK - Detect All AFK Players On Your Server as required on the server. Check its SpigotMC page to see whether players need it too.

Which loaders does it support?

Spigot and Paper.

Is it free?

Yes. xAntiAFK - Detect All AFK Players On Your Server is free to download from SpigotMC.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run xAntiAFK - Detect All AFK Players On Your Server on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add xAntiAFK - Detect All AFK Players On Your Server in one click.