Roblox data
Use when implementing player data persistence with DataStore, session ownership, schemas, migrations, or save and load flows.From its SKILL.md
npx -y skills add TabooHarmony/roblox-brain --skill roblox-dataAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
2.0 KB, 258 tokens by cl100k_base, as published. Nobody here has run it
roblox data persistence
When to Load
Load when designing player saves, schema migrations, retries, shutdown handling, session ownership, or cross-server state. Use roblox-server-data for ordered leaderboards, messaging, and global world data.
Quick Reference
- Define a serializable template and a version field before storing player state.
- Use
UpdateAsyncfor read-modify-write operations and handle throttling or transient errors. - Prevent two servers from mutating the same player's profile at once, either with a well-understood wrapper or an equivalent session protocol.
- If using ProfileStore, use
StartSessionAsync,Profile.OnSessionEnd, andEndSessionas documented. Do not use itsStealoption for normal player loading. - Use
ProfileStore.Mockfor Studio tests that must not write live DataStore keys. - Save on meaningful changes and on lifecycle boundaries, but do not assume
PlayerRemovingalone is sufficient. - Use
BindToCloseto finish pending work within Roblox's shutdown window. - Store primitives, arrays, and dictionaries. Convert Instances, userdata, functions, and cyclic tables first.
Need the details? Load references/full.md for a framework-neutral persistence design.
What ships with it: 1 file
8.5 KB alongside SKILL.md
references/
- full.md8.5 KB