AntiAfkFishing v1.3.1
About:
A lot of players are using autofish modifications to rankup their MCMMO levels or get a lot of mending books. There is actually no way to detect that. The only way is to call them in chat to check if they're afk fishing. But this is the solution! When the player is fishing / holding a fishing rod, the player gets after 25 minutes a message with a unique key. The player needs to retype that key in 30 seconds to avoid a kick.
The timer will reset if:
- Player's X and Z coördinates changes (NOT if player is riding a minecart or whatever)
- Player send a chatmessage
- Player entered the key succesfully
- Player leaves the server / kicked from the server
Pictures:
Pictures

Commands:
Commands
/aaf | Shows a menu with available subcommands
/aaf help | Same as /aaf
/aaf reload | Reloads the config.yml
Permissions:
Permissions
aaf.help | Permission for the /aaf and /aaf help commands
aaf.reload | Permission to reload the config.yml
Config:
Config
#AntiAfkFishing by AdventurePandah
#In this configuration file are you able to modify multiple things from this plugin.
#Don't forget to rate this plugin and share it with your friends :)
#Let's start
#---------------| Messages |---------------
#This message is the kick reason
kickMessage: "&4We dont appreciate it if youre AFK Fishing!"
#This message will send to all the players (is broadcast is enabled)
broadcastMessage: "&a%player% just got kicked for AFK Fishing!"
#This message will be send to the player if he's afk fishing. The random string can't be modified. After this string the random key will be shown.
retypeMessage: "&4You have 30 seconds to retype this to avoid a kick:"
#Message if player succesfully retypes the key
successMessage: "&aNice! Goodluck!"
#Message if player failed with retyping the key
failMessage: "&4Nope! Try again!"
#---------------| Times |---------------
#This will be the time in seconds when the player recieves a retype message.
#Default: 1500 seconds = 25 minutes
afkTime: 1500
#This will be the delay between the retype message and the kick.
#Default: 30 seconds = 30 seconds after afkTime
kickDelay: 30
#---------------| Other |---------------
#Enable or disable broadcasts on kick
broadcast: true
#Random String length
stringLength: 10Features:
- Commands to modify config variables
- Bug fixes
If you find any bugs or whatever, please contact me.
For contact or server support, please contact Bas // AdventurePandah#4852
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