Install the SDK
Put the RoStructure module in ServerScriptService and require it from server code only.
Install
The SDK is one ModuleScript with a few child modules, about 70 KB in total. Get it from the Creator Store, or download the file below.
- Insert RoStructure from the Creator Store (Toolbox → Creator Store → search for RoStructure). Or download RoStructure.rbxmx and drag it into the viewport, or use Home → Import.
- Two scripts appear in Workspace:
RoStructureSetupand theRoStructuremodule. - Select both and move them to
ServerScriptService, so the module's path isServerScriptService.RoStructure. - Open
RoStructureSetupand paste your project ID and ingestion key at the top. - Open Game Settings → Security and turn on Allow HTTP Requests.
Using Rojo? roblox/sdk/default.project.json in the RoStructure repository places the same files for you.
Studio and misconfiguration
Studio test runs are a no-op unless you opt in:
RoStructure.init({ ..., enableInStudio = true })init never throws. If configuration is missing or invalid it warns once and returns an inert client, so the calls in the rest of your game are always safe.