Rise 6.1.30 AntiBot module 2 files, 107 lines

Rise 6.1.30 AntiBot: Full Source Analysis

Rise 6.1.30's AntiBot is not a mode-switch module: it registers eight independent entity-classification checks as the fourth argument of BooleanValue toggles, so each check runs only while its own toggle is on.

com/alan/clients/module/impl/combat/AntiBot.java · GitHub source ↗

Published 2026-08-13 · Updated 2026-08-13

Analysis

Overview

Rise 6.1.30's AntiBot is not a mode-switch module: it registers eight independent entity-classification checks as the fourth argument of BooleanValue toggles, so each check runs only while its own toggle is on. Every check is a pure client-side observer that walks mc.theWorld.playerEntities on a motion event and writes its verdict into the shared BotManager, a HashMap keyed by the check instance that maps to ArrayLists of entity ids. TargetComponent consumes that registry when it rebuilds the KillAura target list, hard-filtering with !getBotManager().contains(entity), so the module's only observable effect on the wire is a narrowed C02 attack stream; the entity list itself is also forwarded to the Rise backend as C2SPacketFilterEntities. The checks cover display-name color codes (Funcraft), movement state, duplicate names and ids, negative entity ids, tab-list ping, visibility ticks, and a manual middle-click toggle.

Architecture

Each check is a Mode<AntiBot> instance passed as the fourth constructor argument of a BooleanValue, so flipping the toggle both stores the setting and activates the check. All eight write into Client.INSTANCE.getBotManager(): add() and remove() call TargetComponent.forceUpdate() so the aura's cached target list rebuilds on the next query, and a WorldChangeEvent listener clears the whole registry on world join. AntiBot.onDisable calls botManager.clear() outright, while each mode's own onDisable clears only the list it owns, so partially configured check sets survive mode-level toggles but never a module disable.

Bot detection heuristics

FuncraftAntiBot runs on PreUpdateEvent and treats the display name as the oracle: a name containing the section-sign color code removes the entity from the bot list, a name without one adds it, which marks every uncolored name as a bot. NPCAntiBot adds entities whose moved flag is false, the signature of a static server NPC. DuplicateNameCheck and DuplicateIDCheck stream anyMatch over playerEntities and add every participant of a duplicate display name or duplicate entity id, which can also fold in the real player when a bot copies their name. PingCheck adds tab-listed players whose NetworkPlayerInfo response time is negative, NegativeIDCheck adds players with a negative entity id, and TicksVisibleCheck adds players visible for fewer than 160 ticks, removing them again at exactly 160. MiddleClickBot is the manual override: middle-click or ctrl+attack toggles the looked-at entity in and out of the registry.

Interaction with KillAura targeting

TargetComponent.getTargets streams mc.theWorld.loadedEntityList and excludes every entity the BotManager contains before serializing the survivors into C2SPacketFilterEntities for the backend and caching the returned list for 5 seconds (forceUpdate bypasses the cache). A check that over-classifies removes a real player from every aura target list for the cache lifetime; a check that under-classifies lets a server bot into the attack stream. Because the heuristics only inspect playerEntities, mob-shaped bait never reaches them, which decides which server-side bot checks can see the module's behavior.

source AntiBot.java

AntiBot.java41 lines · JavaOriginal ↗
1
package com.alan.clients.module.impl.combat;
2
3
import com.alan.clients.Client;
4
import com.alan.clients.module.Module;
5
import com.alan.clients.module.api.Category;
6
import com.alan.clients.module.api.ModuleInfo;
7
import com.alan.clients.module.impl.combat.antibot.*;
8
import com.alan.clients.value.impl.BooleanValue;
9
10
@ModuleInfo(aliases = {"module.combat.antibot.name"}, description = "module.combat.antibot.description", category = Category.COMBAT)
11
public final class AntiBot extends Module {
12
13
    private final BooleanValue funcraftAntiBot = new BooleanValue("Funcraft Check", this, false,
14
            new FuncraftAntiBot("", this));
15
16
    private final BooleanValue ncps = new BooleanValue("NPC Detection Check", this, false,
17
            new NPCAntiBot("", this));
18
19
    private final BooleanValue duplicate = new BooleanValue("Duplicate Name Check", this, false,
20
            new DuplicateNameCheck("", this));
21
22
    private final BooleanValue ping = new BooleanValue("No Ping Check", this, false,
23
            new PingCheck("", this));
24
25
    private final BooleanValue negativeIDCheck = new BooleanValue("Negative Unique ID Check", this, false,
26
            new NegativeIDCheck("", this));
27
28
    private final BooleanValue duplicateIDCheck = new BooleanValue("Duplicate Unique ID Check", this, false,
29
            new DuplicateIDCheck("", this));
30
31
    private final BooleanValue ticksVisible = new BooleanValue("Time Visible Check", this, false,
32
            new TicksVisibleCheck("", this));
33
34
    private final BooleanValue middleClick = new BooleanValue("Middle Click Bot", this, false,
35
            new MiddleClickBot("", this));
36
37
    @Override
38
    public void onDisable() {
39
        Client.INSTANCE.getBotManager().clear();
40
    }
41
}

What this file does

The dispatcher carries eight BooleanValue fields, each constructed with a check mode as its fourth argument, which is what makes the toggles self-registering. The module itself has no event handlers: every classification lives in the mode classes, and the module's only logic is the onDisable handler that clears the entire BotManager. The entity stream those modes observe is the client-side player list maintained by the S0C spawn and S13 destroy packets, which is why the analysis lists those packets even though the module never sends anything.

source BotManager.java

BotManager.java66 lines · JavaOriginal ↗
1
package com.alan.clients.bots;
2
3
import com.alan.clients.Client;
4
import com.alan.clients.component.impl.player.TargetComponent;
5
import com.alan.clients.event.Listener;
6
import com.alan.clients.event.annotations.EventLink;
7
import com.alan.clients.event.impl.other.WorldChangeEvent;
8
import net.minecraft.entity.Entity;
9
10
import java.util.ArrayList;
11
import java.util.HashMap;
12
13
public class BotManager {
14
    private final HashMap<Object, ArrayList<Integer>> bots = new HashMap<>();
15
16
    public void init() {
17
        Client.INSTANCE.getEventBus().register(this);
18
    }
19
20
    @EventLink
21
    public final Listener<WorldChangeEvent> onWorldChange = event -> clear();
22
23
    public boolean contains(Entity target) {
24
        for (ArrayList<Integer> entities : bots.values()) {
25
            if (entities.contains(target.getEntityId())) {
26
                return true;
27
            }
28
        }
29
        return false;
30
    }
31
32
    public boolean contains(Object object, Entity target) {
33
        if (!bots.containsKey(object)) return false;
34
        return bots.get(object).contains(target.getEntityId());
35
    }
36
37
    public void add(Object object, Entity entity) {
38
        int id = entity.getEntityId();
39
        if (!bots.containsKey(object)) bots.put(object, new ArrayList<>());
40
        ArrayList<Integer> entities = bots.get(object);
41
42
        if (!entities.contains(id)) {
43
            TargetComponent.forceUpdate();
44
            entities.add(id);
45
        }
46
    }
47
48
    public void remove(Object object, Entity entity) {
49
        if (bots.containsKey(object)) {
50
            ArrayList<Integer> entities = bots.get(object);
51
            if (entities.remove((Object) entity.getEntityId())) TargetComponent.forceUpdate();
52
        }
53
    }
54
55
    public void clear() {
56
        bots.clear();
57
        TargetComponent.forceUpdate();
58
    }
59
60
    public void clear(Object object) {
61
        if (!bots.containsKey(object)) return;
62
63
        bots.get(object).clear();
64
        TargetComponent.forceUpdate();
65
    }
66
}

What this file does

The registry is a HashMap<Object, ArrayList<Integer>> where the key is the check instance that classified the entity. contains(Entity) scans every list for the id, and every add/remove calls TargetComponent.forceUpdate() so the aura target cache is invalidated immediately; a WorldChangeEvent listener clears all entries on world join. This is the file every antibot check writes and the file TargetComponent reads when it filters KillAura targets, so it is the whole contract between the module and the combat pipeline. The id-only storage means the registry survives entity removal and re-spawn with the same id.

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 AntiBotDetection (filter-state bot 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

MinecraftAntiCheat plants an invisible NPC named after the attacker one block behind him after the second hit on a real player, teleports it every tick, and arms a 10-tick BotTimer: a C02 targeting its id proves the client sees and attacks the probe, and the absence of one raises the violation "KillAura AntiBotDetection." before re-arming. This is the direct counter to the filtered state: Rise's TicksVisibleCheck classifies the freshly spawned probe as a bot for its first 160 ticks, so the aura skips it and the check flags the skip. The honest bypass surface is the disagreement between Rise heuristics: NPCAntiBot sees the probe's moved flag flip every tick and removes it again, and PingCheck cannot classify it at all because an entity absent from the tab list yields a null NetworkPlayerInfo, so a check set without TicksVisibleCheck lets the aura attack the probe and escapes this check.

anticheat BotHit (unfiltered bot 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

The companion probe spawns an invisible NPC one block in front of the player on first damage and re-teleports it two blocks forward every tick; each C02 on its id increments NPCHits, and every 20 ticks more than 2 hits raise "KillAura BotHit N hits." This covers the opposite failure mode: when Rise's checks fail to filter the probe, the aura's C02 stream at the attacker's normal range clips the decoy standing one block away and the counter accumulates. The two network-dev checks together bracket the module, so a working Rise configuration must push the probe through its filter (trip AntiBotDetection) or the aura must miss it (trip BotHit), with no middle ground.

anticheat KABot (fake-mob attack ledger)

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 bot ledger has two buffers. Buffer A scores a C02 on a tracked entity while its fake mob cluster is present (swing decays 0.05) and flags "Attacked player without attacking bot!" past 3, the filtered-state tell; buffer B scores a C02 on the per-player mob id (swing decays 0.25) and flags "Player attacked bot" past 3. The bait is not player-shaped: EntityTrackHandler spawns three invisible size-10 magma cubes around the tracked entity plus a size-5 slime on a ray 0.4 blocks ahead of the eye, with ids in the 1.5-2e9 range, so every Rise heuristic misses it by construction, because the antibot modes only iterate playerEntities. The slime rides the aim line and is re-aimed as the player turns, so aura swings aimed at the real player clip it and buffer B accumulates, while buffer A accumulates on every real-player attack the moment the cluster exists, which puts sustained pressure on any target the module is active against.

← Back to Analysis Hub