{"data":{"slug":"discovered-9a43381558f7a1f31b0be07d6b48f4ef0825ba8662edea0a","title":"Roblox Server Authority And Remote Boundaries","summary":"Design server-authoritative Roblox gameplay and defensive RemoteEvent contracts with validation, ownership checks, and rate limits. This includes classifying state values, inventorying remotes, validating payloads, and ensuring server-side control over consequential state.","url":"https:\/\/skillshunter.net\/skills\/discovered-9a43381558f7a1f31b0be07d6b48f4ef0825ba8662edea0a","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-9a43381558f7a1f31b0be07d6b48f4ef0825ba8662edea0a","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-9a43381558f7a1f31b0be07d6b48f4ef0825ba8662edea0a.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-9a43381558f7a1f31b0be07d6b48f4ef0825ba8662edea0a\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before starting, inspect the existing remote inventory, producer\/consumer scripts, state ownership, gameplay rules, player lifecycle, rate-limit utilities, tests, and V18 work-item contracts. Do not invent remote names or assume that a client-side check is security enforcement.","instructions":"---\nname: roblox-server-authority-and-remote-boundaries\ndescription: Design server-authoritative Roblox gameplay and defensive RemoteEvent contracts with validation, ownership checks, and rate limits.\n---\n\n# Roblox Server Authority and Remote Boundaries\n\n## Mission\nKeep consequential gameplay state under server authority and make every client-to-server operation explicit, bounded, and reviewable.\n\n## Required discovery\nInspect the existing remote inventory, producer\/consumer scripts, state ownership, gameplay rules, player lifecycle, rate-limit utilities, tests, and V18 work-item contracts. Do not invent remote names or assume that a client-side check is security enforcement.\n\n## Procedure\n1. Classify each state value as server-owned, client presentation, or derived\/replicated. Currency, inventory, rewards, purchase status, progression, damage, ownership, and permissions must be computed or confirmed by the server.\n2. Inventory every RemoteEvent and RemoteFunction. Give each accepted operation a stable ID, payload schema, direction, owner, allowed context, and explicit side-effect classification.\n3. Validate payload type, structure, bounds, string lengths, instance ancestry, ownership, distance\/context, cooldown, and current server state. Reject unknown operations and malformed input.\n4. Apply per-player and per-operation rate limits with bounded memory and cleanup on PlayerRemoving. Add concurrency protection for operations that must not overlap.\n5. Derive prices, grants, rewards, damage, and unlock decisions from server-owned definitions. Never accept a client-supplied result as authoritative.\n6. Make every state-changing request idempotent where duplicate delivery is possible. Use stable request\/transaction identifiers and server-side records.\n7. Keep validation, authorization, mutation, and response paths observable. Return safe error categories without disclosing internal secrets or stack traces.\n8. Verify with unit\/contract tests and a real multi-client Studio scenario when behavior depends on networking. Record environment and evidence under V19 rules.\n\n## Review checklist\n- Unknown or unauthorized operations fail closed.\n- Server validates all values that affect shared state.\n- Ownership and contextual eligibility are checked on the server.\n- Payload size and computational cost are bounded.\n- Rate limits and concurrency guards have cleanup paths.\n- Duplicate requests cannot duplicate state changes.\n- Rejected requests leave state unchanged.\n- No client-controlled value bypasses server policy.\n\n## Non-goals\nDo not build client-side anti-cheat as the security boundary. Do not rely on obfuscation, hidden remotes, or UI restrictions. Do not add intrusive player surveillance or collect unnecessary personal data.\n\n## Handoff\nReturn the remote inventory, state ownership map, operation contracts, changed files, tests actually executed, Studio scenarios not run, residual risks, and next owner.\n\n## V18 shared workflow and handoff contract\n\n- Follow root AGENTS.md and v18\/docs\/SKILL_INTEROPERABILITY.md; consume the current work item and project profile when present.\n- Own only the bounded responsibility assigned. Do not silently redefine shared APIs, schemas, remotes, data ownership, or another specialist's files.\n- Return a structured handoff: scope, inputs, decisions, changed files, contracts consumed\/produced, checks actually run, evidence, risks, blockers, and next owner.\n- Update task\/evidence artifacts. Use PASS only for checks that actually ran; keep unavailable Studio\/device\/live-service checks NOT_RUN or BLOCKED.\n- Re-route when scope changes. Skills do not grant tools, permissions, MCP connections, or runtime capabilities.\n\n## V19 verification and evaluation contract\n\n- Select verification from changed paths, impacted systems, trust boundaries, and failure impact; do not run or report unrelated checks as proof.\n- Separate formatting, static analysis, unit, contract, integration, Studio, multi-client, device, performance, persistence, economy, and live-service checks.\n- A plan is not an execution result. Preserve NOT_RUN and BLOCKED states for checks that did not run.\n- A PASS requires the exact command or scenario, named environment, tool\/runtime version, build identity, expected behavior, observed behavior, and a non-empty inspectable evidence artifact.\n- Keep failures visible. Do not weaken acceptance criteria, delete negative benchmark cases, or convert a failed check into a pass.\n- Deterministic routing benchmarks measure router behavior only; they do not prove model reasoning quality, skill compliance, or game correctness.\n\n## V20 production reliability contract\n\n- Treat the server as authority for consequential state and enforce an explicit remote allowlist, server validation, ownership\/context checks, bounded payloads, and rate limits.\n- Make persistence writes retry-safe, migrations deterministic\/idempotent, and recovery decisions explicit; isolate tests from production data.\n- Fulfill fixed-price products from server-verified receipts with idempotent exact grants; preserve the V18 no-gambling policy.\n- Use staged rollouts, feature flags, a kill switch, schema compatibility, monitoring, and a data-safe rollback\/forward-recovery plan.\n- Track actionable service-health metrics and alerts; protect dashboards and redact personal data\/secrets from logs.\n- Static contracts and CI do not prove live Roblox services or production behavior; record environment-specific checks with V19 evidence rules.\n","use_cases":["Classify state values as server-owned, client presentation, or derived\/replicated","Inventory and define RemoteEvent contracts with stable IDs and payload schemas","Validate payloads for structure, bounds, and server state","Implement per-player and per-operation rate limits with cleanup on PlayerRemoving","Ensure idempotency for state-changing requests using stable identifiers","Return safe error categories without exposing internal secrets"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/Aziz24666\/Codex_Roblox_skills\/blob\/eb2be117f63d6442c0f9b6d9d38bbdd7adf9374c\/v20\/codex-skills\/roblox-server-authority-and-remote-boundaries\/SKILL.md","source_commit":"eb2be117f63d6442c0f9b6d9d38bbdd7adf9374c","license":null,"version":null,"listing_approved_at":"2026-11-30","created_at":"2026-11-29T11:00:07.000000Z","updated_at":"2026-11-30T06:51:47.000000Z","seo_title":"Roblox Server Authority and Remote Boundaries Design","seo_description":"Design secure and authoritative Roblox gameplay with server-side validation, ownership checks, and rate limits for RemoteEvents.","seo_keywords":["roblox server authority","remote event validation","gameplay state ownership","rate limit implementation","server-side security","roblox remote boundaries"]}}