anti-packet-kick module

anti-packet-kick: Minecraft 26.3 cheat module, full source for every implementation (1 client: Meteor Client).

1 implementationMisc

Clients with this module

Full module source: 1 implementation

Every implementation below is the complete module file, verbatim. Expand a client to read its code.

Meteor ClientMiscsrc/main/java/meteordevelopment/meteorclient/systems/modules/misc/AntiPacketKick.javaJava · 40 lines · 1.4 KB

Attempts to prevent you from being disconnected by large packets.

Settingscatch-exceptionslog-exceptions
AntiPacketKick.javaJava · Minecraft 26.2 · 40 lines · 1.4 KB · complete file, verbatimOriginal ↗
1
/*
2
 * This file is part of the Meteor Client distribution (https://github.com/MeteorDevelopment/meteor-client).
3
 * Copyright (c) Meteor Development.
4
 */
5
6
package meteordevelopment.meteorclient.systems.modules.misc;
7
8
import meteordevelopment.meteorclient.settings.BoolSetting;
9
import meteordevelopment.meteorclient.settings.Setting;
10
import meteordevelopment.meteorclient.settings.SettingGroup;
11
import meteordevelopment.meteorclient.systems.modules.Categories;
12
import meteordevelopment.meteorclient.systems.modules.Module;
13
14
public class AntiPacketKick extends Module {
15
    private final SettingGroup sgGeneral = settings.getDefaultGroup();
16
17
    public final Setting<Boolean> catchExceptions = sgGeneral.add(new BoolSetting.Builder()
18
        .name("catch-exceptions")
19
        .description("Drops corrupted packets.")
20
        .defaultValue(false)
21
        .build()
22
    );
23
24
    public final Setting<Boolean> logExceptions = sgGeneral.add(new BoolSetting.Builder()
25
        .name("log-exceptions")
26
        .description("Logs caught exceptions.")
27
        .defaultValue(true)
28
        .visible(catchExceptions::get)
29
        .build()
30
    );
31
32
    public AntiPacketKick() {
33
        super(Categories.Misc, "anti-packet-kick", "Attempts to prevent you from being disconnected by large packets.");
34
    }
35
36
    public boolean catchExceptions() {
37
        return isActive() && catchExceptions.get();
38
    }
39
}
40