Skip to content

Installation

Install ByteNet Max from Wally or the Roblox Creator Store. Wally is the recommended option for projects already managed with Rojo.

Wally

Add ByteNet Max to wally.toml:

[dependencies]
ByteNetMax = "elitriare/bytenet-max@0.2.7"

Install the package:

wally install

Then require the installed ModuleScript. The exact path depends on your Rojo project:

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ByteNetMax = require(ReplicatedStorage.Packages.ByteNetMax)

Check the Wally package for the latest published version before pinning it.

Roblox Creator Store

Get ByteNet Max from the Creator Store, insert it into your experience, and move the module to a shared location such as ReplicatedStorage.

ReplicatedStorage
├── ByteNetMax
└── Network

Project layout

A small project normally needs three scripts:

ReplicatedStorage
├── ByteNetMax
└── Network.luau             # Shared definitions
ServerScriptService
└── Network.server.luau      # Server listeners and sends
StarterPlayer
└── StarterPlayerScripts
    └── Network.client.luau  # Client listeners and sends

Both runtime sides must require Network.luau. The server should initialize its networking code during startup so namespace metadata exists before the client reads it.

Installation is not complete until both sides initialize

Requiring only the server code or only the client code is not enough. ByteNet Max needs the same shared namespace module on both sides to establish matching network mappings. Follow Required initialization before sending anything.

Next step

Set up both runtime sides