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:
Kernelis 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.
Networking & State
Section titled “Networking & State”Intents, channels, replicas, the bus, and everything cross-server — the full page is Networking & State.
Data & Persistence
Section titled “Data & Persistence”Profiles, backups, settings, and surviving deploys — the full page is Data & Persistence.
Commerce & Trading
Section titled “Commerce & Trading”Receipts, trades, and the item economy — the full page is Commerce & Trading.
Combat & Anti-Exploit
Section titled “Combat & Anti-Exploit”Server authority with client feel — the full page is Combat & Anti-Exploit.
Movement & Abilities
Section titled “Movement & Abilities”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 |
NPCs & Pathfinding
Section titled “NPCs & Pathfinding”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 |
World & Interaction
Section titled “World & Interaction”Zones, rounds, teams, quests, and boards — the full page is World & Interaction.
VFX & Media
Section titled “VFX & Media”Physics, effects, sound, animation, and device budgets — the full page is VFX & Media.
Infrastructure & Ops
Section titled “Infrastructure & Ops”Sessions, scheduling, logging, live tuning, and observability — the full page is Infrastructure & Ops.
Testing & QA
Section titled “Testing & QA”Proving it works, then proving it survives hostility — the full page is Testing & QA.