Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Elitriare/ByteNet-Max/llms.txt

Use this file to discover all available pages before exploring further.

ByteNet Max is a Roblox Lua networking library that builds on @ffrostfall’s ByteNet by adding first-class support for queries (the equivalent of RemoteFunctions) alongside the existing packet (RemoteEvent) system. This page explains what ByteNet Max is, who it is built for, and what sets it apart from both vanilla ByteNet and other networking libraries.

What is ByteNet Max?

ByteNet Max serializes all network data into compact binary buffers before transmission and deserializes them on the other end, feeding typed values back into your Luau code. The result is significantly lower memory usage and faster send/receive speeds compared to libraries that transmit raw Luau values. The library organizes packets and queries into namespaces — named groups defined in a single ModuleScript. This keeps your networking layer structured and easy to navigate as your project grows.

Key differentiators

  • Buffer-based serialization — Data is packed into the smallest possible binary representation using explicit types (uint8, float32, struct, etc.) or the flexible auto type for rapid prototyping.
  • Typed queriesdefineQuery gives you an optimized client-to-server request/response cycle with typed request and response shapes, without writing any RemoteFunction boilerplate.
  • Namespace organizationdefineNamespace groups related packets and queries under a single named module, reducing global clutter and making dependencies explicit.
  • Listener control.listen(), .listenOnce(), and .disconnectAll() give you fine-grained control over callback lifecycles for both packets and queries.

Who is it for?

ByteNet Max is aimed at Roblox developers who want the performance benefits of buffer serialization and the convenience of a simple, typed networking API. It suits both solo developers building their first optimized game and experienced teams who need structured, maintainable networking across a large codebase.

Availability

ByteNet Max is available through two channels:
  • Wally — the Roblox package manager, for projects using a toolchain like Rojo.
  • Roblox Creator Store — for direct insertion into any Roblox place.
ByteNet Max must be required on both the server and the client. Requiring it on only one side will leave the opposite side’s dependencies uninitialized, causing networking to fail silently.

Where to go next

Installation

Add ByteNet Max to your project via Wally or the Roblox Creator Store.

Quickstart

Build a working packet and query in under five minutes.

Namespaces

Learn how to organize packets and queries with defineNamespace.

Packets

Explore the full packet API, reliability modes, and send targets.

Build docs developers (and LLMs) love