AntiAFKFarming
Prevents AFK farming with a captcha.

- Fully configurable
- Supports: Mining, Fishing and Mob grinding.
This plugin can execute a command if a player fails to click an item in a configurable amount of time.
Config.yml
# _ _ ______ _ ________ _ #
# /\ | | (_) /\ | ____| |/ / ____| (_) #
# / \ _ __ | |_ _ / \ | |__ | ' /| |__ __ _ _ __ _ __ ___ _ _ __ __ _ #
# / /\ \ | '_ \| __| | / /\ \ | __| | < | __/ _` | '__| '_ ` _ \| | '_ \ / _` | #
# / ____ \| | | | |_| |/ ____ \| | | . \| | | (_| | | | | | | | | | | | | (_| | #
# /_/ \_\_| |_|\__|_/_/ \_\_| |_|\_\_| \__,_|_| |_| |_| |_|_|_| |_|\__, | #
# __/ | #
# |___/ #
# Choose to enable/disable AntiAFKFarming with true/false
enabled : true
fishing :
# Choose to enable/disable AntiAfkFishing
enabled : true
# After how many fish should the gui be triggered?
maxFish : 20
# What should the gui title say?
inventory_title : "&e&lAntiAfkFishing"
# What should the item displayname say?
item_displayname : "&cAre you there?"
# What should the item lore say?
item_lore :
- "&c*Click here*"
# What material should the item be? List: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
item_material : 'FISHING_ROD'
# Should commands be sent if the player doesn't respond?
respond : true
# Should the player have to use the inventory (only if respond is set to false)
force_interaction : false
# What command should be executed? !PLAYER! = Playername
commands : [ kick !PLAYER! AFKFishing ]
# After how long should the commands be executed? (20 = 1 Second)
time : 200
grinding :
# Choose to enable/disable AntiAfkGrinding
enabled : true
# After how many mobs should the gui be triggered?
maxMobs : 50
# What should the gui title say?
inventory_title : "&e&lAntiAfkGrinding"
# What should the item displayname say?
item_displayname : "&cAre you there?"
# What should the item lore say?
item_lore :
- "&c*Click here*"
# What material should the item be? List: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
item_material : 'IRON_AXE'
# Should commands be sent if the player doesn't respond?
respond : true
# Should the player have to use the inventory (only if respond is set to false)
force_interaction : false
# What command should be executed? !PLAYER! = Playername
commands : [ kick !PLAYER! AFKGrinding ]
# After how long should the commands be executed? (20 = 1 Second)
time : 200
mining :
# Choose to enable/disable AntiAfkMining
enabled : true
# After how many blocks should the gui be triggered?
maxBlocks : 200
# Which blocks should count? List: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
blockList :
- COBBLESTONE
- STONE
- DIAMOND_ORE
- IRON_ORE
- COAL_ORE
- GOLD_ORE
- EMERALD_ORE
- REDSTONE_ORE
- LAPIS_ORE
# What should the gui title say?
inventory_title : "&e&lAntiAfkMining"
# What should the item displayname say?
item_displayname : "&cAre you there?"
# What should the item lore say?
item_lore :
- "&c*Click here*"
# What material should the item be? List: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
item_material : 'DIAMOND'
# Should commands be sent if the player doesn't respond?
respond : true
# Should the player have to use the inventory (only if respond is set to false)
force_interaction : false
# What command should be executed? !PLAYER! = Playername
commands : [ kick !PLAYER! AFKMining ]
# After how long should the commands be executed? (20 = 1 Second)
time : 200
# Here you can choose what each message should say
messages :
# Message when someone tries to do the /antiafkfarming command without permission
no_permission : "&7[&6AntiAFKFarming&7] &cYou don't have permission!"
# Message when someone tries a unknown subcommand
unknown_subcommand : "&7[&6AntiAFKFarming&7] &cUnknown subcommand!"
# Message when somone successfully reloads the config
reload : "&7[&6AntiAFKFarming&7] &aConfig reloaded!"Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta