ZSTDNET
Bandwidth bills and lag spikes are two things every server owner dreads, and they often arrive together. ZSTDNET is a Minecraft Java Edition mod that tackles both by bringing built-in Zstandard compression directly into the Minecraft connection itself. No proxy layer, no second port, no players re-typing a new address. If you have been looking for a cleaner way to shrink public traffic without breaking the vanilla login flow, this add-on deserves a serious look.
What ZSTDNET Actually Does
At its core, ZSTDNET replaces the standard compression path with Zstandard, a modern algorithm that typically outperforms vanilla zlib at comparable speeds. The clever part is how it integrates: it uses the Minecraft connection directly, so there is no separate proxy or Zstd port to manage. Players connect to the same hostname and port they always have.
The mod works with both online-mode=true and offline servers. Vanilla still handles account verification and encryption when enabled, which means you are not trading security for savings. It supports dedicated servers as well as singleplayer worlds opened to LAN, so small friend groups can benefit too.
Key Features at a Glance
- Direct integration with the Minecraft connection, no external proxy required
- Brief batching of small packets to reduce compression and framing overhead
- Configurable compression levels from 1 to 22
- Connection limits and request windows to blunt connection floods
- Real IP support through PROXY Protocol v2
- In-game HUD and locally generated HTML traffic reports
- Safe detection of KryptonFNP, leaving its compression active instead of risking a disconnect
One important boundary: ZSTDNET does not compress or manage UDP. Voice chat and other UDP-based mods keep using their own ports and settings, so nothing about your voice setup changes.
Supported Versions and Loaders
ZSTDNET for Minecraft currently ships builds for Forge 1.20.1, Fabric 1.20.1, NeoForge 1.20.1, Fabric 1.21.1, and NeoForge 1.21.1. Each Minecraft version and loader combination requires its corresponding JAR, so match client and server builds whenever possible. Mismatched setups are the most common source of confusion during setup.
If you would rather skip manual file juggling, the foxygame.net launcher bundles ZSTDNET in its add-on catalog and handles version matching for you, so the correct build lands in your mods folder without guesswork.
How to Install ZSTDNET
Installation is refreshingly simple compared to proxy-based compression setups. Here is the short version of how to install it:
- Download ZSTDNET for the exact Minecraft version and loader your server runs.
- Drop the JAR into the server's mods folder, and the matching JAR into each client's mods folder.
- Start the server once to generate config/zstdnet-server.properties.
- Leave enabled=true and tune the level option as needed.
- For a dedicated server, forward FRP, NAT, or other TCP mappings to the port in server.properties.
- For a LAN world, friends connect to the actual game port Minecraft displays.
Players then connect to the normal Minecraft address and port, exactly as before.
Configuration Essentials
The server config exposes a handful of practical options. The level setting controls server-to-client compression and accepts values from 1 to 22; higher values shrink traffic more but cost CPU. Connection limit settings such as max_conn_per_ip, max_req_per_window, request_window, and ban_duration help reduce connection floods. If you sit behind a TCP forwarder, enable trust_proxy_protocol and list your trusted_proxy_ips to preserve real client IPs.
Note that old external-proxy options like auto_takeover, listen, target, and udp_direct_ports are no longer used. The client compression level lives in the client configuration instead.
Monitoring With the HUD and Reports
Numbers make tuning much easier. Use /zstdhud on, off, or toggle to display raw traffic, wire traffic, compression ratio, and connection count right in game. The /zstdreport command accepts today, session, 24h, 7d, or 30d and generates self-contained HTML files locally, which is handy for spotting whether a level change actually paid off.
Final Thoughts
ZSTDNET solves a narrow problem well: it cuts public bandwidth usage on Minecraft Java servers without changing how players connect or compromising vanilla authentication. The MIT license makes it easy to audit and adopt, and the version coverage across Forge, Fabric, and NeoForge on 1.20.1 and 1.21.1 covers most active servers today. If your connection is saturated and a proxy feels like overkill, download ZSTDNET, set a sensible compression level, and let the HUD tell you whether it is working.