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
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
This might be a feature of an anticheat somewhere
I use Grim as a movement anticheat
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?
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
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
I know vulcan has autoclicker checks
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
you never specified free
I know, but since I already have an anticheat it's stupid to buy Vulcan just for the autoclick
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
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
Well that doesnt prevent autoclicking just limits cps
you can check if there's any player activity other than clicking for a period of time
quick thing with skript tbh
It should detect if the cps is stable over a certain period of time
Yeah but you can also just legit stand there and just click
hmm
But your cps wont be "stable"
store their CPS, compare them each X
if equal kick them or whatever
Its not that simple
No ac is that simple
find a better one
people will come up with bypasses either way
You would need actual autoclicker checks
just use vulcan then
To atleast prevent the bad ones
Maybe i can make it myself, in my afk plugin. And if a player is detected as afk, I'm doing more tests
One which is free is medusa. It has a few really mediocre autoclicker checks but its free.
I don't want to pay 20 bucks when I already have an anticheat (Grim)
Some autoclickers have "randomiserzs"
isn't grim opensource
Should prevent at least the blatant ones, but might false
randomizers
Yeah you could just fork grim and add autoclicker checks
opensource anticheats are often a bad idea
Sry i'm french, i'm messing up with my phone corrector 😭
He uses grim anyways
Ik
anyone malicious can just develop a bypass by peeking at the src
a lot of people here told me that Grim is better than Vulcan for "movement" cheats
In general yes
But debateable
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
Well every anticheat has setbacks
Not special to Grim
Then I’ll use the following autohotkey script I found after googling for 30 seconds
?
Will click every 150-200ms
Inconsistently
If we look at the 5 minute average, I think we will be able to detect
Could even make it occasionally pause for 5 to 10 seconds every like 30 seconds
Or compare the average of a minute with the average of previous minutes
So i think your best options are to fork grim and add autoclicker checks
I would rather add it to my anti afk plugin
Or do that
So i can make more checks when a player is afk
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
Bruh i'm a beginner with plugin dev
Well autoclicker detection is not really a beginner thing 🤷♂️
Thats the problem
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
Medusa isnt updated since 1.12
Well autoclicker checks are version Independent
Might works as i said
Otherwise I can find a more general anti-cheat plugin, which would also prevent cheats that Grim does not prevent
A free one
There is no good one as far as i know
And disable all movements checks
You could use the old outdated free version of vulcan alongside grim
And disable setbacks and motion checks on Vulcan
Will it work in 1.21 ?
Kinda
(1.20.6)
Link ?
Its on vulcan discord under announcements
Ok
But it comes with no warranty or support (the free version)
Obviously...
Not so obvious for some people for some reason...
Send you dc invite via dm
I joined Vulcan dc
Where ??
1.21 is unstable, Vulcan aswell as Grim dont work on 1.21 iirc because PacketEvents hasnt updated yet
For the moment, right ?
Yes
You need to scroll up a few posts in announcements, its from 22.01
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
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
Why wouldn't that work?
New component system
?
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
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
Interesting
Idk we will see in the future how it works out
Yep
I hope it wont break too much things
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