0x3A S3APacketTabComplete

Server responds to C14PacketTabComplete with a list of matching commands/player names.

Clientbound (Server → Client) · PLAY · net/minecraft/network/play/server/S3APacketTabComplete.java

Published 2026-06-18 · Updated 2026-10-14

chatcommandplayer
Comprehensive 7/8

Fields

FieldTypeDescription
matchesString[]Auto-complete suggestions

Wire Encoding

FieldTypeNotes
CountVarInt
MatchesString[]Suggested completions

MCP References

MCPNetHandlerPlayClient.handleTabComplete()

Handler Interface

HNDINetHandlerPlayClient

Vanilla Source

S3APacketTabComplete.java59 lines · MCP 1.8.9Original ↗
1
package net.minecraft.network.play.server;
2
3
import java.io.IOException;
4
import net.minecraft.network.Packet;
5
import net.minecraft.network.PacketBuffer;
6
import net.minecraft.network.play.INetHandlerPlayClient;
7
8
public class S3APacketTabComplete implements Packet<INetHandlerPlayClient>
9
{
10
    private String[] matches;
11
12
    public S3APacketTabComplete()
13
    {
14
    }
15
16
    public S3APacketTabComplete(String[] matchesIn)
17
    {
18
        this.matches = matchesIn;
19
    }
20
21
    /**
22
     * Reads the raw packet data from the data stream.
23
     */
24
    public void readPacketData(PacketBuffer buf) throws IOException
25
    {
26
        this.matches = new String[buf.readVarIntFromBuffer()];
27
28
        for (int i = 0; i < this.matches.length; ++i)
29
        {
30
            this.matches[i] = buf.readStringFromBuffer(32767);
31
        }
32
    }
33
34
    /**
35
     * Writes the raw packet data to the data stream.
36
     */
37
    public void writePacketData(PacketBuffer buf) throws IOException
38
    {
39
        buf.writeVarIntToBuffer(this.matches.length);
40
41
        for (String s : this.matches)
42
        {
43
            buf.writeString(s);
44
        }
45
    }
46
47
    /**
48
     * Passes this Packet on to the NetHandler for processing.
49
     */
50
    public void processPacket(INetHandlerPlayClient handler)
51
    {
52
        handler.handleTabComplete(this);
53
    }
54
55
    public String[] func_149630_c()
56
    {
57
        return this.matches;
58
    }
59
}

Deobfuscated MCP 1.8.9 source of S3APacketTabComplete, fetched directly from Marcelektro/MavenMCP-1.8.9 (net/minecraft/network/play/server/S3APacketTabComplete.java) at build time and verified present.

Deep Dive

Role in the protocol

The server's answer to C14PacketTabComplete: a VarInt count followed by the matching command and player-name strings. The vanilla GUI feeds them into GuiChat.onAutocompleteResponse to cycle suggestions on Tab. Because Bukkit forks populate the server command registry from plugins, the response leaks plugin names as colon-prefixed commands (/plugin:subcommand), which is the entire basis of the plugin-enumeration features in the corpus.

Vanilla handling

NetHandlerPlayServer.processTabComplete asks the command dispatcher for matches and echoes them back as S3APacketTabComplete with no rate limit and no length guard beyond the request's own string cap. Client side, handleTabComplete dispatches on the main thread and, only when the current screen is a GuiChat, calls onAutocompleteResponse; any other screen means the payload is silently ignored, a detail modules must remember when they fire requests outside chat.

Why clients touch it

Five corpus features consume the response. Rise 5.99 Plugins sends C14 with '/' in Normal mode or '/a' through '/z' in Bypass mode, then parses every S3A response, splits on ':' and filters '/minecraft' to print the plugin list; Bypass defers the printout to onDisable. Sigma 4.11 PluginFinder is a command doing the same with a 20-second listen window, its own dedupe and a cancel of the event. Rise 6.1.30 and 6.2.4 Chat reimplements the chat screen and consumes S3A for autocomplete cycling: it stores the matches on receive, rotates through them on Tab, and fires C14 itself with the typed text and an optional targeted BlockPos. LiquidSense Dev's Plugins module fires a single C14 on enable and auto-disables after printing the sorted, deduped list. November Recode 2.0's PluginsCommand runs the same enumeration as a chat command and additionally regex-parses bare-word suggestions and accepts a custom completion seed.

Exploit surface

The enumeration trick is the exploit: a server that does not filter tab completion inventories its own plugins, which names the anti-cheat and its version for targeted research. Bypass modes blast up to 26 requests in one burst, which is a clean rate signal; servers that rate-limit C14 or strip plugin-prefixed commands from the registry kill both modes. The GUI dependency is the subtle constraint: S3A only reaches the vanilla autocomplete when a chat screen is open, so UI-less requesters must hold their own state.

Server-Side Handling

processTabComplete resolves matches from the server command registry and player list, then sends S3A. There is no server-side rate limit in vanilla; rate limiting lives in plugins. The response is a snapshot, one S3A per request in order, and nothing invalidates a previous response, which is why burst enumeration is reliable.

Protocol Analysis

VarInt count, then count strings, each VarInt-length-prefixed UTF-8, bounded by the 32767-byte frame limit per string. The request may carry an optional targeted BlockPos that enables coordinate-aware completions, but the response carries no position data back. Results arrive in registry order, which is why cycling modules rotate through the array instead of assuming alphabetical order.

Anti-Cheat Landscape

Anti-cheats do not flag S3A; they flag the request side. A burst of 26 C14 packets inside one tick is a clean rate signal, which makes Rise 5.99's Normal mode (one request, one parse) the safe variant and Bypass the risky one. Servers defeat enumeration server-side by filtering S3A responses or hiding plugin-prefixed commands, both invisible to the client.

implementation Implementation Cases

The tab-completion response channel and the backbone of plugin enumeration: Bukkit leaks plugin names as colon-prefixed commands. Five features across the corpus consume it: Rise 5.99 Plugins (Normal and Bypass modes), Sigma 4.11's PluginFinder command, the Rise 6.x Chat module, LiquidSense Dev's Plugins module, and November Recode 2.0's PluginsCommand.

Plugins (Rise 5.99)

Enumerate server plugins by parsing the colon-prefixed commands leaked in tab-completion responses.

Normal mode sends one C14PacketTabComplete("/") on enable and parses the S3A response immediately, splitting each command on ':' and filtering the '/minecraft' namespace; results print to chat as they arrive and the module toggles off. Bypass mode fires 26 requests ('/a' through '/z') and defers the deduped printout to onDisable. Timeouts (5s Normal, 2.5s Bypass) disable the module when the server returns nothing.

Source: Rise 5.99, dev/rise/module/impl/other/Plugins.java

Vanilla hook: PacketReceiveEvent (response), PreMotionEvent (timeout), onEnable (request send).
Normal mode is low-risk: one request, one parse. Bypass mode fires 26 C14 packets back to back, a clean rate signal for servers that rate-limit tab completion; the responses themselves are never flagged.
Variations: Sigma 4.11 implements the same idea as the PluginFinder command; Rise 6.x moved the mechanics into the Chat module's autocomplete.
Chat (Rise 6.2.4, Rise 6.1.30)

Replacement chat screen with custom autocomplete: S3A responses feed the Tab cycling and the module sends C14 requests itself.

On PacketReceiveEvent, every S3A is stored into a matches list and each match is printed to chat. On the Tab key, if matches is empty the module sends C14PacketTabComplete with the typed text and an optional targeted BlockPos (the looked-at block), then cycles the stored matches on subsequent Tab presses. The dot-prefix guard skips requests for client command input, and the matches list is nulled when the input closes.

Source: Rise 6.2.4, Client-release2/Client/src/main/java/com/alan/clients/module/impl/render/chat/Chat.java

Vanilla hook: PacketReceiveEvent (S3A storage), GuiKeyBoardEvent (Tab cycling and C14 send).
No anti-cheat surface; the module is a UI replacement. The C14 traffic it generates is identical to vanilla autocomplete traffic.
Variations: Rise 6.1.30 ships the same module under com/alan/clients/module/impl/render/chat with an identical S3A branch.
PluginFinder (command) (Sigma 4.11)

Command-driven plugin enumeration: send one C14 for '/', listen for a single S3A, print the deduped plugin list.

fire() resets a timer, registers the command object with the event system and sends C14PacketTabComplete("/"). The event handler waits for S3A, splits each command on ':', dedupes plugin names, filters 'minecraft' and 'bukkit', prints the list, unregisters and cancels the event. A 20-second timer self-unregisters if the server never answers.

Source: Sigma 4.11, info/sigmaclient/management/command/impl/PluginFinder.java

Vanilla hook: EventPacket via a self-registered command listener; C14 sent through NetUtil.
A single C14 request is indistinguishable from vanilla autocomplete, making the command the stealthiest enumeration variant in the corpus.
Variations: Rise 5.99's Plugins module covers the same ground with Normal and Bypass modes; PluginFinder is the one-shot command form.
Plugins (LiquidBounce) (LiquidSense Dev)

Enumerate server plugins from a single tab-completion response, print the deduped list and turn the module off.

onEnable sends one C14PacketTabComplete("/") through mc.getNetHandler().addToSendQueue and resets a TickTimer; onUpdate disables the module with a timeout chat message after 20 ticks if the server never answers. The PacketEvent handler catches S3A, splits every command on ':', strips the leading '/', dedupes into a list, sorts it and prints count plus names via ClientUtils.displayChatMessage, then setState(false).

Source: LiquidSense Dev, net/ccbluex/liquidbounce/features/module/modules/exploit/Plugins.java

Vanilla hook: PacketEvent (receive side) and UpdateEvent; the request goes through addToSendQueue.
One request, one parse, auto-disable: the least aggressive enumeration variant in the corpus. The single C14 is indistinguishable from vanilla autocomplete traffic.
Variations: Same role as Rise 5.99's Plugins and November Recode 2.0's PluginsCommand, but the LiquidBounce module sorts the result and self-disables instead of holding a burst mode or a long listen window.
PluginsCommand (November Recode 2.0)

Command-driven plugin enumeration: dispatch fires one C14 with a custom completion seed and a subscribed packet listener parses the S3A response.

dispatch builds the seed string ('/' plus joined args, or '/' alone), resets a 10-second timeout timer, sets listening and sends C14PacketTabComplete through mc.thePlayer.sendQueue.addToSendQueue. The EventPacket.In listener returns while listening is false, aborts with a chat message after 10 seconds, then on S3A splits colon-containing suggestions on ':', strips whitespace and the '/' and filters 'minecraft'; non-colon suggestions are matched against a [A-Z0-9]\\w+ regex and added when they do not start with '/'. Results print through Printer as a joined, deduped list.

Source: November Recode 2.0, feature/command/impl/PluginsCommand.java

Vanilla hook: EventPacket.In listener subscribed on the November event bus; the request goes through the player's sendQueue.
The custom seed can probe completion beyond the root '/', and the one-shot listen window keeps the request count at exactly one; responses are never flagged.
Variations: The command form mirrors Sigma 4.11's PluginFinder. Unlike LiquidSense Dev's module and Rise 5.99's, it accepts an argument to seed completion and parses bare-word suggestions that carry no colon.
PacketReceiveEvent on every client; the request side is a raw C14 construction, and Sigma sends it through NetUtil while Rise uses PacketUtil. LiquidSense Dev and November Recode 2.0 send through addToSendQueue; November listens via its own EventPacket.In bus event.
Rise 5.99 parses responses live and toggles off; Sigma registers and unregisters a one-shot listener; Rise 6.x keeps the matches as GUI state for Tab cycling. LiquidSense Dev auto-disables after one parse; November Recode 2.0 routes through a subscribed EventPacket.In listener with a timeout flag. None of them rely on the vanilla GuiChat path, which is exactly what the vanilla handler requires.

anticheat Anti-Cheat Checks

S3A is the tab-completion response channel, and the flagging half of the domain runs on the request side: Grim's ChatA and CrashH and BetterAnticheat's ImpossibleCompletionCheck read the inbound WrapperPlayClientTabComplete (C14) and are documented on that packet's page. Only Intave consumes the outbound response, and both consumers are suggestion filters rather than flaggers: CommandFilter strips Intave's own commands out of the completion list and VanishFilter removes hidden players' names. The rest of the corpus is plumbing and noise: FlopAC's WrappedInTabComplete and WrappedOutTabComplete wrappers, Artemis' PacketRepository entry with the GPacketPlayServerTabComplete wrapper, Negativity's TAB_COMPLETE constants, SafeguardAC's compiled-only TabComplete check, and Bukkit TabCompleter implementations in every anticheat's own command system.

CommandFilter (Intave) (intave-intave)

Keeps Intave's own commands out of tab-complete responses so players without the intave.command permission cannot discover them by pressing Tab.

Subscribes to TAB_COMPLETE_OUT (S3A) and reads the response's string array. For players without the intave.command permission it rebuilds the array, dropping every suggestion that contains /intave or /iac, and writes the filtered array back into the packet only when something was removed. The same filter's inbound method rewrites /iac and /intave chat and tab-complete requests into a forwarder command; that half runs on C14 and is documented on that page.

Detects: Leakage of Intave's commands through tab completion; it also hides the anticheat's presence from players probing with Tab.

Source: intave-intave, src/main/java/de/jpx3/intave/module/filter/CommandFilter.java

Variations: The only anticheat that rewrites outbound tab-complete suggestions. VanishFilter is the sibling filter in the same module that strips hidden player names instead of commands.
VanishFilter (Intave) (intave-intave)

Removes hidden players from tab-complete responses so vanished staff do not leak through name completion.

Subscribes to TAB_COMPLETE_OUT (S3A) at MONITOR priority, reads the response's string array, and rebuilds it without the names of online players whose UUIDs are not in the viewer's shownPlayers set. The set is maintained by the same filter's PLAYER_INFO (S38) handler, which hides and shuffles the viewer's tab list.

Detects: Vanished players exposed by tab completion; the filter is a privacy measure for staff, not a cheat flag.

Source: intave-intave, src/main/java/de/jpx3/intave/module/filter/VanishFilter.java

Variations: CommandFilter is the sibling filter that strips command suggestions; both run on TAB_COMPLETE_OUT.

Wiki Cross-Reference

Reply to C14 TabComplete: VarInt count then that many completion strings (commands and player names).

On Bukkit servers plugin commands leak as colon-prefixed entries, so one C14 '/' request enumerates server plugins.

MCP 1.8.9 S3APacketTabComplete implements Packet dispatching to INetHandlerPlayClient.handleTabComplete; wire serde is readPacketData/writePacketData via readStringFromBuffer, readVarIntFromBuffer.

1.8.9 callers: NetHandlerPlayServer.processTabComplete sends new S3APacketTabComplete (line 1225): https://github.com/Marcelektro/MavenMCP-1.8.9/blob/master/src/main/java/net/minecraft/network/NetHandlerPlayServer.java

Cross-checked against minecraft.wiki (CC BY-SA 3.0) for 1.8.9 accuracy.

Vanilla Internals

Full 1.8.9 logic-class sources that send or handle this packet, stored verbatim.