Language

Krypton

Krypton

Modrinth

A mod to optimize the Minecraft networking stack

38.9M downloads 5.7k followers updated 1mo ago
latest v0.3.1 Modrinth
Fabric 1.16.2 – 26.2 OptimizationUtility

Warning

Krypton is a work-in-progress. I do not provide any guarantees about its stability, compatibility with other mods, or support for every possible setup out there. Support for this mod is provided on a "best-effort" basis. This is not my day job, it is a hobby growing out of related work I've done.

Did this mod make your server playable? Chip in a bit of money so I can continue developing it.

What's Krypton?

Krypton (from Ancient Greek kryptos, "the hidden one") is a Fabric mod that attempts to optimize the Minecraft networking stack. It derives from work
done in the Velocity and Tuinity
projects.

Krypton contains several optimizations, including:

  • Highly optimized Netty handlers derived from the Velocity proxy, which I am the developer of. These handlers have seen real-world usage and extensive profiling, and strategically deploy native code where it makes the most sense.
  • Flush consolidation to lower server CPU usage (and reducing the impact from hardware security vulnerabilities which exploit speculative execution) and lower server tick times.
  • Micro-optimizations to reduce memory usage and improve packet serialization speeds.

Compatibility

Krypton should work anywhere where a Minecraft can run — naturally, however, it is tuned for Linux.

I try to ensure that Krypton will work with the Fabric API, Lithium, and Sodium. Support beyond these mods is provided on a best effort basis.

Versions

Release
0.3.1
fabric · 26.2 · 1mo ago
* Update for Minecraft 26.2
277.1k
Release
0.3.0
fabric · 26.1, 26.1.1, 26.1.2 · 3mo ago
* Update to Minecraft 26.1 Sorry for the delay. My real life job leaves little time for Minecraft.
753.2k
Release
0.2.10
fabric · 1.21.9, 1.21.10, 1.21.11 · 10mo ago
* Update for Minecraft 1.21.9
4.4M
Release
0.2.9
fabric · 1.21.5, 1.21.6, 1.21.7 · 16mo ago
* Update to Minecraft 1.21.5 * Resync network handlers from upstream
2.8M
Release
0.2.8
fabric · 1.21, 1.21.1, 1.21.2 · 26mo ago
* Update to 1.21 (@BenCat07)
15.0M
Release
0.2.7
fabric · 1.20.5, 1.20.6 · 27mo ago
* Update for Minecraft 1.20.5/1.20.6
243.0k
Release
0.2.6
fabric · 1.20.2, 1.20.3, 1.20.4 · 31mo ago
* Fixes a memory leak.
1.0M
Release
0.2.5
fabric · 1.20.2, 1.20.3, 1.20.4 · 32mo ago
* Fixes an incompatibility with Fabric API 0.9.1 and above. See also #111 * Resync compress handler with Velocity
4.8k
Release
0.2.4
fabric · 1.20.2, 1.20.3, 1.20.4 · 35mo ago
* Updated to Minecraft 1.20.2 * Add `krypton.permit-oversized-packets` system property to permit oversized packets. Defaults to `false` for security reasons.
172.8k
Release
0.2.3
fabric · 1.20, 1.20.1 · 38mo ago
* Updated to Minecraft 1.20 * Removed a mixin that is now implemented in the base game * Improved protocol conformance - Krypton now handles servers…
11.7M
Release
0.2.2
fabric · 1.19.4 · 41mo ago
Thanks to DrexHD for the update to Minecraft 1.19.4! * Update to Minecraft 1.19.4 * Updated `velocity-native`
374.6k
Release
0.2.1
fabric · 1.19.1, 1.19.2, 1.19.3 · 49mo ago
* Update to Minecraft 1.19.1 (contributed by @wafflecoffee) * Fixed Multiconnect mod compatibility
1.2M

Comments 0

No comments yet. Be the first to share your thoughts.

FAQ

How do I install Krypton?

Download the file for your Minecraft version and loader from this page, then drop the .jar into your mods (or plugins) folder and launch the game.

Is Krypton free?

Krypton is free to download on Modgrid — we link straight to the official source, no paywall or bundled installer.

Which Minecraft versions does Krypton support?

Works with Fabric. Supports versions 1.16.2–26.2. See the download section on this page for the full list of supported versions and loaders.