AntiAFK v1.2

AntiAFK Automatically kicks players who stand still for too long, fully configurable and plug & pl
chrome_S9mrbvlytP.png
AntiAFK is a high-performance, lightweight Paper plugin designed to keep your player slots fresh by removing idle users without impacting server TPS.
Features:
  • Zero-Lag Detection: Unlike basic plugins, this uses a scheduled "heartbeat" check instead of monitoring every single player movement, saving massive CPU cycles.
  • Action Bar Warnings: Warns players via a countdown on their Action Bar when they are about to be kicked.
  • Smart Threshold: Set a minimum player count so the plugin only starts kicking people when the server actually has a certain amount of players online.
  • Actual Movement Only: Players cannot bypass the check by simply spinning their mouse; they must physically change coordinates.
  • Admin Commands: Reload the config on the fly with /antiafk reload.
  • Deep Customization: Full color code support (&c) for all messages.
Updated Config:
YAML

# Time in seconds before a player is kicked
afk-timeout-seconds: 300

# When to start showing the countdown warning (in seconds)
warning-seconds: 30

# Only kick players if there are at least this many people online
min-players-to-kick: 1

# Messages (Supports color codes with &)
kick-message: "&c[ANTIAFK] &fNo AFKing allowed!"
warn-message: "&c&lAFK WARNING: &7You will be kicked in &e%s &7seconds!"

Permissions:
  • antiafk.bypass: Players with this (and OPs) will never be kicked.
  • antiafk.admin: Allows use of /antiafk reload.
Compatibility: Paper 1.21.1+ (Uses Spigot/Paper Action Bar API)
EULA: Free EULA
184 Views
3 Downloads
Apr 22, 2026 Published
Apr 22, 2026 Updated
Not yet rated
6.9 KB File size
Open source
  1. No
DRM-free
  1. Yes
Unobfuscated
  1. Yes
Type
  1. Technology
Game mode
  1. Survival
Supported software
  1. Bukkit
  1. Spigot
  1. Paper
Supported versions
  1. 26.1
  1. 1.21.11
  1. 1.21.8
  1. 1.21.5
  1. 1.21.4
  1. 1.21.2
  1. 1.21
Supported languages
  1. English
Creator
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Lag-free, customizable servers ready in minutes.
Host your adventure today!
Recommended for you
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 141 ratings
4,172 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 52 ratings
3,097 purchases
Protect your server from crash/dupe/packet exploits with the ultimate security fix plugin.
5.00 star(s) 45 ratings
3,035 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
4.50 star(s) 72 ratings
2,800 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 72 ratings
2,570 purchases
184 Views
3 Downloads
Apr 22, 2026 Published
Apr 22, 2026 Updated
Not yet rated
6.9 KB File size
Open source
  1. No
DRM-free
  1. Yes
Unobfuscated
  1. Yes
Type
  1. Technology
Game mode
  1. Survival
Supported software
  1. Bukkit
  1. Spigot
  1. Paper
Supported versions
  1. 26.1
  1. 1.21.11
  1. 1.21.8
  1. 1.21.5
  1. 1.21.4
  1. 1.21.2
  1. 1.21
Supported languages
  1. English
Creator
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Lag-free, customizable servers ready in minutes.
Host your adventure today!
Recommended for you
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 141 ratings
4,172 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 52 ratings
3,097 purchases
Protect your server from crash/dupe/packet exploits with the ultimate security fix plugin.
5.00 star(s) 45 ratings
3,035 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
4.50 star(s) 72 ratings
2,800 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 72 ratings
2,570 purchases
Top