Getting Started
Installation
Get the Plugin
Open the NetRay Compiler Plugin on the Roblox Creator Store and click Get.
Open in Studio
Launch Roblox Studio, open the Plugins tab, and look for the NetRay toolbar.
Launch Interface
Click the NetRayCompiler button to open the compiler interface window.
Your First Schema
In the Scope Name field, enter a name for your network definition (e.g.,
NetRay). -- Can be left empty.Paste the following example into the editor:
rust// A simple reliable event event reliable Greet { From: Client, Data: string, }Click Compile to ReplicatedStorage.
Generated Assets
If successful, the plugin creates a folder structure in ReplicatedStorage:
ReplicatedStorage/NetRay/ServerReplicatedStorage/NetRay/ClientReplicatedStorage/NetRay/Types
Understanding Scopes
The Scope Name you enter (e.g., Combat) determines the names of the underlying RemoteEvents:
Combat_RELIABLECombat_UNRELIABLECombat_FUNCTION
Next Steps
- Learn the full IDL Syntax.
- see how to use the generated code in the Using Generated API guide.
