{"id":15780,"date":"2026-05-31T21:37:26","date_gmt":"2026-05-31T18:37:26","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/anti-afk-system\/"},"modified":"2026-05-31T21:37:26","modified_gmt":"2026-05-31T18:37:26","slug":"anti-afk-system","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/anti-afk-system\/","title":{"rendered":"Anti AFK System"},"content":{"rendered":"<p># AntiAFK Plugin<\/p>\n<p>A complete Anti-AFK plugin for Minecraft Paper 1.21.10 that automatically detects and kicks inactive players.<\/p>\n<p>## \u2728 Features<\/p>\n<p>&#8211; \ud83c\udfaf **Automatic AFK Detection** &#8211; Detects players who are inactive for too long<br \/>\n&#8211; \u26a0\ufe0f **Warning System** &#8211; Warns players before they get kicked<br \/>\n&#8211; \ud83c\udfae **Manual AFK Toggle** &#8211; Players can mark themselves as AFK with `\/afk`<br \/>\n&#8211; \u2699\ufe0f **Fully Configurable** &#8211; Customize timeouts, messages and detection<br \/>\n&#8211; \ud83d\udee1\ufe0f **Permission System** &#8211; Staff can bypass AFK detection<br \/>\n&#8211; \ud83d\udce2 **Broadcast Messages** &#8211; Server is informed when players go AFK or return<\/p>\n<p>## \ud83d\udccb Requirements<\/p>\n<p>&#8211; **Minecraft**: 1.21.10<br \/>\n&#8211; **Server Software**: Paper (or forks like Purpur)<br \/>\n&#8211; **Java**: 21 or higher<\/p>\n<p>## \ud83d\udce5 Installation<\/p>\n<p>1. Download the latest `AntiAFK-1.0.0.jar` from releases<br \/>\n2. Place the JAR file in your server&#8217;s `plugins` folder<br \/>\n3. Restart your server<br \/>\n4. Customize the configuration in `plugins\/AntiAFK\/config.yml`<br \/>\n5. Use `\/afkreload` to reload the configuration<\/p>\n<p>## \u2699\ufe0f Configuration<\/p>\n<p>The configuration is located in `plugins\/AntiAFK\/config.yml`:<\/p>\n<p>&#8220;`yaml<br \/>\n# Time in seconds before a player is considered AFK<br \/>\nafk-timeout: 300<\/p>\n<p># Time in seconds before the warning is given<br \/>\nwarning-time: 270<\/p>\n<p># Check interval in ticks (20 ticks = 1 second)<br \/>\ncheck-interval: 100<\/p>\n<p># Messages (use &#038; for color codes)<br \/>\nmessages:<br \/>\n  kick: &#8220;&#038;cYou have been kicked for inactivity!&#8221;<br \/>\n  warning: &#8220;&#038;eWarning: You will be kicked in {time} seconds for inactivity!&#8221;<br \/>\n  afk-enabled: &#8220;&#038;7You are now AFK&#8221;<br \/>\n  afk-disabled: &#8220;&#038;7You are no longer AFK&#8221;<br \/>\n  player-afk: &#8220;&#038;7{player} is now AFK&#8221;<br \/>\n  player-back: &#8220;&#038;7{player} is back&#8221;<br \/>\n  reload: &#8220;&#038;aConfiguration reloaded!&#8221;<br \/>\n  no-permission: &#8220;&#038;cYou don&#8217;t have permission to do this!&#8221;<\/p>\n<p># Actions that reset AFK status<br \/>\ndetect-movement: true<br \/>\ndetect-chat: true<br \/>\ndetect-block-break: true<br \/>\ndetect-block-place: true<br \/>\ndetect-interact: true<br \/>\ndetect-damage: true<br \/>\n&#8220;`<\/p>\n<p>### Configuration Options<\/p>\n<p>| Option | Default | Description |<br \/>\n|&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;-|<br \/>\n| `afk-timeout` | 300 | Seconds before player gets kicked |<br \/>\n| `warning-time` | 270 | Seconds before warning is given |<br \/>\n| `check-interval` | 100 | Ticks between each check (20 = 1 sec) |<br \/>\n| `detect-movement` | true | Detect movement as activity |<br \/>\n| `detect-chat` | true | Detect chat as activity |<br \/>\n| `detect-block-break` | true | Detect block breaking as activity |<br \/>\n| `detect-block-place` | true | Detect block placing as activity |<br \/>\n| `detect-interact` | true | Detect interactions as activity |<br \/>\n| `detect-damage` | true | Detect damage as activity |<\/p>\n<p>## \ud83c\udfae Commands<\/p>\n<p>| Command | Description | Permission |<br \/>\n|&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;-|&#8212;&#8212;&#8212;&#8212;|<br \/>\n| `\/afk` | Toggle your AFK status manually | `antiafk.command` |<br \/>\n| `\/afkreload` | Reload the plugin configuration | `antiafk.reload` |<\/p>\n<p>## \ud83d\udd10 Permissions<\/p>\n<p>| Permission | Default | Description |<br \/>\n|&#8212;&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;-|<br \/>\n| `antiafk.command` | true | Use the `\/afk` command |<br \/>\n| `antiafk.bypass` | op | Bypass AFK detection (for staff) |<br \/>\n| `antiafk.reload` | op | Reload the configuration |<\/p>\n<p>### Permission Examples<\/p>\n<p>**LuckPerms:**<br \/>\n&#8220;`bash<br \/>\n# Give moderators bypass permission<br \/>\nlp group moderator permission set antiafk.bypass true<\/p>\n<p># Give admins reload permission<br \/>\nlp group admin permission set antiafk.reload true<br \/>\n&#8220;`<\/p>\n<p>## \ud83d\udd0d How it Works<\/p>\n<p>1. **Activity Tracking**: The plugin tracks when players were last active<br \/>\n2. **Periodic Checks**: Every X ticks (configurable) it checks if players have been inactive too long<br \/>\n3. **Warning**: At `warning-time` seconds the player receives a warning<br \/>\n4. **Kick**: At `afk-timeout` seconds the player gets kicked<br \/>\n5. **Broadcast**: Other players are informed when someone goes AFK or returns<\/p>\n<p>### Detected Activities<\/p>\n<p>The plugin detects the following activities (if enabled in config):<br \/>\n&#8211; \u2705 Movement (position change, not just head rotation)<br \/>\n&#8211; \u2705 Chat messages<br \/>\n&#8211; \u2705 Breaking blocks<br \/>\n&#8211; \u2705 Placing blocks<br \/>\n&#8211; \u2705 Interactions (buttons, doors, etc.)<br \/>\n&#8211; \u2705 Taking damage<br \/>\n&#8211; \u2705 Executing commands<\/p>\n<p>## \ud83d\udcdd Examples<\/p>\n<p>### Example 1: Default Usage<br \/>\n&#8220;`<br \/>\nPlayer is inactive for 4 minutes<br \/>\n\u2192 At 4:30 minutes: &#8220;\u26a0\ufe0f Warning: You will be kicked in 30 seconds for inactivity!&#8221;<br \/>\n\u2192 At 5:00 minutes: Player gets kicked<br \/>\n&#8220;`<\/p>\n<p>### Example 2: Manual AFK<br \/>\n&#8220;`<br \/>\nPlayer: \/afk<br \/>\n\u2192 &#8220;You are now AFK&#8221;<br \/>\n\u2192 Server: &#8220;Player123 is now AFK&#8221;<\/p>\n<p>Player moves<br \/>\n\u2192 &#8220;You are no longer AFK&#8221;<br \/>\n\u2192 Server: &#8220;Player123 is back&#8221;<br \/>\n&#8220;`<\/p>\n<p>### Example 3: Staff Bypass<br \/>\n&#8220;`<br \/>\nStaff with antiafk.bypass permission<br \/>\n\u2192 Never gets kicked, regardless of inactivity<br \/>\n&#8220;`<\/p>\n<p>## \ud83d\udc1b Troubleshooting<\/p>\n<p>**Players are not getting kicked:**<br \/>\n&#8211; Check if `afk-timeout` is set correctly<br \/>\n&#8211; Verify players don&#8217;t have `antiafk.bypass` permission<br \/>\n&#8211; Verify the plugin is loaded correctly with `\/plugins`<\/p>\n<p>**Warnings don&#8217;t work:**<br \/>\n&#8211; Make sure `warning-time` is less than `afk-timeout`<br \/>\n&#8211; Check the console for errors<\/p>\n<p>**Config changes don&#8217;t work:**<br \/>\n&#8211; Use `\/afkreload` after editing the config<br \/>\n&#8211; Or restart the server<\/p>\n<p>## \ud83d\udcc4 License<\/p>\n<p>This project is open source and available for personal and commercial use.<\/p>\n<p>&#8212;<\/p>\n<p>**Made with \u2764\ufe0f for the Minecraft community**<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A complete Anti-AFK plugin for Minecraft Paper 1.21.10 that automatically detects and kicks inactive players.<\/p>\n","protected":false},"featured_media":15781,"template":"","meta":{"_minecraft_slug":"anti-afk-system","_minecraft_project_id":"5vJsuy7O","_minecraft_author":"Samuele_NL","_minecraft_license":"MIT","_minecraft_downloads":88,"_minecraft_follows":3,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"anti-afk-system.zip","_minecraft_size_bytes":9513,"_minecraft_version_count":1,"_minecraft_updated_at":"2026-05-15T19:57:16.328014Z","_minecraft_date_created":"2025-12-21T05:14:44.012240Z","_minecraft_date_modified":"2025-12-19T19:31:49.164634Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/anti-afk-system","_minecraft_icon_attachment_id":15781,"_minecraft_imported_at":"2026-05-31T18:37:26+00:00","_minecraft_import_hash":"46fbe870c62a92000f52a9c0e1b4ddb0","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[126,127,123,92],"mod_loader":[132],"minecraft_version":[62,37,40,41,73,74,38,78,79,80,81,82],"class_list":["post-15780","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-management","mod_category-paper","mod_category-technology","mod_category-utility","mod_loader-paper","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-10","minecraft_version-1-21-11","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-6","minecraft_version-1-21-7","minecraft_version-1-21-8","minecraft_version-1-21-9"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Anti AFK System - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/anti-afk-system\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Anti AFK System - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A complete Anti-AFK plugin for Minecraft Paper 1.21.10 that automatically detects and kicks inactive players.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/anti-afk-system\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-afk-system\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-afk-system\\\/\",\"name\":\"Anti AFK System - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-afk-system\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-afk-system\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/anti-afk-system-icon-e35e38e798e9ac76e8e66c533b75507bef129fd4_96.webp\",\"datePublished\":\"2026-05-31T18:37:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-afk-system\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-afk-system\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-afk-system\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/anti-afk-system-icon-e35e38e798e9ac76e8e66c533b75507bef129fd4_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/anti-afk-system-icon-e35e38e798e9ac76e8e66c533b75507bef129fd4_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/anti-afk-system\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Anti AFK System\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Anti AFK System - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/anti-afk-system\/","og_locale":"en_US","og_type":"article","og_title":"Anti AFK System - Minecraft","og_description":"A complete Anti-AFK plugin for Minecraft Paper 1.21.10 that automatically detects and kicks inactive players.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/anti-afk-system\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-afk-system\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/anti-afk-system\/","name":"Anti AFK System - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-afk-system\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-afk-system\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/05\/anti-afk-system-icon-e35e38e798e9ac76e8e66c533b75507bef129fd4_96.webp","datePublished":"2026-05-31T18:37:26+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-afk-system\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/anti-afk-system\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-afk-system\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/05\/anti-afk-system-icon-e35e38e798e9ac76e8e66c533b75507bef129fd4_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/05\/anti-afk-system-icon-e35e38e798e9ac76e8e66c533b75507bef129fd4_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/anti-afk-system\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"Anti AFK System"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/15780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/15781"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=15780"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=15780"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=15780"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=15780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}