AntiAura (checkAura)
You need ProtocolLib (3.6.x for 1.8 version) http://dev.bukkit.org/bukkit-plugins/protocollib/
You MUST use ProtocolLib build #89 and above for Bukkit/Spigot version 1.8.3
AntiAura is a bukkit plugin that allows you to test if a player has kill aura. It basically sends a packet to the player that spawns a configurable number of fake players for a configurable amount of time. The message is sent to administrator with the result (how many test players were attacked).
Commands:
/auracheck <player>
/auracheck reload
alias: /ac <player>
permission: auracheck.check
Configuration:
ticksToKill: 10 #how much time in ticks to give player to kill the fake players (20 tickets in every second) amountOfFakePlayers: 4 #how many fake players should spawn I recommend 5-7 invisibility: true #should fake players be invisible (some kill aura hacks may ignore them)
SourceCode: http://github.com/maciekmm/antiaura
Can you make an automatically aura checker in every "time"
@maciekmm
Can't wait to see what you have come up with. I was on hypixel the other day, and they had a similar system. They would spawn a fake player that was somewhere in your loaded chunks but you couldn't reach. Pretty smart!
@CommodoreAlpha
Check the entityage? My killaura completely bypasses this, as it only attacks players that has been within renderdistance for more then 30 ms.
Update is close!
I've no experience with hacking, but wouldn't it be possible to have a KillAura mod that returns damage dealt, and which target(s) was damaged? If this is possible, a hacker could figure out they were being checked, although what they'll do next is beyond me (probably just quit).
@maciekmm
Alright man. I'll just post it here then :)
First off, you should definately implement following code:
As for triggerbots and killauras that attack only in tiny angles, i don't think you can do much. These do not provide any extreme advantages anyways. You should in my opinion focus on having no false positives on the people that use normal killauras. You could do this by spawning just 2 entities behind the player, howering slightly above his head. When one is killed, spawn another also hovering in the air at the opposit direction.
Here comes the bypass. Check how long an entity has been in your chunk. If the entity is newly spawned, set your killaura to not attack it.
fix: spawn the entities underneath the player at Y: 0 teleport it to it's intended location after 10 seconds.
I'm just kinda busy right now, will try to release new version ASAP.
@Rrwery
I wish the guy would reply. Would very much like to see advancement in this plugin!
Dear Maciekmm, could i somehow speak to you?
I have a few suggestions that is easy to implement that would make this plugin much much more efficient. I also know how to completely bypass the auracheck no matter how the plugin is configured. Of course, i have a fix for that too.
@BotQ
No problem :) I suggest using it like this:
Spawn only one fake player. It should NOT be invisible. Set it at 5-6 ticks. Inspect the player two times before jailing/banning. For some reason, the player allways spawns south from the player, and as such can be hit legitimately. Beware of that, as you want to avoid punishing good players. But this also means that if the player is not looking south while scoring 1 out of 1, it's definate FF.
I find this method to be the easiest and safest to use.
Thank you Rwery :D
https://www.youtube.com/watch?v=kl_Myb4Z-lA&feature=youtu.be
Slightly modified version that generates a random username everytime.
One thing I can say...I think you need to add a variable in the command to define if players are invisible or not.
Also, You need to have a long list of names of the fake players. Otherwise clients will catch on and just not attack that name. You need to make where people can either define their own list of names...or have your plugin generate a random string of numbers for the name.
In fact...the best thing you could is is add a TON of variables to it. Something like this:
/auracheck [USER] [AMOUNT OF ENTITIES] [INVISIBLE/VISIBLE] [MOB/PLAYER ENTITY] [NAME OF ENTITY]
That's a lot I know, but that would solve all the problems...then you could also have the config setup just to do the default command...like if I just did:
/auracheck [USER]
It would run the command with the setup the person has in their config.
@Darthmineboy
You must decide what you want to do with player, you should always make the test several times for more accuracy.
Awesome, I'll definately use this!
Edit: If the person is found guilty for using killaura, it would be awesome if the server could automaticly issue a custom command. So we can for instance temporary ban the user.
Awesome plugin so far. Thank you. :)