UltimateAntiAFK Plugin $2.49

Status
This thread has been locked.

TBK

59,226.94 CRO
Deactivated
Feedback score
49
Posts
756
Reactions
753
Resources
0
Link to purchase - https://www.mc-market.org/resources/7346
47b43722728b0e2a178659d2dc6592d5.png

Stop players from abusing the afk limit, This plugin completely eliminates all afk pools. After X amount of time (set in the config) 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 isnt 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.
• Name and lore of the 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


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
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

LukeFrost

Feedback score
1
Posts
11
Reactions
7
Resources
0
Whilst the GUI is up, would it be possible for you to make it so that the player will not be able to pickup items?
 

TBK

59,226.94 CRO
Deactivated
Feedback score
49
Posts
756
Reactions
753
Resources
0
Whilst the GUI is up, would it be possible for you to make it so that the player will not be able to pickup items?

Why would you need that ?
 

LukeFrost

Feedback score
1
Posts
11
Reactions
7
Resources
0
AFK farms and hacked client often work whilst a GUI is open. Revoking the ability to pickup items will stop auto-mining and auto-pickup farms
 

Aelith

Pot Noodle Entrepreneur/Investor
Supreme
Feedback score
0
Posts
37
Reactions
24
Resources
0
AFK farms and hacked client often work whilst a GUI is open. Revoking the ability to pickup items will stop auto-mining and auto-pickup farms

That can be done via main server config file...
 

TBK

59,226.94 CRO
Deactivated
Feedback score
49
Posts
756
Reactions
753
Resources
0

LukeFrost

Feedback score
1
Posts
11
Reactions
7
Resources
0
The fact is when this gui players only have X amount of time to click the item or it removes them from the game
Yes I understand that as you have stated it. All I asked was if item drops can be disabled which has been answered.
 
Status
This thread has been locked.
Top