Prevent autoclicking on SMP

Hey, I'm looking for a plugin that prevents players from autoclicking. I own a survival server with an economy, so autoclicking would be a problem if players use it in farms. I found Anti-Autoclicker, but I asked the dev and he said that is plugin didn't work that well with low CPS (like in a mob farm, where it's useless to have high CPS). So i'm searching for another plugin, do you know some? It would be great if it worked with right click too.
80 Replies
Admincraft Meta
Admincraft Meta9mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by pseudo_original#0
Arthurmeade12
Arthurmeade129mo ago
This might be a feature of an anticheat somewhere
Pseudo_Original
Pseudo_OriginalOP9mo ago
I use Grim as a movement anticheat
Snow Kit
Snow Kit9mo ago
just to be clear, a mob farm where the player doesn't have to click wouldn't harm the economy? like, if a mob burnt to death or fell to it's death wouldn't cause issues, only specifically if players kill them?
Pseudo_Original
Pseudo_OriginalOP9mo ago
No, for this i have an anti afk that you can upgrade by buying ranks (with ingame money), i'm talking about a farm that requires to kill mobs "manually", place crops, etc. So a player could use an autoclick to make this non-afk farm an afk farm
Snow Kit
Snow Kit9mo ago
I'm sure there's probably some plugin that'll mark people as afk if specifically they don't move but then it'll probably get tricked by a simple afk pool
Ibotmealot
Ibotmealot9mo ago
I know vulcan has autoclicker checks
Pseudo_Original
Pseudo_OriginalOP9mo ago
Thats not what i want. I want an anti-autoclicker Vulcan isnt free... And i already use Grim, so it's stupid to buy an anti cheat if I'm fine with a free one
ProGamingDk
ProGamingDk9mo ago
you never specified free
Pseudo_Original
Pseudo_OriginalOP9mo ago
I know, but since I already have an anticheat it's stupid to buy Vulcan just for the autoclick
Eternal
Eternal9mo ago
how are you looking to prevent autoclicking kick players that AFK at farms with a clicker on? or just cap how many times a player can click every X
Pseudo_Original
Pseudo_OriginalOP9mo ago
I have an anti afk plugin. If a player is in a farm (not necessarily afk) and uses an autoclicker instead of clicking manually, i want to be able to detect it
NieGestorben
NieGestorben9mo ago
Well that doesnt prevent autoclicking just limits cps
Eternal
Eternal9mo ago
you can check if there's any player activity other than clicking for a period of time quick thing with skript tbh
Pseudo_Original
Pseudo_OriginalOP9mo ago
It should detect if the cps is stable over a certain period of time
NieGestorben
NieGestorben9mo ago
Yeah but you can also just legit stand there and just click
Eternal
Eternal9mo ago
hmm
Pseudo_Original
Pseudo_OriginalOP9mo ago
But your cps wont be "stable"
Eternal
Eternal9mo ago
store their CPS, compare them each X if equal kick them or whatever
NieGestorben
NieGestorben9mo ago
Its not that simple No ac is that simple
Eternal
Eternal9mo ago
find a better one people will come up with bypasses either way
NieGestorben
NieGestorben9mo ago
You would need actual autoclicker checks
Eternal
Eternal9mo ago
just use vulcan then
NieGestorben
NieGestorben9mo ago
To atleast prevent the bad ones
Pseudo_Original
Pseudo_OriginalOP9mo ago
Maybe i can make it myself, in my afk plugin. And if a player is detected as afk, I'm doing more tests
NieGestorben
NieGestorben9mo ago
One which is free is medusa. It has a few really mediocre autoclicker checks but its free.
Pseudo_Original
Pseudo_OriginalOP9mo ago
I don't want to pay 20 bucks when I already have an anticheat (Grim) Some autoclickers have "randomiserzs"
Eternal
Eternal9mo ago
isn't grim opensource
NieGestorben
NieGestorben9mo ago
Should prevent at least the blatant ones, but might false
Eternal
Eternal9mo ago
randomizers
NieGestorben
NieGestorben9mo ago
Yeah you could just fork grim and add autoclicker checks
Eternal
Eternal9mo ago
opensource anticheats are often a bad idea
Pseudo_Original
Pseudo_OriginalOP9mo ago
Sry i'm french, i'm messing up with my phone corrector 😭
NieGestorben
NieGestorben9mo ago
He uses grim anyways Ik
Eternal
Eternal9mo ago
anyone malicious can just develop a bypass by peeking at the src
Pseudo_Original
Pseudo_OriginalOP9mo ago
a lot of people here told me that Grim is better than Vulcan for "movement" cheats
NieGestorben
NieGestorben9mo ago
In general yes But debateable
Pseudo_Original
Pseudo_OriginalOP9mo ago
And if I understood correctly, Grim prevents cheats from working, so there is less need to moderate "manually" Grim is free and works well for me
NieGestorben
NieGestorben9mo ago
Well every anticheat has setbacks Not special to Grim
Snow Kit
Snow Kit9mo ago
Then I’ll use the following autohotkey script I found after googling for 30 seconds
#Requires AutoHotkey v2.0
on := False

F3:: {
Global on
If on ^= True
clik(), SoundBeep(1500)
Else SetTimer(clik, 0), SoundBeep(1000)
}

clik() {
Click
If on
SetTimer clik, Random(150, 200)
}
#Requires AutoHotkey v2.0
on := False

F3:: {
Global on
If on ^= True
clik(), SoundBeep(1500)
Else SetTimer(clik, 0), SoundBeep(1000)
}

clik() {
Click
If on
SetTimer clik, Random(150, 200)
}
Pseudo_Original
Pseudo_OriginalOP9mo ago
?
Snow Kit
Snow Kit9mo ago
Will click every 150-200ms Inconsistently
Pseudo_Original
Pseudo_OriginalOP9mo ago
If we look at the 5 minute average, I think we will be able to detect
Snow Kit
Snow Kit9mo ago
Could even make it occasionally pause for 5 to 10 seconds every like 30 seconds
Pseudo_Original
Pseudo_OriginalOP9mo ago
Or compare the average of a minute with the average of previous minutes
NieGestorben
NieGestorben9mo ago
So i think your best options are to fork grim and add autoclicker checks
Pseudo_Original
Pseudo_OriginalOP9mo ago
I would rather add it to my anti afk plugin
NieGestorben
NieGestorben9mo ago
Or do that
Pseudo_Original
Pseudo_OriginalOP9mo ago
So i can make more checks when a player is afk
NieGestorben
NieGestorben9mo ago
But you would need to listen to clicks somehow Attack packets are not accurate, due to attack delay You would need to use hand animation packets
Pseudo_Original
Pseudo_OriginalOP9mo ago
Bruh i'm a beginner with plugin dev
NieGestorben
NieGestorben9mo ago
Well autoclicker detection is not really a beginner thing 🤷‍♂️
Pseudo_Original
Pseudo_OriginalOP9mo ago
Thats the problem
NieGestorben
NieGestorben9mo ago
Then you need to use medusa or frequency or something and only enable autoclicker checks. Not recommended to run 2 anticheats side by side but might work. Or you might know someone who is better at plugin dev That are your only promising options it seems like
Pseudo_Original
Pseudo_OriginalOP9mo ago
Medusa isnt updated since 1.12
NieGestorben
NieGestorben9mo ago
Well autoclicker checks are version Independent Might works as i said
Pseudo_Original
Pseudo_OriginalOP9mo ago
Otherwise I can find a more general anti-cheat plugin, which would also prevent cheats that Grim does not prevent A free one
NieGestorben
NieGestorben9mo ago
There is no good one as far as i know
Pseudo_Original
Pseudo_OriginalOP9mo ago
And disable all movements checks
NieGestorben
NieGestorben9mo ago
You could use the old outdated free version of vulcan alongside grim And disable setbacks and motion checks on Vulcan
Pseudo_Original
Pseudo_OriginalOP9mo ago
Will it work in 1.21 ?
NieGestorben
NieGestorben9mo ago
Kinda (1.20.6)
Pseudo_Original
Pseudo_OriginalOP9mo ago
Link ?
NieGestorben
NieGestorben9mo ago
Its on vulcan discord under announcements
Pseudo_Original
Pseudo_OriginalOP9mo ago
Ok
NieGestorben
NieGestorben9mo ago
But it comes with no warranty or support (the free version)
Pseudo_Original
Pseudo_OriginalOP9mo ago
Obviously...
NieGestorben
NieGestorben9mo ago
Not so obvious for some people for some reason... Send you dc invite via dm
Pseudo_Original
Pseudo_OriginalOP9mo ago
I joined Vulcan dc Where ??
NieGestorben
NieGestorben9mo ago
1.21 is unstable, Vulcan aswell as Grim dont work on 1.21 iirc because PacketEvents hasnt updated yet
Pseudo_Original
Pseudo_OriginalOP9mo ago
For the moment, right ?
NieGestorben
NieGestorben9mo ago
Yes You need to scroll up a few posts in announcements, its from 22.01
Pseudo_Original
Pseudo_OriginalOP9mo ago
My server was on 1.20, but we are closed and preparing the new release in 1.21 in august Still waiting for a stable version of Paper 1.21
NieGestorben
NieGestorben9mo ago
The free version will probably not work with 1.21 tho But trying never hurt anyone And for 1.20.6 it should work fine
Pseudo_Original
Pseudo_OriginalOP9mo ago
Why wouldn't that work? New component system ?
NieGestorben
NieGestorben9mo ago
Free version uses old PacketEvents obviously And is no longer updated Depending on what packets its listening to the protocol might have changed Yeah maybe also that
Pseudo_Original
Pseudo_OriginalOP9mo ago
I'll wait for Paper 1.21 and i'll try Some person on Paper dc told me that they tried to make older plugins compatible with 1.21 For example for ItemMeta instead of transforming it to NBT, they keep the same syntax but transform it to Components
NieGestorben
NieGestorben9mo ago
Interesting Idk we will see in the future how it works out
Pseudo_Original
Pseudo_OriginalOP9mo ago
Yep I hope it wont break too much things
Ibotmealot
Ibotmealot9mo ago
https://www.spigotmc.org/resources/jetsantiafkpro-play-time-afk-reward-detection-actions-bungee-regions-gui-1-8-1-20.63179/ is also another long term solution
Will detect Auto-Clicking and other macros that simply move the player character, water pools, anything with TNT, etc

Did you find this page helpful?