Rojo, Wally & Git
For teams that keep their game in files instead of only in Studio. Sklop packages are plain Luau modules, so they drop into a Rojo project without changes.
Folder mapping
Each Sklop package ships with the same top-level folders. Map them like this:
| Folder in the .rbxm | Path in your repo | Runs on |
|---|---|---|
| Server | src/ServerScriptService/Sklop | Server |
| Shared | src/ReplicatedStorage/Sklop | Both |
| Client | src/StarterPlayer/StarterPlayerScripts/Sklop | Each player |
| Config | src/ReplicatedStorage/SklopConfig | Both |
To get files out of an .rbxm, open it in Studio and sync it out with the Rojo plugin, or use a converter such as rbxlx-to-rojo. Keep Config outside the vendor folder so updates never overwrite it.
Project file
{
"name": "my-game",
"tree": {
"$className": "DataModel",
"ServerScriptService": {
"Sklop": { "$path": "vendor/sklop/Server" }
},
"ReplicatedStorage": {
"Sklop": { "$path": "vendor/sklop/Shared" },
"SklopConfig": { "$path": "src/ReplicatedStorage/SklopConfig" }
},
"StarterPlayer": {
"StarterPlayerScripts": {
"Sklop": { "$path": "vendor/sklop/Client" }
}
}
}
}Wally
Sklop packages aren't published to the public Wally index, because that would make licensed code public. Keep them as a vendored folder like the one above, or in a private registry your team controls. If your other dependencies come from Wally, Sklop modules can require them normally.
Git
Keep keys and secrets out of commits entirely:
# local env files and keys .env .env.* *.secret.luau # Rojo / editor output *.rbxl *.rbxlx sourcemap.json
For API keys used by server scripts, prefer Roblox's HttpService:GetSecret() with the secret stored in your experience settings on the Creator Dashboard. Nothing sensitive is then ever in your code or repo.
Updating a vendored package
- Create a branch.
- Replace the contents of
vendor/sklopwith the new version. Don't touchSklopConfig. - Read the changelog for new Config keys and add them to your config.
- Test in a staging place, then merge.
Sklop is an independent developer studio and is not affiliated with, endorsed, or sponsored by Roblox Corporation. Roblox is a registered trademark of Roblox Corporation.