Sueta

AntiAFK - The Performance AFK Solution

v1.0.5-b1

AntiAFK is a next-gen AFK management tool. With behavior analysis, macro detection, and Captcha tests, it blocks the most complex bots and exploits. Its high-performance design provides fair protectio

·Plugin
  1. v1.0.5-b1latestAntiAFK v1.0.5-b1Jul 15, 2026

    📦 Uncategorized

    - feat: add StressCommand for simulating player load and enhance Learni… - PR: #14 - feat: implement confinement analysis to detect AFK pools and similar … - PR: #15 - test: add unit tests for behavior analysis and player behavior data - PR: #16
    268 downloads
  2. v1.0.4-b5AntiAFK v1.0.4-b5Feb 11, 2026
    - no changes
    482 downloads
  3. v1.0.4-b4AntiAFK v1.0.4-b4Jan 3, 2026
    - no changes
    127 downloads
  4. v1.0.4-b3AntiAFK v1.0.4-b3Dec 24, 2025

    📦 Uncategorized

    - feat: implement confinement analysis to detect AFK pools and similar … - PR: #15 - test: add unit tests for behavior analysis and player behavior data - PR: #16
    40 downloads
  5. v1.0.4-b2AntiAFK v1.0.4-b2Dec 24, 2025

    📦 Uncategorized

    - feat: add StressCommand for simulating player load and enhance Learni… - PR: #14
    30 downloads
  6. v1.0.4AntiAFK v1.0.4Dec 22, 2025
    - no changes
    40 downloads
  7. v1.0.3-b4AntiAFK v1.0.3-b4Dec 19, 2025
    - no changes
    40 downloads
  8. v1.0.3-b3AntiAFK v1.0.3-b3Dec 18, 2025
    - no changes
    39 downloads
  9. v1.0.3-b2AntiAFK v1.0.3-b2Dec 17, 2025

    📦 Uncategorized

    - refactor: Modularize AFK management - PR: #4 - feature/benthpapimanager - PR: #5 - refactor/di - PR: #6 - bugfix/loggerprovider - PR: #7 - refactor: Simplify GUIFactory interface by removing unused imports and redundant line breaks - PR: #8 - feature/api - PR: #9 - Feature/bentahsin configuration depend - PR: #11
    35 downloads
  10. v1.0.3AntiAFK v1.0.3Dec 17, 2025

    📦 Uncategorized

    - refactor: Modularize AFK management - PR: #4 - feature/benthpapimanager - PR: #5 - refactor/di - PR: #6 - bugfix/loggerprovider - PR: #7 - refactor: Simplify GUIFactory interface by removing unused imports and redundant line breaks - PR: #8 - feature/api - PR: #9 - Feature/bentahsin configuration depend - PR: #11
    34 downloads
  11. 1.0.2-b9Nov 10, 2025
    AntiAFK 1.0.2-b9 - Discord Integration Update!
    This update introduces a highly requested feature: Discord Webhook Integration. You can now receive instant notifications in your Discord server for important actions taken by the plugin, such as kicking or banning a player for AFK-related offenses. This feature is designed to be lightweight, flexible, and does not require DiscordSRV to be installed. ---
    ✨ New Feature: Discord Webhook Notifications
    Stay informed about server punishments in real-time, directly in your Discord channels. (Example of a notification in Discord) #### How It Works I've added a new, special action type: DISCORD_WEBHOOK. You can add this action to any punishment list in your config.yml (actions, progressive_punishment, or turing_test.on_failure_actions). When a player triggers that punishment, the plugin will send a custom message to your configured Discord webhook URL. #### Key Features: - Easy Setup: Simply enable the feature and paste your webhook URL into the config.yml. - Fully Customizable: You can define different messages for different punishments. All standard placeholders like %player_displayname% are supported. - No Dependencies: This system works by sending a direct HTTP request to Discord, so you do not need to have DiscordSRV installed on your server. - Asynchronous: All webhook messages are sent asynchronously, ensuring zero impact on your server's performance. ---
    ⚙️ How to Configure
    1. Create a Webhook in Discord: Go to your Discord channel's settings -> Integrations -> Webhooks -> New Webhook. Copy the "Webhook URL". 2. Enable in `config.yml`: Open your config.yml and find the new discord_webhook section. Enable it and paste your URL:
        # config.yml
        
        discord_webhook:
          enabled: true
          webhook_url: "PASTE_YOUR_WEBHOOK_URL_HERE"
          bot_name: "AntiAFK Guard"
          avatar_url: "" # Optional: URL to an image for the bot's avatar
        
    3. Add the Action to a Punishment: Add the DISCORD_WEBHOOK action type to any action list. For example, to send a notification when a player fails a captcha test:
        # config.yml
    
        turing_test:
          on_failure_actions:
            # This action kicks the player
            - type: "CONSOLE"
              command: "kick %player% &cBot test failed!"
            
            # AND this action sends a Discord notification
            - type: "DISCORD_WEBHOOK"
              message: ":shield: **%player_displayname%** was kicked for failing the bot captcha test."
        
    That's it! You will now receive detailed notifications whenever the plugin takes action.
    85 downloads
  12. 1.0.2-b8Nov 10, 2025

    AntiAFK 1.0.2-b8

    (Türkçe Notlar Aşağıda) This update introduces some of the biggest innovations to AntiAFK to date. It includes a new Captcha infrastructure that fundamentally changes the bot detection system, advanced debugging tools, and significant improvements to existing systems.

    ✨ NEW: Color Palette Captcha!

    A completely new visual verification method has been added to stop bots! Visual Verification:* In addition to the standard question-and-answer test, suspicious players are now shown a GUI filled with colored wool. Your Task: The player is asked to find and click on all wool blocks of a specific color (e.g., "Click all Red* wool!") within the time limit. High Security:* This interactive test is nearly impossible for simple chat-based bots to pass. ![Color Palette Captcha](https://cdn.modrinth.com/data/cached_images/90c1662291cfc…

    🧠 NEW: Modular & Weighted Captcha System

    The Captcha infrastructure has been completely rewritten to give you full control. Weighted Selection:* You can now define in config.yml which Captcha type (Question-Answer, Color Palette) should appear and with what probability (weight). Example: 60% chance for Color Palette, 40% chance for Question-Answer.* Modular Design:* This new structure makes it much easier for us to add more Captcha types in the future (e.g., "Find the correct item," "Select the animal"). Per-Type Settings:* Settings for each Captcha type, such as timeout duration, can now be managed separately in config.yml.

    🚀 NEW: /afktest Command

    A player-friendly improvement! * If a player accidentally closes the Color Palette GUI or misses the question in chat, they can now use the /afktest command to reopen their active Captcha test. * This prevents players from being unfairly marked as "failed the test."

    🛠️ Improvements & Fixes

    Advanced Debugging:* A new debug section has been added to config.yml. Instead of just setting enabled: true, you can now enable logs only for the specific modules you're interested in (e.g., activity_listener, database_queries) to prevent console spam and identify issues faster. Rejoin Protection:* The system that prevents a player from immediately rejoining after being kicked for being AFK has been made more stable. The kick timing has been adjusted, and debug logs have been added for administrators. Code Refactor:* The entire Captcha management code has been refactored into a more performant and maintainable structure. With this update, AntiAFK takes a leap forward in protecting your server from AFK bots. Thank you for your support and feedback! ---

    AntiAFK 1.0.2-b8

    Bu güncelleme, AntiAFK'nın bugüne kadarki en büyük yeniliklerinden bazılarını getiriyor. Bot tespit sistemini kökten değiştiren yeni bir Captcha altyapısı, gelişmiş hata ayıklama araçları ve mevcut sistemlerde önemli iyileştirmeler içeriyor.

    ✨ YENİ: Renk Paleti Captcha!

    Botları durdurmak için tamamen yeni bir görsel doğrulama yöntemi eklendi! Görsel Doğrulama:* Artık standart soru-cevap testine ek olarak, şüpheli oyunculara renkli yünlerin olduğu bir GUI gösteriliyor. Göreviniz: Oyuncudan, belirlenen süre içinde belirli bir renkteki (örn: "Tüm Kırmızı* yünlere tıkla!") tüm yünleri bulması isteniyor. Yüksek Güvenlik:* Bu interaktif testin, basit sohbet botları tarafından geçilmesi neredeyse imkansızdır. ![Renk Paleti Captcha](https://cdn.modrinth.com/data/cached_images/90c1662291cfc…

    🧠 YENİ: Modüler ve Ağırlıklı Captcha Sistemi

    Captcha altyapısı tamamen yeniden yazılarak size tam kontrol verildi. Ağırlıklı Seçim:* config.yml üzerinden hangi captcha türünün (Soru-Cevap, Renk Paleti) hangi olasılıkla (weight) çıkacağını siz belirleyebilirsiniz. Örnek: %60 ihtimalle Renk Paleti, %40 ihtimalle Soru-Cevap.* Modüler Tasarım:* Bu yeni yapı, gelecekte daha fazla captcha türü (örn: "Doğru eşyayı bul", "Hayvanı seç") eklememizi çok kolaylaştırıyor. Tür Başına Ayarlar:* Her captcha türünün (Soru-Cevap, Renk Paleti) zaman aşımı süresi gibi ayarları artık config.yml üzerinden ayrı ayrı yönetilebilir.

    🚀 YENİ: /afktest Komutu

    Oyuncu dostu bir yenilik! * Bir oyuncu Renk Paleti GUI'sini yanlışlıkla kapatırsa veya sohbetteki soruyu kaçırırsa, artık /afktest komutunu kullanarak aktif captcha testini yeniden açabilir. * Bu, oyuncuların haksız yere "testi geçemedi" olarak işaretlenmesinin önüne geçer.

    🛠️ İyileştirmeler ve Düzeltmeler

    Gelişmiş Hata Ayıklama (Debug):* config.yml dosyasına yeni bir debug bölümü eklendi. Artık enabled: true yapmak yerine, sadece ilgilendiğiniz modülün (örn: activity_listener, database_queries) loglarını açarak konsol kirliliğini önleyebilir ve sorunları daha hızlı tespit edebilirsiniz. Yeniden Giriş Koruması (Rejoin Protection):* AFK olarak atılan bir oyuncunun hemen sunucuya geri girmesini engelleyen sistem daha stabil hale getirildi. Atılma zamanlaması ayarlandı ve yöneticiler için debug logları e-klendi. Kod Refaktörü:* Tüm Captcha yönetimi kodu, daha performanslı ve yönetilebilir bir yapıya kavuşturuldu. Bu güncelleme ile AntiAFK, sunucunuzu AFK botlarına karşı korumada çağ atlıyor. Desteğiniz ve geri bildirimleriniz için teşekkürler!
    28 downloads
  13. 1.0.2-b6AntiAFK 1.0.2-b6Sep 14, 2025

    AntiAFK 1.0.2-b6

    - Critical Memory Leak Fixed: A critical object leak in the RecordingManager has been patched. Previously, MovementVector objects used during a pattern recording session were not always returned to the object pool if the recording was canceled, the player quit, or a server /reload occurred. This could lead to the pool becoming exhausted over time, causing errors. This leak is now fully resolved. - Enhanced Pool Configuration: The default configuration for the VectorPoolManager has been tuned for better performance on busy servers. I've increased the maximum pool size (maxTotal) and the maximum wait time (maxWait) to prevent pool exhaustion during moments of high server activity. - Safe Object Return: The returnVector method has been made safer with a try-catch block. This prevents potential IllegalStateException errors if a non-pooled object is ever inadvertently returned, making the system more robust against edge cases. - A proper cleanup procedure has been added to the plugin's onDisable() method. When the server stops or reloads, AntiAFK will now safely clear all active recording sessions and return all borrowed objects to the pool, preventing object leaks during shutdowns.
    77 downloads
  14. 1.0.2-b5AntiAFK 1.0.2-b5Sep 13, 2025

    AntiAFK 1.0.2-b5

    - Refactored AFK Command Registration to improve Dynamic handling.
    25 downloads
  15. 1.0.2-b4AntiAFK 1.0.2-b4Sep 13, 2025

    AntiAFK 1.0.2-b4 Update

    - New Language Support: - Spanish, - German, - French, - Russian, - Polish. - All Supported Languages: - Turkish, - English, - Spanish, - German, - French, - Russian, - Polish Configuration Details: - The language for system messages in the console is hardcoded in the plugin, but it can be changed in the config.yml file. - Language files for player-facing messages can be found <a href="https://github.com/bentahsin/AntiAFK/tree/master/messages…">here</a>. To change the language, you need to replace your messages.yml file with one of the provided language files.
    23 downloads
  16. 1.0.2-b3AntiAFK 1.0.2-b3Sep 13, 2025
    AntiAFK 1.0.2-b3 - The Learning Update!
    I'm excited to announce a major new release for AntiAFK, packed with a groundbreaking bot detection system I've developed, full internationalization support, and significant under-the-hood improvements. With this update, I've transformed AntiAFK from a simple AFK manager into an intelligent, proactive defense system for your server. ---
    ✨ Major New Features
    #### 🧠 Introducing "Learning Mode": Intelligent Pattern Recognition I've introduced a powerful Learning Mode in this update, leveraging machine learning principles to detect and counteract sophisticated AFK bots that follow predefined movement patterns or routes. This system goes beyond simple activity checks to analyze how players move over time. The system works by allowing you to record a sequence of player movements as a "pattern". I then use a highly optimized, asynchronous task I wrote to continuously compare the recent movements of all online players against a library of known bot patterns. A match is determined using the Dynamic Time Warping (DTW) algorithm, which effectively compares two movement sequences even if they are performed at different speeds. Key Features of Learning Mode: Asynchronous Pattern Analysis: I've built a new task (`PatternAnalysisTask`) that runs entirely off the main server thread to perform computationally intensive DTW comparisons, ensuring zero server lag*. High-Performance Design*: I've implemented object pooling (Apache Commons Pool2) for MovementVector objects to significantly reduce garbage collection overhead, and used a lock-free queue to safely pass data between threads. Comprehensive Pattern Management*: I've added a new command suite, /antiafk pattern, to give you full control: * record: Start, save, or cancel the recording of a player's movements to create a new pattern. * list: View all saved patterns. * manage: Delete, move, or transform patterns between formats. Dual Serialization Formats: Patterns can be saved in human-readable JSON (for debugging) or a highly efficient binary Kryo* format for optimal performance. Extensive Configuration*: I've added a new learning_mode section in config.yml to allow for fine-tuning of the detection algorithm, including similarity thresholds, task frequency, and security limits. #### 🌍 Full Internationalization (i18n) Support AntiAFK now speaks your language! I've completely overhauled the language system to provide a truly multilingual experience. All Messages are Translatable*: Every single message, including system logs in the console, error messages, and in-game commands, is now managed by the new language system I've implemented. New `lang` Setting*: You can now set the global language for the plugin directly in config.yml. This controls the language for all console output. Initial Languages: I'm launching with full support for English and Turkish*. Adding new languages in the future is now incredibly simple. ---
    🚀 Improvements & Refactoring
    Codebase Refinements*: I have refactored large parts of my code to cache manager instances (like ConfigManager) within classes instead of calling plugin.get...() repeatedly. This improves the code's readability and maintainability. ---
    🐛 Bug Fixes
    System Language Reload*: I fixed a critical bug where the system language for console messages would not update after using the /antiafk reload command. The reload process is now fully effective.
    27 downloads
  17. 1.0.2-b2AntiAFK - 1.0.2-b2Sep 11, 2025

    AntiAFK - 1.0.2-b2 Güncellemesi

    - Captcha sorularına birden fazla cevap ekleyebilme eklendi.
    36 downloads
  18. 1.0.2-b1AntiAFK - 1.0.2-b1Sep 11, 2025

    Sürüm 1.0.2-b1

    - Komutlar için implementasyonlu modüler yapıya geçilip sonraki geliştirme adımları hızlandırıldı. <details> <summary>İmplementasyonlu Modüler Komut Sistemi Görseli</summary> ![İmplemantasyonlu Modüler Komut Sistemi Görseli](https://cdn.modrinth.com/data/cached_images/b4069eef29a34… </details> - PlaceholderAPI yer tutucuları için implementasyonlu modüler yapıya geçilip sonraki geliştirme adımları hızlandırıldı. <details> <summary>İmplementasyonlu Modüler PlaceholderAPI Expansionu</summary> ![Replace this with a description](https://cdn.modrinth.com/data/cached_images/cb1afa5e399c9… </details> - Bir methoddaki synchronized bloklarının ayrı olması nedeniyle ortaya çıkan NullPointerException hatası giderildi. - Uygun alanlarda Cache için Caffeine dependency kullanılmaya geçildi. - Java 8'e geçilerek 1.13.X - 1.16.X arası destek sağlanmaya başlandı. - Captcha sistemi ile şüpheli olarak işaretlenen oyuncuları (Bot Şüphesi) sınama sistemi eklendi. - Yörüngesel algılama sisteminde bazı mantık hataları giderildi. - Katmanlı kontrol sisteminde öncelik sırası iyileştirildi.
    31 downloads

Similar projects

Plugin →