Welcome to Minecraft Forums!

Minecraft Forums is dedicated to all things Minecraft - whether you want to showcase your creations, find players, or simply seek help, everyone is welcome.
AntiAFKPlus - All-in-One AFK Solution

šŸ’ LeakšŸ’  AntiAFKPlus - All-in-One AFK Solution [3.2.1]

  • Author Kritz
  • Creation date
  • You have reached your maxium allowed downloads limit.
Minecraft Versions
1.7, 1.8, 1.9, 1.10, 1.11, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19, 1.20
Source
https://www.spigotmc.org/resources/antiafkplus-all-in-one-afk-solution-1-7-1-20.21208/
[IMG]


Are you tired of the default AFK mechanics which have limited options?
Well I've made this brand-new plugin to fullfill your requests!
We provide a simple and lightweight code which adds many new mechanics to the AFK system:
You'll be able to choose custom actions to interact and manage your AFK players,
and most importantly you can choose the punishment for the AFK players in your server!

[IMG]

[IMG]
[IMG]

[IMG]

[IMG]


[+]
Detects many AFK Machines
[+] Detects Auto-Clicking and other macros
[+] Execute every Command
[+] Play Sounds
[+] Send warning Messages
[+] Send Player to other Server (BungeeCord)
[+] Teleport Player Back to there old Position
[+] You are not limited by anything
[+] Very easy to use GUI
[+] Everything can be changed In-Game

[+]
Everything is customisable

[+]
very lightweight Plugin
[+] All Version compatible
[+] Developer API


[IMG]


Command - Description - Permission
/antiafk
- Open the Admin GUI - antiafkplus.admin
/antiafk reload
- Reload the Plugin - antiafkplus.reload


[IMG]


AntiAFKPlus.bypass - Bypasses the AFK Checks​

Events
  • AfkStatusChangedEvent
API
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();
}
Author
Kritz
Downloads
2
Views
137
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Kritz

Latest reviews

Good job!
Back
Top