NetKit

Library

The missing layer between s&box's raw networking API and your gameplay code. Every common networking task in one line.

calloway updated 6mo ago 1 MB engine 25
thumb_up 4 open_in_new View on sbox.game
NetKit

NetKit - Networking primitives for s&box. Every common multiplayer networking task in one line.

What's included:

NetRequest - Async request/response over RPCs. Client awaits a typed response from the host. No more fire-and-forget.
NetChannel - Typed event bus. Push events to specific clients or broadcast to all. No more JSON + FilterInclude ceremony.
NetCooldown - Shared per-player cooldowns with client-side countdown. No more per-feature TimeSince fields.
NetTransaction - Optimistic client prediction. Apply changes instantly, rollback if the host rejects.
NetState<T> - Replicated state machines. Synced enum with transition events, timing, and previous-state tracking.
NetVisibility - Declarative network visibility. Distance-based, owner-only, or custom filter. Drop the component and configure.

Why NetKit?

s&box gives you the building blocks: RPCs, Sync, NetList. But every time I made something new, I had to rebuild the same patterns on top: request/response, event broadcasting, cooldowns, rate limiting. NetKit is the missing layer. Drop it in, make your life easier.

Quick example:

Register a handler on the host:
NetRequest.Handle<BuyReq, BuyRes>((caller, req) => new BuyRes { Success = true });

Client sends and awaits:
var res = await NetRequest.Ask<BuyReq, BuyRes>(new BuyReq { ItemId = "sword" });

No boilerplate RPCs. No JSON serialization. No request ID management. Typed, async, one line.

Support: Discord - callowayisweird
Source: github.com/CallowayIsWeird/netkit
No usage statistics available
This package may be new or not widely used yet. Usage data becomes available as more users install and play with the package.
0 recorded entries
Rank Player Score Recorded
refresh
Discovering package leaderboards...
Package ID: calloway.netkit
Created: 2026-04-10 13:22 UTC
Updated: 2026-04-10 13:51 UTC
Type: library
Public: Yes
Version: 185570
files: 17
Size: 0.8 MB
Engine Version: 25
Asset Version ID: 185570
Version Created: 2026-04-10 13:51 UTC
Hash: -9124518185958483131
Manifest: Open manifest

more_horiz Additional Properties

Compiler: {"RootNamespace":"NetKit","DefineConstants":"SANDBOX","NoWarn":"1701;1702;1591;","WarningsAsErrors":"","TreatWarningsAsErrors":false,"Nullables":false,"ReleaseMode":"Release","AssemblyReferences":[],"ReplacementDirectives":{".Server.cs":"SERVER"},"IgnoreFolders":["editor","unittest"],"DistinctAssemblyReferences":[]}
new_releases Latest Update Apr 10, 2026
v0.2
185570 Apr 10, 2026
v0.2
185551 Apr 10, 2026
v0.1
info Live API Passthrough & Removal Notice

This file manifest and asset metadata are retrieved live directly from the official Facepunch s&box public API. s&box Explorer does not host, store, or redistribute any package files. All download links route directly to Facepunch CDN servers.