Rise 5.99 FastEat module 1 files, 45 lines

Rise 5.99 FastEat: Full Source Analysis

Rise 5.99's FastEat speeds up eating by flooding the server with C03-family movement packets while the player is using an edible item.

dev/rise/module/impl/player/FastEat.java · GitHub source ↗

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

Packets This Module Uses

Analysis

Overview

Rise 5.99's FastEat speeds up eating by flooding the server with C03-family movement packets while the player is using an edible item. While isEating() is true and Scaffold is off, onPreMotion runs speed divided by 2 iterations per tick; the Normal mode sends a plain C03PacketPlayer plus a same-position C04PacketPlayerPosition in each iteration, and the Ghostly mode sends a C06PacketPlayerPosLook with the y coordinate nudged by 1E-9. At the default speed of 20 that is 20 packets per tick, roughly 400 per second, and at the maximum of 100 it is 100 packets per tick. The mechanism matches the client's own AutoGap pattern: servers that advance item-use duration per received packet complete the 32-tick eat window almost instantly, while on vanilla the burst is redundant because the eat timer is client-fixed. The module's GUI even hides the speed slider for a Hypixel mode that does not exist in the mode list, a dead branch that shipped with the build.

Spam loop

The packets are plain sends through PacketUtil.sendPacket, so they ride the normal outbound queue. Because the loop runs inside onPreMotion, all packets of a tick are queued together, producing the burst the rate checks below measure. The onGround argument is forwarded from the player's live state, so the burst does not spoof ground: the exploit is purely the volume and cadence of the movement traffic during the eat window.

Why packets shorten eating

The Ghostly variant adds a position component to every packet with a 1E-9 y offset, which keeps the packets distinct from pure look updates for servers that only count position-bearing moves, while the offset is far too small for any movement check to care about. The yaw and pitch are forwarded from the player, so the look stream is untouched. Whatever the server model, the flood is the fingerprint.

Dead GUI branch

onUpdateAlwaysInGui hides the speed slider whenever the mode is set to Hypixel, but the ModeSetting at line 20 only ships Normal and Ghostly. The Hypixel string appears nowhere in the mode list, so the hiding branch can never run from the GUI, and the slider is always visible. The module's settings otherwise behave normally: the speed range is 1 to 100 with a default of 20, and there are no per-mode toggles beyond the two modes.

source FastEat.java

FastEat.java45 lines · JavaOriginal ↗
1
/*
2
 Copyright Alan Wood 2021
3
 None of this code to be reused without my written permission
4
 Intellectual Rights owned by Alan Wood
5
 */
6
package dev.rise.module.impl.player;
7
8
import dev.rise.event.impl.motion.PreMotionEvent;
9
import dev.rise.module.Module;
10
import dev.rise.module.api.ModuleInfo;
11
import dev.rise.module.enums.Category;
12
import dev.rise.setting.impl.ModeSetting;
13
import dev.rise.setting.impl.NumberSetting;
14
import dev.rise.util.player.PacketUtil;
15
import net.minecraft.network.play.client.C03PacketPlayer;
16
17
@ModuleInfo(name = "FastEat", description = "Eat like Dream, who lives at 2710 Engli-.", category = Category.PLAYER)
18
public final class FastEat extends Module {
19
20
    private final ModeSetting mode = new ModeSetting("Mode", this, "Normal", "Normal", "Ghostly");
21
    private final NumberSetting speed = new NumberSetting("Speed", this, 20, 1, 100, 1);
22
23
    @Override
24
    public void onUpdateAlwaysInGui() {
25
        speed.hidden = mode.is("Hypixel");
26
    }
27
28
    @Override
29
    public void onPreMotion(final PreMotionEvent event) {
30
        if (mc.thePlayer.isEating() && !this.getModule(Scaffold.class).isEnabled()) {
31
            for (int i = 0; i < (int) (speed.getValue() / 2); i++) {
32
                switch (mode.getMode()) {
33
                    case "Normal":
34
                        PacketUtil.sendPacket(new C03PacketPlayer(mc.thePlayer.onGround));
35
                        PacketUtil.sendPacket(new C03PacketPlayer.C04PacketPlayerPosition(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ, mc.thePlayer.onGround));
36
                        break;
37
38
                    case "Ghostly":
39
                        PacketUtil.sendPacket(new C03PacketPlayer.C06PacketPlayerPosLook(mc.thePlayer.posX, mc.thePlayer.posY + 1E-9, mc.thePlayer.posZ, mc.thePlayer.rotationYaw, mc.thePlayer.rotationPitch, false));
40
                        break;
41
                }
42
            }
43
        }
44
    }
45
}

What this file does

The file is 45 lines and contains the whole module. The mode and speed settings are at lines 20-21, the dead GUI branch at lines 24-26, and the eat gate plus spam loop at lines 29-44. The gate requires isEating() and a disabled Scaffold; the loop bound truncates speed divided by 2 to an int, so odd speeds round down. Normal mode (lines 33-35) sends the parameterless C03 then the C04 position packet per iteration; Ghostly (lines 38-40) sends one C06 with the 1E-9 y offset and onGround false. Every send goes through PacketUtil.sendPacket into the normal queue, and all iterations of a tick are queued before the tick's own movement packet is built.

The module never touches C08 or C07 itself: the use that starts the eat and the release that finishes it come from the vanilla interaction path. That is why the countering section is built entirely on movement-packet rate checks: FastEat's only original traffic is the C03 flood, and the flood is what every rate ledger measures. The Scaffold guard exists because scaffold also spams movement traffic, and the two bursts would compound each other's packet counts.

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 MorePackets (C03 flood rate)

MorePackets.java127 lines · Java
1
/*
2
 * This program is free software: you can redistribute it and/or modify
3
 *   it under the terms of the GNU General Public License as published by
4
 *   the Free Software Foundation, either version 3 of the License, or
5
 *   (at your option) any later version.
6
 *
7
 *   This program is distributed in the hope that it will be useful,
8
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 *   GNU General Public License for more details.
11
 *
12
 *   You should have received a copy of the GNU General Public License
13
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
14
 */
15
package fr.neatmonster.nocheatplus.checks.moving.player;
16
17
import java.util.ArrayList;
18
import java.util.List;
19
20
import org.bukkit.Location;
21
import org.bukkit.entity.Player;
22
23
import fr.neatmonster.nocheatplus.actions.ParameterName;
24
import fr.neatmonster.nocheatplus.checks.Check;
25
import fr.neatmonster.nocheatplus.checks.CheckType;
26
import fr.neatmonster.nocheatplus.checks.ViolationData;
27
import fr.neatmonster.nocheatplus.checks.moving.MovingConfig;
28
import fr.neatmonster.nocheatplus.checks.moving.MovingData;
29
import fr.neatmonster.nocheatplus.checks.net.NetStatic;
30
import fr.neatmonster.nocheatplus.players.IPlayerData;
31
import fr.neatmonster.nocheatplus.utilities.StringUtil;
32
import fr.neatmonster.nocheatplus.utilities.location.PlayerLocation;
33
34
/**
35
 * The MorePackets check will try to identify players that send more than the usual
36
 * amount of move-packets to the server to be able to move faster than normal, without getting caught by the other
37
 * checks (flying/running).
38
 */
39
public class MorePackets extends Check {
40
41
    private final List<String> tags = new ArrayList<String>();
42
43
    /**
44
     * Instantiates a new more packets check.
45
     */
46
    public MorePackets() {
47
        super(CheckType.MOVING_MOREPACKETS);
48
    }
49
50
    /**
51
     * Check for speeding by sending too many packets. We assume 22 packets per
52
     * second to be legitimate, while 20 would be ideal. See
53
     * PlayerData.morePacketsFreq for the monitored amount of time and the
54
     * resolution. See NetStatic for the actual check code.
55
     * 
56
     * @param player
57
     * @param from
58
     * @param to
59
     * @param allowSetSetBack
60
     *            If to allow setting the set back location.
61
     * @param data
62
     * @param cc
63
     * @return
64
     */
65
    public Location check(final Player player, final PlayerLocation from, final PlayerLocation to, 
66
            final boolean allowSetSetBack, final MovingData data, final MovingConfig cc,
67
            final IPlayerData pData) {
68
        // Take time once, first:
69
        final long time = System.currentTimeMillis();
70
        final boolean debug = pData.isDebugActive(type);
71
72
        //    	if (from.isSamePos(to)) {
73
        //    		// Ignore moves with "just look" for now.
74
        //    		// TODO: Extra ActionFrequency for "just look" + use to burn, maybe also check individually.
75
        //    		return null;
76
        //    	}
77
78
        // Ensure we have a set back location.
79
        if (allowSetSetBack && !data.hasMorePacketsSetBack()){
80
            // TODO: Check if other set back is appropriate or if to set/reset on other events.
81
            if (data.hasSetBack()) {
82
                data.setMorePacketsSetBackFromSurvivalfly();
83
            }
84
            else {
85
                data.setMorePacketsSetBack(from);
86
            }
87
        }
88
89
        // Check for a violation of the set limits.
90
        tags.clear();
91
        final double violation = NetStatic.morePacketsCheck(data.morePacketsFreq, time, 1f, cc.morePacketsEPSMax, cc.morePacketsEPSIdeal, data.morePacketsBurstFreq, cc.morePacketsBurstPackets, cc.morePacketsBurstDirect, cc.morePacketsBurstEPM, tags);
92
93
        // Process violation result.
94
        if (violation > 0.0) {
95
            // Increment violation level.
96
            data.morePacketsVL = violation; // TODO: Accumulate somehow [e.g. always += 1, decrease with continuous moving without violation]?
97
98
            // Violation handling.
99
            final ViolationData vd = new ViolationData(this, player, data.morePacketsVL, violation, cc.morePacketsActions);
100
            if (debug || vd.needsParameters()) {
101
                vd.setParameter(ParameterName.PACKETS, Integer.toString(new Double(violation).intValue()));
102
                vd.setParameter(ParameterName.TAGS, StringUtil.join(tags, "+"));
103
            }
104
            if (executeActions(vd).willCancel()) {
105
                // Set to cancel the move.
106
                /*
107
                 * TODO: Harmonize with MovingUtil.getApplicableSetBackLocation
108
                 * (somehow include the desired set back type / loc / context).
109
                 */
110
                return data.hasMorePacketsSetBack() ? data.getMorePacketsSetBack() : data.getSetBack(to); // TODO
111
            }
112
        } 
113
        else if (allowSetSetBack && data.getMorePacketsSetBackAge() > cc.morePacketsSetBackAge) {
114
            // Update the set back location. (CHANGED to only update, if not a violation.)
115
            // (Might update whenever newTo == null)
116
            data.setMorePacketsSetBack(from);
117
            if (debug) {
118
                debug(player, "Update set back (morepackets) to from.");
119
            }
120
        }
121
122
        // No set back.
123
        return null;
124
125
    }
126
127
}

How it counteracts this module

NCP's MorePackets counts every processed move packet into data.morePacketsFreq with 500ms buckets, and NetStatic.morePacketsCheck scores the window against morePacketsEPSMax 22 with 20 ideal. The commented-out 'just look' exclusion in the check shows that even position-less C03 packets are counted; the TODO notes the exclusion was considered and not applied, so FastEat's plain C03 packets are full participants in the ledger. The burst path adds a second gate: more than 15 packets in a half-second bucket is a burst event, 10 is a direct burst, and the window accumulator flags when sustained throughput passes the ceiling.

At the default speed of 20, FastEat queues 20 C03-family packets per tick, roughly 400 per second against a 22 per second ceiling: the window accumulator saturates on the first eat and the half-second bucket passes the 15-packet burst threshold within a single tick. The check returns the morePacketsSetBack location on violation, which drags the player back mid-eat and cancels the move, and repeated eats keep the violation level climbing. The Ghostly mode's C06 packets count the same way, so neither mode reduces the ledger's exposure; only lowering the speed setting toward 1 (one packet per two ticks, under the ceiling) keeps the module under the rate limits, which defeats the purpose.

anticheat FlyingFrequency (C03 family PPS)

FlyingFrequency.java68 lines · Java
1
/*
2
 * This program is free software: you can redistribute it and/or modify
3
 *   it under the terms of the GNU General Public License as published by
4
 *   the Free Software Foundation, either version 3 of the License, or
5
 *   (at your option) any later version.
6
 *
7
 *   This program is distributed in the hope that it will be useful,
8
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 *   GNU General Public License for more details.
11
 *
12
 *   You should have received a copy of the GNU General Public License
13
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
14
 */
15
package fr.neatmonster.nocheatplus.checks.net;
16
17
import org.bukkit.entity.Player;
18
19
import fr.neatmonster.nocheatplus.checks.Check;
20
import fr.neatmonster.nocheatplus.checks.CheckType;
21
import fr.neatmonster.nocheatplus.checks.net.model.DataPacketFlying;
22
import fr.neatmonster.nocheatplus.players.IPlayerData;
23
import fr.neatmonster.nocheatplus.utilities.TickTask;
24
25
26
/**
27
 * Check the frequency of (pos/look/) flying packets, disregarding packet content.
28
 * 
29
 * @author asofold
30
 *
31
 */
32
public class FlyingFrequency extends Check {
33
34
    public FlyingFrequency() {
35
        super(CheckType.NET_FLYINGFREQUENCY);
36
    }
37
38
    /**
39
     * Always update data, check bypass on violation only.
40
     * 
41
     * @param player
42
     * @param packetData
43
     * @param time
44
     * @param data
45
     * @param cc
46
     * @param pData
47
     * @return
48
     */
49
    public boolean check(final Player player, final DataPacketFlying packetData, final long time, 
50
                         final NetData data, final NetConfig cc, final IPlayerData pData) {
51
        boolean cancel = false;
52
        data.flyingFrequencyAll.add(time, 1f);
53
        final float allScore = data.flyingFrequencyAll.score(1f);
54
        final float fullTime = data.flyingFrequencyAll.bucketDuration() * data.flyingFrequencyAll.numberOfBuckets();
55
        float amount = allScore / cc.flyingFrequencySeconds;
56
        // Check if packets are above frequency limit
57
        if (amount > cc.flyingFrequencyPPS) {
58
            // Scale according to current lag factor
59
            amount /= TickTask.getLag((long)fullTime);
60
            // Re-check if packets are still above limit.
61
            if (amount > cc.flyingFrequencyPPS) {
62
                double violation = amount - cc.flyingFrequencyPPS;
63
                cancel = executeActions(player, violation, 1.0 / cc.flyingFrequencySeconds, cc.flyingFrequencyActions).willCancel();
64
            }
65
        }
66
        return cancel;
67
    }
68
}

How it counteracts this module

NCP's FlyingFrequency is a content-blind ledger over the whole C03 family. Every flying packet adds 1f to data.flyingFrequencyAll, and the check computes the per-second rate over the full window and compares it to flyingFrequencyPPS, default 60 packets per second over 5 seconds, scaling by the lag factor before the final comparison (FlyingFrequency.java lines 52-65). The check's javadoc states its scope directly: frequency of pos, look and plain flying packets, disregarding packet content.

FastEat's default 400 packets per second is nearly seven times the 60 PPS ceiling, so the violation amount is around 340 per second, and the default action chain cancels once the violation level passes its thresholds. The 5-second window means the flood must be sustained to score, which the module guarantees: every tick while eating contributes, and the window only starts draining after the eat ends. Even a single eat of one second leaves a score of roughly 340 in the window. The Ghostly mode's 1E-9 y offsets are irrelevant to this check, since it never inspects packet contents; the count is the entire test.

anticheat MorePackets (per-second cap and kick)

MorePackets.java49 lines · Java
1
package me.vrekt.arc.check.moving;
2
3
import me.vrekt.arc.Arc;
4
import me.vrekt.arc.check.Check;
5
import me.vrekt.arc.check.CheckType;
6
import me.vrekt.arc.data.moving.MovingData;
7
import org.bukkit.Bukkit;
8
import org.bukkit.ChatColor;
9
import org.bukkit.entity.Player;
10
11
public class MorePackets extends Check {
12
13
    private int maxPackets, kickThreshold = 0;
14
15
    public MorePackets() {
16
        super(CheckType.MOREPACKETS);
17
18
        maxPackets = Arc.getCheckManager().getValueInt(CheckType.MOREPACKETS, "max-packets");
19
        kickThreshold = Arc.getCheckManager().getValueInt(CheckType.MOREPACKETS, "max-packets-kick");
20
    }
21
22
    public boolean check(Player player, MovingData data) {
23
24
        int flyingPackets = data.getFlyingPackets();
25
        int movingPackets = data.getPositionPackets();
26
27
        // check if we are sending more packets then allowed.
28
        if (flyingPackets > maxPackets || movingPackets > maxPackets) {
29
            checkViolation(player, "sending too many packets");
30
            if (flyingPackets > kickThreshold || movingPackets > kickThreshold) {
31
                // we are sending over the limit, kick.
32
                Bukkit.getScheduler().runTaskLater(Arc.getPlugin(), () -> {
33
                    // broadcast to staff.
34
                    Bukkit.broadcast(ChatColor.DARK_GRAY + "[" + ChatColor.RED + "Arc" + ChatColor.DARK_GRAY + "] " + ChatColor.BLUE
35
                            + player.getName() + ChatColor.WHITE + " was kicked for sending too many packets. ", "arc.violations");
36
                    // prevent async player kick.
37
                    player.kickPlayer("You are sending too many packets.");
38
                }, 5);
39
                return false;
40
            }
41
            data.setCancelMovingPackets(true);
42
            return true;
43
        }
44
45
        data.setCancelMovingPackets(false);
46
        return false;
47
    }
48
49
}

How it counteracts this module

Arc v2's MorePackets keeps two rolling per-second counters fed from the packet listener: every C03 without a position increments flyingPackets, and every position-bearing C03 (C04 or C06) increments positionPackets. Once a second has elapsed since the last update, updateAndCheck runs the check, which flags when either counter passes max-packets, default 30, and kicks outright when either passes max-packets-kick, default 70 (config.yml morepackets section, PacketListener.java lines 195-206). A violation sets cancelMovingPackets so subsequent moves in the second are rejected.

FastEat's Normal mode feeds both counters: the plain C03s raise flyingPackets and the C04s raise positionPackets, 10 of each per tick at the default speed, so both counters cross the 70 kick threshold in under a second of eating. Ghostly feeds only positionPackets, 10 per tick, which still crosses the kick threshold in about a second and the flag threshold in a third of a second. Because the counters reset once per second, the module's sustained flood cannot hide in a quiet window: every eat is a full second of exposure. The check's kick path is asynchronous but unconditional once the counter passes 70, so the module's effective lifespan on an Arc v2 server is one eat cycle.

← Back to Analysis Hub