Sigma 4.11 AntiBot module 2 files, 282 lines

Sigma 4.11 AntiBot: Full Source Analysis

Sigma 4.11's AntiBot is a server-specific entity filter that decides which players the client's combat modules are allowed to target.

info/sigmaclient/module/impl/combat/AntiBot.java · GitHub source ↗

Published 2026-08-12 · Updated 2026-08-12

Packets This Module Uses

Analysis

Overview

Sigma 4.11's AntiBot is a server-specific entity filter that decides which players the client's combat modules are allowed to target. It runs three independent modes behind a single MODE setting: the Hypixel mode classifies entities in the loaded world by spawn signature (invisible watchdog clones that spawn 10-13 blocks above the player, shop stands, named lobby bots) and records them into a static invalid list that every other module reads through getInvalid(); the Packet mode cancels S0CPacketSpawnPlayer at the event bus when a new player spawns within 17 blocks and more than one block above the local player; and the Mineplex mode flags any remote player whose custom name tag is empty. A fourth setting, HypixelKiller, upgrades the classification to physical removal: the entity is deleted from the client world with removeEntity while the invalid list is populated in the same pass. The module force-switches its own mode when the server IP contains hypixel or mineplex, and its onDisable re-enables itself on those servers with a protection notification so the filter cannot be left off mid-game.

Architecture

The module listens to EventPacket and EventUpdate through one @RegisterEvent handler. The EventPacket branch only acts in Packet mode, cancelling inbound S0C player-spawn packets. The EventUpdate branch handles the rest: on the pre phase it flushes the invalid list on a one-second timer whenever it is non-empty, removes sleeping players when the DEAD setting is on (it treats isPlayerSleeping as a corpse that should not be rendered), and runs the server-specific entity scans. The static invalid list is the module's public interface: getInvalid() returns it, and companion combat modules consume it so a marked bot is never selected as an aura target, never ray-traced by aim assist, and skipped by other combat features. The HypixelKiller setting is gated on a premiumAddon object; without it the module posts a warning notification every 400ms and flips the setting off, and with it the same classification pass that populates invalid also calls mc.theWorld.removeEntity on the spot.

Spawn-packet filter (Packet mode)

Packet mode runs on the incoming event stream and cancels S0CPacketSpawnPlayer outright. The decoded spawn position (the packet's fixed-point coordinates divided by 32) is compared to the local player's position in 3D; the packet is cancelled when the spawn point is within 17 blocks, sits more than one block above the player (entY > posY + 1), and does not coincide with the player's own coordinates. The height bias is the signature the mode hunts: watchdog-style bots are injected above the player, so the filter only attacks spawns that appear overhead. Because the packet is cancelled before the entity is added to the world, the bot never exists client-side at all: it is invisible to rendering, to the target list, and to any ray trace. The same predicate, byte for byte, ships in Spicy's Antibot under its Advanced mode, which marks this filter as the shared lineage point of the two modules.

Hypixel and Mineplex heuristics

The Hypixel mode is a chain of name-and-state tests over mc.theWorld.getLoadedEntityList. The primary watchdog signature is an invisible player whose formatted display name does not start with a red section symbol but does end with a reset marker, whose custom name tag equals its entity name (an unmodified name), and whose position is 10-13 blocks above the local player with a horizontal distance under 3 blocks; if that entity is also absent from the tab list (getTabPlayerList, built from GuiPlayerTabOverlay.field_175252_a.sortedCopy of the connection's player info map) it is marked invalid. The secondary rules are pure string tests: a display name with no section-symbol prefix that ends in a reset marker (bedwars shop stands), an invisible entity whose custom tag contains a doubled red marker while its name contains a red marker (in-game invisibles), a custom tag containing both a red and a reset marker (watchdog clones), a display name containing the lobby NPC prefix, and any non-empty custom tag that contains no red marker. Mineplex mode is coarser: after tick 40 it marks every remote player whose custom name tag is empty. All marks land in the shared invalid list, and the killer flag physically removes the entity from the world in the same pass.

source AntiBot.java (module)

AntiBot.java251 lines · JavaOriginal ↗
1
2
package info.sigmaclient.module.impl.combat;
3
4
import info.sigmaclient.event.Event;
5
import info.sigmaclient.event.RegisterEvent;
6
import info.sigmaclient.event.impl.EventUpdate;
7
import info.sigmaclient.event.impl.EventPacket;
8
import info.sigmaclient.management.command.Command;
9
import info.sigmaclient.management.notifications.Notifications;
10
import info.sigmaclient.module.Module;
11
import info.sigmaclient.module.data.ModuleData;
12
import info.sigmaclient.module.data.Options;
13
import info.sigmaclient.module.data.Setting;
14
import info.sigmaclient.util.Timer;
15
import info.sigmaclient.util.misc.ChatUtil;
16
import net.minecraft.client.entity.EntityPlayerSP;
17
import net.minecraft.client.gui.GuiPlayerTabOverlay;
18
import net.minecraft.client.network.NetHandlerPlayClient;
19
import net.minecraft.client.network.NetworkPlayerInfo;
20
import net.minecraft.entity.Entity;
21
import net.minecraft.entity.player.EntityPlayer;
22
import net.minecraft.network.play.server.S0CPacketSpawnPlayer;
23
import net.minecraft.util.MathHelper;
24
25
import java.util.ArrayList;
26
import java.util.List;
27
28
public class AntiBot extends Module {
29
30
    public static String MODE = "MODE";
31
    private String DEAD = "DEAD";
32
    private String KILLER = "KILLER";
33
	ArrayList<Entity>entities = new ArrayList<>();
34
    private Timer timer = new Timer();
35
    Timer lastRemoved = new Timer();
36
37
    public AntiBot(ModuleData data) {
38
        super(data);
39
        settings.put(DEAD, new Setting<>(DEAD, true, "Removes dead bodies from the game."));
40
        settings.put(MODE, new Setting<>(MODE, new Options("Mode", "Hypixel", new String[]{"Hypixel", "Packet", "Mineplex"}), "Check method for bots."));
41
		settings.put(KILLER, new Setting<>("HypixelKiller", true,"Automatically remove Watchdog bots."));
42
43
    }
44
45
    public static List<EntityPlayer> getInvalid() {
46
        return invalid;
47
    }
48
49
    private static List<EntityPlayer> invalid = new ArrayList<>();
50
    private static List<EntityPlayer> removed = new ArrayList<>();
51
52
    public void onEnable() {
53
        invalid.clear();
54
    }
55
56
    public void onDisable() {
57
        invalid.clear();
58
        if (mc.getCurrentServerData() != null && (mc.getCurrentServerData().serverIP.toLowerCase().contains("hypixel") || mc.getCurrentServerData().serverIP.toLowerCase().contains("mineplex"))) {
59
        	Notifications.getManager().post("Antibot", "Antibot was kept enabled for your protection.", Notifications.Type.INFO);
60
            toggle();
61
        }
62
    }
63
64
    @Override
65
    @RegisterEvent(events = {EventPacket.class, EventUpdate.class})
66
    public void onEvent(Event event) {
67
        String currentSetting = ((Options) settings.get(MODE).getValue()).getSelected();
68
        boolean killer = (Boolean) settings.get(KILLER).getValue();
69
        
70
        if (killer && premiumAddon == null) {
71
            if (timer.delay(400)) {
72
                Notifications.getManager().post("Premium Bypass", "Hypixel killer mode is a premium only bypass", Notifications.Type.WARNING);
73
                timer.reset();
74
            }
75
            settings.get(KILLER).setValue(false);
76
            return;
77
        }
78
79
        if (event instanceof EventPacket && currentSetting.equalsIgnoreCase("Packet")) {
80
            EventPacket ep = (EventPacket) event;
81
            if (ep.isIncoming() && ep.getPacket() instanceof S0CPacketSpawnPlayer) {
82
                S0CPacketSpawnPlayer packet = (S0CPacketSpawnPlayer) ep.getPacket();
83
                double entX = packet.func_148942_f() / 32;
84
                double entY = packet.func_148949_g() / 32;
85
                double entZ = packet.func_148946_h() / 32;
86
                double posX = mc.thePlayer.posX;
87
                double posY = mc.thePlayer.posY;
88
                double posZ = mc.thePlayer.posZ;
89
                double var7 = posX - entX;
90
                double var9 = posY - entY;
91
                double var11 = posZ - entZ;
92
                float distance = MathHelper.sqrt_double(var7 * var7 + var9 * var9 + var11 * var11);
93
                if (distance <= 17 && entY > mc.thePlayer.posY + 1 && (mc.thePlayer.posX != entX && mc.thePlayer.posY != entY && mc.thePlayer.posZ != entZ)) {
94
                    ep.setCancelled(true);
95
                }
96
            }
97
        }
98
        if (event instanceof EventUpdate) {
99
            EventUpdate em = (EventUpdate) event;
100
            setSuffix(currentSetting);
101
            if (em.isPre()) {
102
                if (mc.getIntegratedServer() == null) {
103
                    if (mc.getCurrentServerData().serverIP.toLowerCase().contains("hypixel") && !currentSetting.equals("Hypixel")) {
104
                        ((Options) settings.get(MODE).getValue()).setSelected("Hypixel");
105
                        ChatUtil.printChat(Command.chatPrefix + "AntiBot has been set to the proper mode.");
106
                    } else if (mc.getCurrentServerData().serverIP.toLowerCase().contains("mineplex") && !currentSetting.equals("Mineplex")) {
107
                        ((Options) settings.get(MODE).getValue()).setSelected("Mineplex");
108
                        ChatUtil.printChat(Command.chatPrefix + "AntiBot has been set to the proper mode.");
109
                    }
110
                }
111
                if (((Boolean) settings.get(DEAD).getValue()))
112
                    for (Object o : mc.theWorld.loadedEntityList) {
113
                        if (o instanceof EntityPlayer) {
114
                            EntityPlayer ent = (EntityPlayer) o;
115
                            assert ent != mc.thePlayer;
116
                            if (ent.isPlayerSleeping()) {
117
                                mc.theWorld.removeEntity(ent);
118
                            }
119
                        }
120
                    }
121
            }
122
            /**
123
             * created by LeakedPvP
124
             */
125
            if(currentSetting.equalsIgnoreCase("Mineplex") && mc.thePlayer.ticksExisted > 40)
126
            for(Object o : mc.theWorld.loadedEntityList){
127
    			Entity en = (Entity)o;
128
    			if(en instanceof EntityPlayer && !(en instanceof EntityPlayerSP)){
129
    				int ticks = en.ticksExisted;
130
    				double diffY = Math.abs(mc.thePlayer.posY - en.posY);
131
    				String name = en.getName();
132
    				String customname = en.getCustomNameTag();
133
    				if(customname == "" && !invalid.contains((EntityPlayer)en)){
134
    					invalid.add((EntityPlayer)en);
135
    				}
136
    			}
137
    		}
138
            if (em.isPre() && currentSetting.equalsIgnoreCase("hypixel")) {
139
                //Clears the invalid player list after a second to prevent false positives staying permanent.
140
            	if(killer){
141
            		if(!removed.isEmpty()){
142
            			if(lastRemoved.delay(1000)){
143
            				if(removed.size() == 1){
144
            					Notifications.getManager().post("Watchdog Killer", removed.size() + " bot has been removed", Notifications.Type.INFO);
145
            				}else{
146
            					Notifications.getManager().post("Watchdog Killer", removed.size() + " bots have been removed", Notifications.Type.INFO);
147
            				}
148
            				lastRemoved.reset();
149
            				removed.clear();
150
            			}
151
            		}
152
            	}
153
                if (!invalid.isEmpty() && timer.delay(1000)) {
154
                    invalid.clear();
155
                    timer.reset();
156
                }
157
                // Loop through entity list
158
                for (Object o : mc.theWorld.getLoadedEntityList()) {
159
                    if (o instanceof EntityPlayer) {
160
                        EntityPlayer ent = (EntityPlayer) o;
161
                        //Make sure it's not the local player + they are in a worrying distance. Ignore them if they're already invalid.
162
                        if (ent != mc.thePlayer && !invalid.contains(ent)) {
163
                            //Handle current mode
164
                            switch (currentSetting) {
165
                                case "Hypixel": {
166
                                	
167
                                    String formated = ent.getDisplayName().getFormattedText();
168
                                    String custom = ent.getCustomNameTag();
169
                                    String name = ent.getName();
170
                                    
171
                                    if(ent.isInvisible() && !formated.startsWith("§c") && formated.endsWith("§r") && custom.equals(name)){
172
                    					double diffX = Math.abs(ent.posX - mc.thePlayer.posX);
173
                    					double diffY = Math.abs(ent.posY - mc.thePlayer.posY);
174
                    					double diffZ = Math.abs(ent.posZ - mc.thePlayer.posZ);
175
                    					double diffH = Math.sqrt(diffX * diffX + diffZ * diffZ);
176
                    					if(diffY < 13 && diffY > 10 && diffH < 3){
177
                    						List<EntityPlayer> list = getTabPlayerList();
178
                    						if(!list.contains(ent)){
179
                    							if(killer && premiumAddon != null){
180
                                        			lastRemoved.reset();
181
                                        			removed.add(ent);
182
                                              		mc.theWorld.removeEntity(ent);
183
                                              	}
184
                                        		invalid.add(ent);
185
                    						}
186
                    						
187
                    					}
188
                    				
189
                    				}
190
                                    //SHOP BEDWARS
191
                                    if(!formated.startsWith("§") && formated.endsWith("§r")){
192
                                    	invalid.add(ent);
193
                                    }
194
                                    if(ent.isInvisible()){
195
                                    	//BOT INVISIBLES IN GAME
196
                                    	if(!custom.equalsIgnoreCase("") && custom.toLowerCase().contains("§c§c") && name.contains("§c")){
197
                                    		if(killer && premiumAddon != null){
198
                                    			lastRemoved.reset();
199
                                    			removed.add(ent);
200
                                          		mc.theWorld.removeEntity(ent);
201
                                          	}
202
                                    		invalid.add(ent);
203
                                    	}
204
                                    }
205
                                    //WATCHDOG BOT
206
                                    if(!custom.equalsIgnoreCase("") && custom.toLowerCase().contains("§c") && custom.toLowerCase().contains("§r")){
207
                                      	if(killer && premiumAddon != null){
208
                                      		lastRemoved.reset();
209
                                      		removed.add(ent);
210
                                      		mc.theWorld.removeEntity(ent);
211
                                      	}
212
                                      	invalid.add(ent);
213
                                      }
214
                                    
215
                                    //BOT LOBBY
216
                                    if(formated.contains("§8[NPC]")){
217
                                    	invalid.add(ent);
218
                                    }
219
                                    if(!formated.contains("§c") && !custom.equalsIgnoreCase("")){
220
221
                                    	invalid.add(ent);
222
                                    }
223
                                    break;
224
                                }
225
226
227
                            }
228
                        }
229
                    }
230
                }
231
232
            }
233
        }
234
    }
235
236
237
    public static List<EntityPlayer> getTabPlayerList() {
238
        final NetHandlerPlayClient var4 = mc.thePlayer.sendQueue;
239
        final List<EntityPlayer> list = new ArrayList<>();
240
        final List players = GuiPlayerTabOverlay.field_175252_a.sortedCopy(var4.func_175106_d());
241
        for (final Object o : players) {
242
            final NetworkPlayerInfo info = (NetworkPlayerInfo) o;
243
            if (info == null) {
244
                continue;
245
            }
246
            list.add(mc.theWorld.getPlayerEntityByName(info.getGameProfile().getName()));
247
        }
248
        return list;
249
    }
250
251
}

What this file does

The constructor declares four settings: DEAD (removes sleeping player bodies, on by default), MODE (the Hypixel/Packet/Mineplex options), and HypixelKiller, gated on a premiumAddon object. onEnable clears the static invalid list, and onDisable clears it again then re-toggles the module on Hypixel and Mineplex servers with a protection notification, so the filter cannot be left off on servers that spawn watchdog bots. The static invalid and removed lists are the module's shared state: other combat modules read getInvalid() to exclude marked entities from targeting, which is the entire purpose of the class.

The EventPacket branch is Packet mode: it decodes S0CPacketSpawnPlayer fixed-point coordinates (func_148942_f / 32 and friends), measures the 3D distance to the local player, and cancels the packet when the spawn is within 17 blocks, more than one block above the player, and not exactly at the player's position (line 93). Because the packet never reaches the world, the bot is never added to the loaded entity list and never rendered. The EventUpdate pre branch runs the DEAD sweep (removeEntity on sleeping players, line 117), then the mode-specific scans, with the Hypixel branch gated on em.isPre().

The Hypixel classifier (lines 165-223) applies five independent rules: the primary watchdog signature (invisible, formatted name without a red prefix but with a reset suffix, custom name equal to the entity name, 10-13 blocks above and under 3 blocks horizontally, absent from the tab list), the bedwars shop rule (no section prefix, reset suffix), the doubled-red invisible rule, the watchdog red-and-reset custom tag rule, and the lobby NPC prefix rule, plus a catch-all for non-empty custom tags without a red marker. Each hit adds the entity to invalid, and with the killer flag also removes it from the world while a notification batch is posted once per second from the removed list (lines 140-152). Mineplex mode (lines 125-137) marks every remote player with an empty custom name after tick 40, and getTabPlayerList (lines 237-249) rebuilds the server tab from the connection's player info map, sorted with GuiPlayerTabOverlay's comparator.

source Timer.java (flush clock)

Timer.java31 lines · JavaOriginal ↗
1
package info.sigmaclient.util;
2
3
public class Timer {
4
5
    private long prevMS;
6
7
    public Timer() {
8
        this.prevMS = 0L;
9
    }
10
11
    public boolean delay(float milliSec) {
12
        return (float) (getTime() - this.prevMS) >= milliSec;
13
    }
14
15
    public void reset() {
16
        this.prevMS = getTime();
17
    }
18
19
    public long getTime() {
20
        return System.nanoTime() / 1000000L;
21
    }
22
23
    public long getDifference() {
24
        return getTime() - this.prevMS;
25
    }
26
27
    public void setDifference(long difference) {
28
        this.prevMS = (getTime() - difference);
29
    }
30
31
}

What this file does

A 31-line millisecond stopwatch built on System.nanoTime() / 1000000L, so its clock is monotonic rather than wall-clock. delay(float) returns true once the elapsed time reaches the argument, reset() re-anchors prevMS to now, and getDifference/setDifference expose the raw delta for callers that need it. AntiBot owns two instances: timer drives the one-second invalid-list flush (the list is cleared every second so a temporarily invisible player is not marked permanently) and lastRemoved paces the killer-mode notification batch, which is posted once per second with the count of bots removed in that window.

The flush cadence is the module's false-positive safety valve: any entity that stops matching the signatures within a second is automatically forgotten, and the removed list is drained by the notification logic on the same cadence. Because delay() only compares against the last reset, a single reset() after each flush keeps the window aligned with the tick loop that calls it.

anticheat Countering Checks

The anticheat code that detects or counters the techniques this module uses. Full source, with the detection mechanism explained below each box.

anticheat KillAura_AntiBotDetection (skip-the-bait NPC probe)

KillAura_AntiBotDetection.java124 lines · Java
1
package me.sendpacket.anticheat.anticheat.Checks.KillAura.Modes;
2
3
import com.comphenix.protocol.PacketType;
4
import com.comphenix.protocol.events.PacketEvent;
5
import me.sendpacket.anticheat.anticheat.AntiCheat;
6
import me.sendpacket.anticheat.anticheat.Managers.CheckManager;
7
import me.sendpacket.anticheat.anticheat.Checks.SubCheck;
8
import me.sendpacket.anticheat.anticheat.Utils.AlarmUtil;
9
import me.sendpacket.anticheat.anticheat.Utils.NPC;
10
import me.sendpacket.anticheat.anticheat.Utils.PlayerUtil;
11
import org.bukkit.Bukkit;
12
import org.bukkit.entity.Player;
13
import org.bukkit.event.entity.EntityDamageByEntityEvent;
14
15
import java.util.HashMap;
16
17
public class KillAura_AntiBotDetection extends SubCheck {
18
    public KillAura_AntiBotDetection() {
19
        super("KillAura AntiBotDetection", CheckManager.KillAura_Check);
20
    }
21
22
    public static HashMap<Player, NPC> BotList = new HashMap<>();
23
    public static HashMap<Player, Integer> BotTimer = new HashMap<>();
24
    public static HashMap<Player, Boolean> BotHit = new HashMap<>();
25
    public static HashMap<Player, Boolean> DidBotCheck = new HashMap<>();
26
    public static HashMap<Player, Integer> CombatTimer = new HashMap<>();
27
    public static HashMap<Player, Integer> Hits = new HashMap<>();
28
29
    public void onTickUpdate() {
30
        for (Player p : Bukkit.getOnlinePlayers()) {
31
            if (BotList.get(p) != null) {
32
                BotList.get(p).teleport(PlayerUtil.getBlockBehindPlayer(p, -1), false);
33
            }
34
            CombatTimer.put(p, CombatTimer.get(p) != null ? CombatTimer.get(p) + 1 : 1);
35
            if (CombatTimer.get(p) > 10) {
36
                Hits.put(p, 0);
37
            }
38
            if (CombatTimer.get(p) > 40) {
39
                if (BotList.get(p) != null) {
40
                    BotList.get(p).destroy();
41
                    BotList.put(p, null);
42
                }
43
                DidBotCheck.put(p, false);
44
            }
45
46
        }
47
    }
48
49
    public void onEnityDamageByEntity(EntityDamageByEntityEvent event)
50
    {
51
        if(event.getDamager() instanceof Player && event.getEntity() instanceof Player)
52
        {
53
            Player player = (Player)event.getDamager();
54
            Player entity = (Player)event.getEntity();
55
56
            CombatTimer.put(player, 0);
57
58
            Hits.put(player, Hits.get(player) != null ? Hits.get(player) + 1 : 1);
59
60
            if (player.getAllowFlight())
61
                return;
62
63
            if(Hits.get(player) != null)
64
            {
65
                if(Hits.get(player) > 1)
66
                {
67
                    if(DidBotCheck.get(player) != null)
68
                    {
69
                        if(DidBotCheck.get(player) == false)
70
                        {
71
                            if(BotList.get(player) == null)
72
                            {
73
                                NPC new_npc = new NPC(player.getName(), player.getLocation(), AntiCheat.Plugin);
74
                                BotHit.put(player, false);
75
                                new_npc.setRecipientType(NPC.Recipient.LISTED_RECIPIENTS);
76
                                new_npc.addRecipient(player);
77
                                new_npc.teleport(PlayerUtil.getBlockBehindPlayer(player, -1), false);
78
                                new_npc.spawn(false, false);
79
                                NPC.Action new_act = new NPC.Action();
80
                                new_act.setInvisible(true);
81
                                new_npc.setAction(new_act);
82
                                BotList.put(player, new_npc);
83
                            }else{
84
                                BotTimer.put(player, BotTimer.get(player) != null ? BotTimer.get(player) + 1 : 1);
85
                                if(BotTimer.get(player) > 10) {
86
                                    if (BotHit.get(player) != null) {
87
                                        if (BotHit.get(player) == false) {
88
                                            AlarmUtil.AddViolation(player, CheckManager.KillAura_Check, CheckManager.KillAura_Check.kick_max, "KillAura AntiBotDetection.");
89
                                        }
90
                                    }
91
                                    BotTimer.put(player, 0);
92
                                    DidBotCheck.put(player, true);
93
                                    BotList.get(player).destroy();
94
                                    BotList.put(player, null);
95
                                    BotHit.put(player, false);
96
                                }
97
                            }
98
                        }
99
                    }
100
                }
101
            }
102
        }
103
    }
104
105
    public void onPacketReceiving(PacketEvent event) {
106
        if(event.getPacket().getType().equals(PacketType.Play.Client.USE_ENTITY)) {
107
            Player player = event.getPlayer();
108
109
            int targetID = event.getPacket().getIntegers().read(0);
110
111
            if (BotList.get(player) != null) {
112
                if (targetID == BotList.get(player).getEntityId()) {
113
                    if (player.getAllowFlight())
114
                        return;
115
                    DidBotCheck.put(player, true);
116
                    BotHit.put(player, true);
117
                    BotList.get(player).destroy();
118
                    BotList.put(player, null);
119
                    CombatTimer.put(player, 0);
120
                }
121
            }
122
        }
123
    }
124
}

How it counteracts this module

network-dev's AntiBotDetection probes the exact behavior an antibot-filtered aura produces: a client that silently classifies entities as bots and then refuses to attack the server-planted decoy. On the second hit of a real player (Hits > 1, with CombatTimer reset on every damage event), the check spawns an invisible NPC named after the attacker one block behind him (PlayerUtil.getBlockBehindPlayer(player, -1)) and starts a 10-tick BotTimer. The NPC is delivered as a listed recipient only to that player, so only his client ever sees it. If the player attacks the NPC (onPacketReceiving matching the USE_ENTITY target id against the NPC's entity id), BotHit is set true and the probe is destroyed. If ten ticks pass with the bot untouched, the check adds a KillAura violation and destroys the probe.

This is a direct counter to the Hypixel mode's classification chain. Sigma's primary signature requires an invisible entity with a specific name format that is absent from the tab list; network-dev's NPC is invisible, carries the attacker's own player name (custom tag equal to entity name, the same equality Sigma's primary rule demands), and never appears in any tab list because it is a synthetic entity. The module therefore classifies it as a bot, adds it to the invalid list, and the killaura filters it out of targeting, which is precisely the state the probe rewards with a violation. The 10-tick window is long enough to span the module's own one-second invalid-list flush, so even a module that re-scans every second keeps the NPC filtered for the whole probe lifetime. The probe re-arms on every second hit, so a player who attacks once, waits, and attacks again is probed repeatedly.

Tolerance and bypass surface: the check only arms after two hits on a real player within the 10-tick combat window and only for players without flight enabled (player.getAllowFlight() returns early), so a fly-mode player is never probed. A killaura that does not filter invisible entities will hit the NPC and clear the probe (BotHit = true), which is exactly the outcome the antibot module is designed to prevent. A module that attacks the NPC once to clear the probe and then filters it can pass this check, but that single attack registers as a hit on a decoy entity, which the companion BotHit check scores.

anticheat KillAura_BotHit (hit-the-bait NPC probe)

KillAura_BotHit.java86 lines · Java
1
package me.sendpacket.anticheat.anticheat.Checks.KillAura.Modes;
2
3
import com.comphenix.protocol.PacketType;
4
import com.comphenix.protocol.events.PacketEvent;
5
import me.sendpacket.anticheat.anticheat.AntiCheat;
6
import me.sendpacket.anticheat.anticheat.Managers.CheckManager;
7
import me.sendpacket.anticheat.anticheat.Checks.SubCheck;
8
import me.sendpacket.anticheat.anticheat.Utils.AlarmUtil;
9
import me.sendpacket.anticheat.anticheat.Utils.NPC;
10
import me.sendpacket.anticheat.anticheat.Utils.PlayerUtil;
11
import org.bukkit.Bukkit;
12
import org.bukkit.entity.Player;
13
import org.bukkit.event.entity.EntityDamageByEntityEvent;
14
15
import java.util.HashMap;
16
import java.util.Random;
17
18
public class KillAura_BotHit  extends SubCheck {
19
    public KillAura_BotHit() {
20
        super("KillAura BotHit", CheckManager.KillAura_Check);
21
    }
22
23
    public static HashMap<Player, NPC> PlayerNPC = new HashMap<>();
24
    public static HashMap<Player, Integer> NPCHits = new HashMap<>();
25
    public static HashMap<Player, Integer> NPCTimer = new HashMap<>();
26
    static Random rnd = new Random();
27
28
    public void onTickUpdate() {
29
        for (Player p : Bukkit.getOnlinePlayers()) {
30
            if (PlayerNPC.get(p) != null) {
31
                PlayerNPC.get(p).teleport(PlayerUtil.getLocationFront(p, -2), false);
32
            }
33
            NPCTimer.put(p, NPCTimer.get(p) != null ? NPCTimer.get(p) + 1 : 1);
34
            if (NPCTimer.get(p) > 20) {
35
                if (NPCHits.get(p) != null) {
36
                    if (NPCHits.get(p) > 2) {
37
                        AlarmUtil.AddViolation(p, CheckManager.KillAura_Check, "KillAura BotHit " + NPCHits.get(p) + " hits.");
38
                    }
39
                }
40
                NPCHits.put(p, 0);
41
                NPCTimer.put(p, 0);
42
            }
43
        }
44
    }
45
46
    public void onEnityDamageByEntity(EntityDamageByEntityEvent event)
47
    {
48
        if (event.getDamager() instanceof Player) {
49
            Player player = (Player) event.getDamager();
50
51
            if(PlayerNPC.get(player) == null)
52
            {
53
                NPC new_npc = new NPC(player.getName(), PlayerUtil.getLocationFront(player, 1), AntiCheat.Plugin);
54
55
                new_npc.setRecipientType(NPC.Recipient.LISTED_RECIPIENTS);
56
                new_npc.addRecipient(player);
57
                new_npc.spawn(false,false);
58
59
                NPC.Action new_act = new NPC.Action();
60
                new_act.setInvisible(true);
61
                new_npc.setAction(new_act);
62
63
                PlayerNPC.put(player, new_npc);
64
            }
65
        }
66
    }
67
68
    public void onPacketReceiving(PacketEvent event)
69
    {
70
        if(event.getPacket().getType().equals(PacketType.Play.Client.USE_ENTITY))
71
        {
72
            Player player = event.getPlayer();
73
74
            int targetID = event.getPacket().getIntegers().read(0);
75
            if(PlayerNPC.get(player) != null)
76
            {
77
                if(targetID == PlayerNPC.get(player).getEntityId())
78
                {
79
                    if (player.getAllowFlight())
80
                        return;
81
                    NPCHits.put(player, NPCHits.get(player) != null ? NPCHits.get(player) + 1 : 1);
82
                }
83
            }
84
        }
85
    }
86
}

How it counteracts this module

BotHit is the complementary probe: it watches for the client that attacks the decoy at all. On the first damage event from a player it spawns an invisible NPC one block in front of him (PlayerUtil.getLocationFront(player, 1)) and re-teleports it to two blocks in front on every tick (getLocationFront(player, -2)). Each USE_ENTITY packet targeting the NPC's entity id increments NPCHits. Every 20 ticks the counter is evaluated: more than 2 hits on the bot yields a KillAura violation carrying the hit count, then the counter resets. The probe is spawned once and never removed, so it follows the player for his whole session.

Where AntiBotDetection punishes filtering, BotHit punishes the opposite failure: a killaura whose targeting does not consult the antibot module's invalid list. Sigma's killer mode physically removes marked entities from the world, but an aura that runs its own distance sort against the loaded entity list will happily attack the invisible NPC standing one block in front of the player, because the NPC is a valid in-range entity. Three hits in 20 ticks is a very low bar for an aura attacking at 5-20 APS, so any configuration where the antibot filter does not reach the aura's target selection trips it immediately.

The two probes together bracket the design space: a killaura that filters the decoy fails AntiBotDetection, one that does not fails BotHit. The Sigma module only survives by guaranteeing its invalid list feeds the aura's target filter while the aura simultaneously avoids attacking the decoy, a combination that requires the two features to share state, which is exactly the integration the module's static getInvalid() list exists to provide but does not force.

anticheat KABot (fake-mob bait, Kauri)

KABot.java50 lines · Java
1
package dev.brighten.ac.check.impl.combat.killaura;
2
3
import com.github.retrooper.packetevents.wrapper.play.client.WrapperPlayClientAnimation;
4
import com.github.retrooper.packetevents.wrapper.play.client.WrapperPlayClientInteractEntity;
5
import dev.brighten.ac.api.check.CheckType;
6
import dev.brighten.ac.check.Check;
7
import dev.brighten.ac.check.CheckData;
8
import dev.brighten.ac.check.WAction;
9
import dev.brighten.ac.data.APlayer;
10
import dev.brighten.ac.utils.annotation.Bind;
11
import lombok.val;
12
13
@CheckData(name = "KillAura (Bot)", checkId = "kabot", type = CheckType.KILLAURA)
14
public class KABot extends Check {
15
16
    public KABot(APlayer player) {
17
        super(player);
18
    }
19
20
    private float buffer, buffer2;
21
22
    @Bind
23
    WAction<WrapperPlayClientAnimation> arm = packet -> {
24
        // Lower both buffers on each arm swing to prevent false positives for legitimate players.
25
        // In vanilla 1.8.8, every attack is accompanied by a swing animation, so a legit player's
26
        // attack count and swing count should be roughly equal (net-zero buffer change).
27
        if(buffer > 0) buffer-= 0.05f;
28
        if(buffer2 > 0) buffer2-= 0.25f;
29
    };
30
31
    @Bind
32
    WAction<WrapperPlayClientInteractEntity> packet = packet -> {
33
        val optional = player.getWorldTracker().getCurrentWorld().get().getTrackedEntity(packet.getEntityId());
34
35
        if(optional.isPresent()
36
                && (player.getEntityTrackHandler().clientHasEntity.get()
37
                || !optional.get().getFakeMobs().isEmpty()))  {
38
            if(++buffer > 3) {
39
                flag("Attacked player without attacking bot!");
40
            }
41
        } else buffer = 0;
42
43
        if(player.getMob().getEntityId() == packet.getEntityId()) {
44
            if(++buffer2 > 3) {
45
                buffer = 2;
46
                flag("Player attacked bot");
47
            }
48
        } else buffer2 = 0;
49
    };
50
}

How it counteracts this module

Kauri's KABot check is the server-side mirror of the client-side filter: instead of removing bots, the anticheat plants fake entities and watches what the client attacks. The world tracker mirrors every spawned entity into a TrackedEntity, and around tracked entities it attaches invisible fake mobs (three size-10 magma cubes at -1.25/0/+1.25 offsets plus a size-5 slime re-teleported along the player's aim ray), with the client's acknowledgement captured as clientHasEntity, an AtomicBoolean set on a keepalive action after the fake mobs spawn.

KABot's first branch (buffer) fires when the client attacks a tracked entity that carries fake mobs (or while clientHasEntity is set) more than 3 net times without ever attacking one of the fake mobs: each C02 on the real entity adds 1 to the buffer and each C0A arm swing subtracts only 0.05, so a filter that skips the fake mobs accumulates the buffer regardless of normal swing behavior, and the flag text is 'Attacked player without attacking bot!'. The second branch (buffer2) watches the per-player mob bait: APlayer carries a FakeMob field that is respawned on world change and re-teleported to follow the player's aim line; attacking that specific entity id more than 3 net times flags 'Player attacked bot' and preloads the first buffer to 2. Attacking a fake mob id clears the first buffer, so the check rewards exactly the behavior the antibot module suppresses.

For the Sigma module this is the hard counter: the Hypixel classifier marks invisible, untabbed, name-anomalous entities as bots, and Kauri's fake mobs match that profile (invisible metadata flag 0x20, no custom name, never in any tab list, entity ids in the 1.5-2 billion range). A client running the filter classifies them, excludes them from aura targeting, and keeps attacking the real entity, feeding buffer toward the 'without attacking bot' flag. The opposite misconfiguration, the filter not reaching the aura, attacks the slime bait glued to the player's own aim line and trips buffer2. Both outcomes are flagged, so the antibot module must push every fake entity through its filter and every real entity into the aura's list with perfect consistency across a server that actively reshuffles the bait.

← Back to Analysis Hub