Description
DDSS2 NetGuard is a mod that was developed specifically for my modpack DDSS2 on Minecraft version 1.16.5. Since the modpack has over 330 mods and some of them cause a significant increase in network traffic in this version, this mod throttles unimportant traffic to maintain a healthy bandwidth, which also fixes a known packet leak that causes an out of memory error in a multiplayer enviroment during longer play sessions.
Changes in NetGuard Version 1.3
A server-side packet throttle has been added for Forge SimpleChannel traffic to reduce excessive mod sync spam. This significantly reduces network throughput and client allocation pressure, thereby improving long-session stability (fewer client Out of Memory (OOM) crashes) and reducing lag spikes caused by high-frequency 'state sync' packets.
It includes per-player protection, with rate limits applied per recipient where possible to prevent one player from suppressing updates for others, as well as a server-side clean-up that clears per-player throttle state on logout/login. This prevents a memory-leak on long-running servers from accumulating stale player entries over time.
Feel free to use and test it in your large modpack =)


