Skip to content

Cookbook

Complete, copyable examples per task. Every recipe is meant to be pasted into a Bootstrap and run — no hand-waving in the critical path. Three conventions hold everywhere:

  • Kernel is the booted server kernel unless stated otherwise.
  • Channel schemas use Packet type names ("NumberU16", "Vector3F24", …) — keep them in one shared module so both sides agree.
  • Recipes that depend on Roblox services Studio can’t fully exercise (DataStores, MemoryStores, teleports, real purchases, real latency) carry a Status note stating exactly what is spec-verified and what needs a published place. Everything without one has been verified live in Studio play sessions.

Find your task below; each link lands on the full recipe.

Intents, channels, replicas, the bus, and everything cross-server — the full page is Networking & State.

I want to… Uses
Send a player action to the server NetDriver intents + hook validators
Define channels once for both sides Registry
Push updates to clients NetDriver state channels
Replicate live state with deltas Replica
Ask the server a question NetDriver requests
Decouple systems with events Bus
Bridge bus events across the network BusBridge
Send events across servers MessageDriver
Punish network spammers Rate limiting topics
Scope replicas to zones Replica + Zones

Profiles, backups, settings, and surviving deploys — the full page is Data & Persistence.

I want to… Uses
Save player data DataDriver
Back up player data DataDriver backups
Save player settings and keybinds Settings
Share state across servers MemoryDriver
Survive game updates gracefully SoftShutdown

Receipts, trades, and the item economy — the full page is Commerce & Trading.

I want to… Uses
Sell a developer product safely Receipts
Trade items between players Transactions
Give players an inventory InventoryKit
Roll loot with pity timers LootKit
Craft items at stations CraftingKit
Sell things for coins ShopKit

Server authority with client feel — the full page is Combat & Anti-Exploit.

I want to… Uses
Catch speedhackers and teleporters Movement monitor
Validate hits with lag compensation Rewind
Teleport players without tripping the anti-cheat Movement monitor pardons
Fire projectiles with travel time Projectiles
Fight hand to hand, parries included MeleeKit
Apply buffs and debuffs Effects

Responsive input under server authority — the full page is Movement & Abilities.

I want to… Uses
Make abilities feel instant Prediction
Bind abilities to movement, not just keys MoveKit
Add keybinds players can remap InputDriver
Cast spells with cooldowns SpellKit

Brains, movement, and companions — the full page is NPCs & Pathfinding.

I want to… Uses
Give NPCs brains, aim skill, and movesets NPCKit + BehaviorTree
Find paths four different ways Pathfinding
Summon familiars and pets CompanionKit

Zones, rounds, teams, quests, and boards — the full page is World & Interaction.

I want to… Uses
React to players and NPCs entering areas Zones
Let players interact with the world InteractionKit
Run a round-based match loop RoundKit
Split players into teams TeamKit
Group players into parties PartyKit
Queue players into matches Matchmaking
Track quests from things that happen QuestKit
Show stats on the leaderboard Leaderstats
Keep global top-100 boards Leaderboards

Physics, effects, sound, animation, and device budgets — the full page is VFX & Media.

I want to… Uses
Swing hair, capes, and tails BonePhysics
Rig hair automatically and make it sway HairKit
Dissolve things into drifting voxels Dissolve
Ragdoll bodies that replicate for free Ragdoll
Run the whole soundstage AudioKit
Animate rigs and blend inverse kinematics AnimKit
Preload assets behind a loading screen Preload
Scale effects to the device DeviceBench

Sessions, scheduling, logging, live tuning, and observability — the full page is Infrastructure & Ops.

I want to… Uses
Run code when a player joins or leaves Sessions
Schedule recurring or background work Scheduler
Run long-lived behaviors you can pause or kill Processes
Run heavy CPU work in parallel ActorPool
Log with scopes and sinks Logger
Capture and deduplicate script errors ErrorWatch
Tune values live without redeploying LiveConfig
Watch kernel health in live servers Kernel diagnostics
Watch everything live with the debug panel Debug panels
Reuse instances instead of churning them Pool
Ship gameplay analytics Analytics

Proving it works, then proving it survives hostility — the full page is Testing & QA.

I want to… Uses
Write tests TestKit
Benchmark your own systems TestKit Bench
Fuzz every channel with hostile payloads Fuzz
Audit the security surface in one call Security audit
Stress-test the kernel with simulation modes Simulation