Description
BandwidthOptimizer
Save your bandwidth with big quantities.
Development Status & Notice!!
BandwidthOptimizer is still under active development, so bugs and mod compatibility issues are still possible.
The current design uses a strict whitelist-based strategy. If a compatibility problem happens, it should only result in certain mod features not being optimized correctly or temporarily not working as expected. It is not intended to damage worlds or corrupt saves.
If you encounter any issue, please open an issue on GitHub. I will do my best to investigate, fix it, and treat all reports and suggestions seriously and respectfully.
Contributions of any kind are also welcome.
Overview
BandwidthOptimizer introduces a set of advanced optimization techniques to minimize unnecessary network traffic between server and client.
In Create-heavy machinery setups, it can achieve up to a 20x reduction in bandwidth usage, while overall real-world server-wide reduction is more accurately described as up to 10x.
Key Features
- Up to 20x reduction for Create-heavy machinery, and up to 10x reduction in overall real-world scenarios
- Specialized optimization for Create and AE2 entities
- Reduces redundant synchronization of complex machinery and storage networks
- Greatly improves performance in automation-heavy setups
- Fully compatible with vanilla / official gameplay environments
How It Works
BandwidthOptimizer reduces network load by analyzing and restructuring how data is transmitted:
Deduplication eliminates repeated packets Caching prevents redundant data from being resent Fuzzy matching identifies similar packet patterns and compresses them into reusable templates These mechanisms work together to significantly lower bandwidth consumption without affecting gameplay correctness.

Example: Bandwidth usage comparison before and after optimization
Main function (algorithms)
- Packet deduplication
- Packet caching
- Packet replay
- Fuzzy template matching
Compatibility
- Minecraft: 1.20.1 (example)
- Loader: Forge / NeoForge
- Requires installation on both server and client
- Fully compatible with online-mode (official authentication)
Proxy Support
- Supports Velocity
- Supports BungeeCord / Waterfall
- Works correctly behind reverse proxies (e.g., Nginx)
- Maintains packet consistency across proxy layers
Installation
- Install the same version of BandwidthOptimizer on both server and client
- No additional configuration required
- Restart the server
Warning: Version mismatch might prevent proper optimization
Security & Stability
- Does not modify gameplay logic or server authority
- All optimizations are deterministic and reversible
- Designed to avoid desync and client/server inconsistency
- Safe to use in multiplayer environments
Use Cases
Large-scale multiplayer servers
Modded servers with heavy automation (especially Create / AE2 setups)
Long-running servers suffering from network bottlenecks
Environments with limited bandwidth or high latency
Limitations
- Requires both client and server to have the mod installed
- Best results come from heavy, repetitive PLAY traffic. In ultra-light or idle scenarios, replay wrapper overhead can be larger than the payload itself.
- In those cases, chunk cache reuse still works normally, but generic replay compression may show little benefit or slight bandwidth overhead.
- This is an intentional tradeoff in the current design. Further reducing overhead for extremely small packet flows would require a much more complex transport path while usually saving only a few KB/s.
