promotional bannermobile promotional banner

Leiv's Network Lib

Leiv's Network Lib is a lightweight, ultra-performant networking library that acts as a mandatory backbone to sync server settings and data seamlessly across all of Leiv's Minecraft mods without causing lag.

🌐 Leiv's Network Lib

Leiv's Network Lib is the synchronization backbone of the Leiv Ecosystem Suite.

While my other libraries handle math and logic, this library ensures that the server and client talk to each other flawlessly. It is an ultra-performant networking framework built to synchronize feature flags, settings, and timers across the network instantly—without ever causing server lag. It ensures that mods like ItemCuller and others behave exactly as the server dictates, providing a seamless multiplayer experience.

⚠️ PLAYER NOTE: This is a required core dependency for mods within the Leiv Ecosystem. It does not add content or items on its own, but must be installed to ensure my utility mods sync correctly on multiplayer servers!

✨ Key Features

  • ⚑ Ultra-Fast Synchronization: Designed for high-speed, synchronous client-server data exchange that guarantees players instantly receive the correct mod settings when joining a server.
  • πŸ›‘οΈ Zero Server Lag: Highly optimized payload handling ensures that network traffic is kept to an absolute minimum, protecting server TPS (Ticks Per Second).
  • 🧩 Seamless Ecosystem Integration: Works hand-in-hand with Leiv's API. Network flags pushed by the server are automatically and seamlessly injected into the client's RuleEngine.
  • πŸ”„ Instant Async Mirroring: The client efficiently mirrors received data in the background, updating active states without stalling the main game thread.

πŸ› οΈ Technical Highlights (For Developers & Modpack Creators)

Leiv's Network Lib abstracts complex networking pipelines into a developer-friendly, highly robust system:

  • πŸ“‘ LeivSyncServer: A powerful server-side manager that allows developers to push essential key-value pairs, timers, and feature flags to connected clients effortlessly.
  • πŸͺž LeivSyncState: An asynchronous, highly optimized client-side state holder. It instantly merges received payload values with a minimal memory footprint.
  • βš™οΈ Auto-Flag Injection: Network flags (using the flag: prefix) are automatically intercepted and injected into the client’s local configuration engine without requiring messy manual packet handling.
  • πŸ”Œ Version-Agnostic Design: The underlying CustomPayload system is heavily abstracted to allow for rapid porting across different loaders and game versions.

πŸ”— Dependencies

This library bridges the gap between the foundational code and the logic engine:

  • Requires: Leiv's Lib & Leiv's API (Make sure both are installed!)
  • Used By: ItemCuller and all other Leiv Ecosystem end-mods that require multiplayer sync.

πŸ’¬ Community & Support

Got questions, feedback, or need to report a bug? Join the community!

  • πŸ‘₯ Discord: Join Leiv's Community
  • πŸ› Issue Tracker: Report bugs via the official Discord ticket system or our GitHub Issues page.

The Leiv's Network Lib Team

Forgeborn tier frameprofile avatar
Owner
Forgeborn tier icon
  • 8
    Followers
  • 18
    Projects
  • 109.5K
    Downloads

πŸ‘‹ Hi, I'm Leiv436! Mod & Modpack Developer creating Quality-of-Life, utility, magic systems, and curated experiences for Minecraft, Hytale, and beyond. πŸ’¬ Join our Discord for updates, bug reports, build previews, Q&A & support

More from Leiv436View all

  • ItemCuller project image

    ItemCuller

    Improves performance by not rendering dropped items outside the player's view. Lightweight, client-side optimization for smoother gameplay.

    • 14.1K
    • August 14, 2026
  • Leiv's Config Menu project image

    Leiv's Config Menu

    Required library mod that automatically creates slick in-game config menus and keybind management for all of Leiv's mods.

    • 6
    • August 14, 2026
  • Leiv's GUI Engine project image

    Leiv's GUI Engine

    Leiv's GUI Engine is a lightweight, high-performance UI framework that powers modern, seamless, and unified menus and live HUD overlays across all my mods.

    • 6
    • August 14, 2026
  • Leiv's Translation API project image

    Leiv's Translation API

    Leiv’s Translation API is a fast, background library mod that automatically translates missing language keys locally, eliminating unlocalized text across supported mods.

    • 7
    • August 14, 2026
  • ItemCuller project image

    ItemCuller

    Improves performance by not rendering dropped items outside the player's view. Lightweight, client-side optimization for smoother gameplay.

    • 14.1K
    • August 14, 2026
  • Leiv's Config Menu project image

    Leiv's Config Menu

    Required library mod that automatically creates slick in-game config menus and keybind management for all of Leiv's mods.

    • 6
    • August 14, 2026
  • Leiv's GUI Engine project image

    Leiv's GUI Engine

    Leiv's GUI Engine is a lightweight, high-performance UI framework that powers modern, seamless, and unified menus and live HUD overlays across all my mods.

    • 6
    • August 14, 2026
  • Leiv's Translation API project image

    Leiv's Translation API

    Leiv’s Translation API is a fast, background library mod that automatically translates missing language keys locally, eliminating unlocalized text across supported mods.

    • 7
    • August 14, 2026