roblox-server-data
Use for Roblox server or cross-server data: OrderedDataStore leaderboards, MessagingService, world state, seasons, or guilds.
How do I install this agent skill?
npx skills add https://github.com/tabooharmony/roblox-brain --skill roblox-server-dataIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides technical documentation and code examples for managing Roblox server-level and cross-server data services. It includes guidance on data persistence, messaging, and memory stores, with an emphasis on privacy compliance and robust error handling.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Roblox Server & Shared Data
When to Load
Load for leaderboards, messaging, MemoryStore coordination, world state, seasons, or guilds. Player persistence: roblox-data; Open Cloud: roblox-cloud.
Quick Reference
OrderedDataStore (Leaderboards)
- Sortable DataStore. Keys are strings (
tostring(UserId)); values are integers used for sorting. GetSortedAsync(ascending, pageSize, minValue, maxValue)→ sorted pagesBatchGetAsync(keys): multi-key read, ordered stores only; missing keys are omitted- Budget: poll
GetRequestBudgetForRequestType(OrderedWrite)before bursts (per server: 30 + numPlayers x 5 writes/min) - For leaderboards only, never for player saves
- Keep the user ID a static substring in keys (
player_<UserId>) so RTBF templates match; hashed keys make erasure manual
MessagingService (Cross-Server)
SubscribeAsync/PublishAsync; no delivery or ordering guarantee, so design for idempotency.- Request/response:
{reqId}correlation, ack on the topic, timeout. No ack ≠ not executed — replay the same reqId, don't double-grant.
GlobalDataStore (Shared State)
- Persistent non-player state (guilds, seasons, counters). Use
UpdateAsync; never for player session data.
MemoryStoreService (Temporary Coordination)
- Queues and sorted maps for expiring matchmaking, leases, coordination.
- Remove a read batch only after successful, idempotent processing.
- Sorted-map paging: last item's
{key, sortKey}= next exclusive bound.
Cross-Server Patterns
- Register servers with expiring heartbeats; use MessagingService for notifications.
User Identity
- New code identifies users with
player.User(User.Id,DomainType,DomainId);UserIdstays valid. Domain IDs are per-experience, so keep cross-server keys onUserIdand never mix the two.
Pitfalls
- MessagingService: fire-and-forget, unordered, cross-server latency; not for time-critical work
- GlobalDataStore: same rate limits as player DataStores
- Never store Instances; serialize to primitives first;
SetAsyncoverwrites — useUpdateAsyncfor shared counters
Store selection and workflows: references/full.md
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/tabooharmony/roblox-brain/roblox-server-data">View roblox-server-data on skillZs</a>