AntiAFKPlus - All-in-One AFK Solution [1.7 - 1.21] icon

AntiAFKPlus - All-in-One AFK Solution [1.7 - 1.21] -----

This Plugin detects Water circles, Jump AFK, Piston AFK and so much more!




  • Removed NMS for Paper/Purpur
If you find any Bugs, please let me know.
----------, May 15, 2024

  • You can now enable/disable the Teleport Back for the Return of a Player. In the previous Version every Player that got teleported on AFK, got automatically returned to there previous Location.
----------, Jan 3, 2024

  • Fixed the Internal Error for the GUI
----------, Dec 21, 2023

  • Removed Debug Messages
  • Fixed Dependency Bug in older Versions
----------, Jun 19, 2023

  • Now supports Minecraft Version 1.20. It took me some time to adjust the breaking API changes, but I maintained backward compatibility.
----------, Jun 19, 2023

  • It's no longer possible to trick the algorithm with a rotating Boat
----------, Apr 5, 2023

  • Players won't get punished anymore if they teleported in a disabled World without moving.
----------, Apr 27, 2021

  • At begin, a Default Config will be generated
  • Everything is explained in the Config
  • Rework Reload Command
  • Fixed Change of check_delay
----------, Oct 5, 2020

  • Loading disabled_worlds caused an Error
----------, Apr 28, 2020

  • Added disabled Worlds
  • Fixed Chat Color Bug in Inputs
----------, Apr 28, 2020

  • The old config.yml isn't compatible anymore
  • You can now send Players to other Servers (BungeeCord)
  • Big In-Game Admin GUI to manage the Plugin
  • Made it very user friendly
  • Code Improvements
  • Algorithm Improvements
----------, Apr 25, 2020

  • Fixed the Teleport Back issue
If you still have Problems please Message me.
----------, Sep 16, 2019

  • Recoded the Config Technology
    • Better Error Messages
    • Automatic add Missing Entries
----------, Sep 12, 2019

  • Player now doesn't instantly telport back after teleport
Sorry for double Update, missed some Debug Messages :/
----------, Aug 23, 2019

Again a small Request
  • Added AfkStatusChangedEvent
----------, Aug 1, 2019

Someone requested a Developer API.
  • Added Developer API
Code (Java):
public interface AntiAFKPlusAPI {

    /**
     * Returns how much checks the Player failed
     *
     * @param player the Player to check
     * @return amount of checks failed
     */

    int getChecksFailed (Player player ) ;

    /**
     * Returns the Check Interval configured in the config.yml
     *
     * @return the check interval in seconds
     */

    int getCheckInterval ( ) ;


    /**
     * Returns <tt>true</tt> if the Player failed at least Check
     *
     * @param player the Player to check
     * @return <tt>true</tt> if player failed one AFK check
     * */

    boolean isAFK (Player player ) ;

    /**
     * Returns <tt>true</tt> if Player got teleported while AFK
     *
     * @param player the Player to check
     * @return <tt>true</tt> if Player got teleported
     */

    boolean isTeleported (Player player ) ;

    /**
     *  Returns a {@link List} view of {@link Player} players.
     *  This players failed at least on AFK Check.
     *
     * @return a list of players who did not pass one AFK check
     */

    List <Player > getAFKPlayers ( ) ;

    /**
     *  Returns a {@link List} view of {@link Player} players.
     *  This players failed at least the given Amount of Checks.
     *
     * @param failedChecks amount of failed Checks
     * @return a list of players who did not pass the AFK checks
     */

    List <Player > getAFKPlayers ( int failedChecks ) ;

    /**
     * Create a new API Instance to work with
     *
     * @return API Instance
     */

    static AntiAFKPlusAPI getAPI ( ) ;
}
----------, Jul 30, 2019

  • Fixed Error for Version 1.7
  • Removed version from config.yml
----------, Jul 25, 2019

  • So the Bug is fixed that sometime Player, won't get kicked
  • Players in Spectator Mode won't get kicked anymore
----------, Jul 16, 2019

Removed Aliases aa, afk
- Wasn't compatible with other Plugins

Changed permission:
- antiafk.reload -> antiafkplus.reload
----------, Apr 12, 2017

New Command
antiafk:
aliases: [aa, afk]
permission: antiafk.reload

Fixed the Essentials Teleport Bug
----------, Apr 12, 2017

- Fixed water circle detection
----------, Apr 3, 2017

I completely recoded the Source-Code and added some cool Features.
  • You now can perform different Actions after X Amount of Checks.

    Available Actions:
    1. Messages
    2. Commands
    3. Sounds
  • Players who got tp't, while they were AFK, will teleported back after they come back.
  • New better readable Config
----------, Mar 23, 2017

I just remove 1 small Debug message
----------, Jul 2, 2016

- Bugfix for Multiple Players
- Closing the Inventory after the Command
----------, Jul 1, 2016

Fixed the OutOfBounds Exception.
----------, Jun 3, 2016

Whats new?
  • You can now edit the command at Play Kick (Example: kick, tp, tempban)
  • Fixed one Bug
----------, Apr 29, 2016

Whats new?
  • Added a Config, where you can change every Message and Time.
  • Added a Random Slot in the AFK Check
----------, Apr 6, 2016

I just fixed a small Bug.
----------, Apr 4, 2016

Resource Information
Author:
----------
Total Downloads: 5,934
First Release: Apr 3, 2016
Last Update: May 15, 2024
Category: ---------------
All-Time Rating:
55 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings