UltimateAntiAFK Plugin v2.1

Stop your players from AFKING!
PixelMine_Plugin_UtilityUltimateAntiAFK_Cover.png
PixelMine_Brand_Thread_DescriptionTitle.gif

Stop players from abusing the afk limit, this plugin completely eliminates all afk pools. After "X" amount of time (set in the configuration) a GUI will pop-up on the players screen with an item in it that they must click within "X" amount of time otherwise they will get kicked from the server. If the player isn't afk and manage to click the item then they are rewarded with a custom reward.

The plugin allows you to give donors longer afk limits aswell.

Everything is customizable:
• GUI Title
• Item in the GUI (Changes slots)
• Fake items (kicks if clicked)
• Name and lore of each item
• Rewards for clicking the item
• Time allowed to click item
• Command used if failed to click item in time
• Default rank afk timer
• Unlimited donor ranks
• Added a combat checker.

Code:
##      _    _ _ _   _                 _                      _   _          ______ _  __    ##

##     | |  | | | | (_)               | |         /\         | | (_)   /\   |  ____| |/ /    ##

##     | |  | | | |_ _ _ __ ___   __ _| |_ ___   /  \   _ __ | |_ _   /  \  | |__  | ' /     ##

##     | |  | | | __| | '_ ` _ \ / _` | __/ _ \ / /\ \ | '_ \| __| | / /\ \ |  __| |  <      ##

##     | |__| | | |_| | | | | | | (_| | ||  __// ____ \| | | | |_| |/ ____ \| |    | . \     ##

##      \____/|_|\__|_|_| |_| |_|\__,_|\__\___/_/    \_\_| |_|\__|_/_/    \_\_|    |_|\_\    ##

##                                                                                           ##    

ultimateantiafk:

    ## GUI settings

    gui:

        ## Choose the item for the gui

        title: "&d&lUltimateAntiAFK"

        item:

             ## List of all possible items: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html

             material: "DIAMOND"

             ## Change the displayname for the item

             displayname: "&c&lAntiAFK"

             ## Change the lore for the item

             lore:

             - "&c**Click**"

    ## Choose how to reward the player for clicking the item in the inventory (random)

    rewards:

        - "give %PLAYER% minecraft:dirt 64;say %PLAYER% got an anti afk reward!"

        - "give %PLAYER% minecraft:diamond;say %PLAYER% got an anti afk reward!"

    ## Kick settings

    kick:

        ## Set the time the plugin waits for a player click (20 equals 1 second)

        time: 200

        ## You can paste your own kick command here

        command: "kick %PLAYER% AFK"

    ## Rank settings

    ranks:

        ## Default settings (if no other permission)

        default:

            ## Time before the gui opens (20 equals 1 second)

            time: 4000

        ## Premium Rank settings (eg. ultimateantiafk.rank.premium)

        premium:

            ## Time before the gui opens (20 equals 1 second)

            time: 8000


Latest reviews

This license was given for free. What's this?
Great plugin, and does what it is supposed to do. Wouldn't hesitate to use it!
Buy a license now
$13.49
EULA: Standard EULA
New: Now supporting cryptocurrency payments!
Share this resource
Help out the creator by referring your friends!
2,547 Views
27 Purchases
43 Downloads
May 31, 2018 Published
Jan 7, 2019 Updated
5.00 star(s)
Average rating (1)
20 KB File size
Type
  1. Staff
Supported software
  1. Bukkit
Supported versions
  1. 1.12
Creators
Owner
Collaborator
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Recommended for you
A bundle of Extremely high-quality BedWars maps!
5.00 star(s) 16 ratings
239 purchases
Essentials messages in 2 Styles
5.00 star(s) 8 ratings
132 purchases
Highly improved version of Kit PvP
4.50 star(s) 8 ratings
118 purchases
High Quality Ranked Key Icons | 512x512
4.00 star(s) 3 ratings
109 purchases
A package of amazing prison mines!
5.00 star(s) 5 ratings
102 purchases
Share this resource
Help out the creator by referring your friends!
2,547 Views
27 Purchases
43 Downloads
May 31, 2018 Published
Jan 7, 2019 Updated
5.00 star(s)
Average rating (1)
20 KB File size
Type
  1. Staff
Supported software
  1. Bukkit
Supported versions
  1. 1.12
Creators
Owner
Collaborator
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Recommended for you
A bundle of Extremely high-quality BedWars maps!
5.00 star(s) 16 ratings
239 purchases
Essentials messages in 2 Styles
5.00 star(s) 8 ratings
132 purchases
Highly improved version of Kit PvP
4.50 star(s) 8 ratings
118 purchases
High Quality Ranked Key Icons | 512x512
4.00 star(s) 3 ratings
109 purchases
A package of amazing prison mines!
5.00 star(s) 5 ratings
102 purchases
Top