{"data":{"slug":"discovered-65503eda1d2ccd12f8f6715fb145fd70f2d0427ccf91ff4a","title":"Roblox Teleport Reconnect And Server Handoff","summary":"Implement server-side Roblox TeleportAsync routing, reserved match servers, safe teleport payloads, failure recovery, and reconnect reconciliation.","url":"https:\/\/skillshunter.net\/skills\/discovered-65503eda1d2ccd12f8f6715fb145fd70f2d0427ccf91ff4a","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-65503eda1d2ccd12f8f6715fb145fd70f2d0427ccf91ff4a","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-65503eda1d2ccd12f8f6715fb145fd70f2d0427ccf91ff4a.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-65503eda1d2ccd12f8f6715fb145fd70f2d0427ccf91ff4a\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure server-side teleport initiation using `TeleportService:TeleportAsync()` with a `TeleportOptions` object. Generate a reserved server ID using `HttpService:GenerateGUID(false)` and reuse it for retries. Validate party size before calling the API. Handle `pcall` failures and `TeleportInitFailed` events. At the destination, treat TeleportData as untrusted and fetch authoritative match\/party assignment from a server-owned source. Reject stale, expired, or mismatched tickets. Maintain a reconnect grace window and clean up abandoned reserved-match records with lease\/version checks. Test in an authorized test experience for cross-place and cross-server behavior.","instructions":"---\nname: roblox-teleport-reconnect-and-server-handoff\ndescription: Implement server-side Roblox TeleportAsync routing, reserved match servers, safe teleport payloads, failure recovery, and reconnect reconciliation.\n---\n\n# Teleport, reconnect, and server handoff\n\n## Goal\nMove a fully validated party from lobby to match server without leaking secrets, losing the party on partial failure, retrying into a different match accidentally, or trusting client-supplied destination state.\n\n## Server-side teleport contract\n- Initiate cross-place teleports from server code with `TeleportService:TeleportAsync()` and a `TeleportOptions` object.\n- For a new reserved-server workflow, create a destination ID using `HttpService:GenerateGUID(false)` and set `TeleportOptions.ReservedServerId`. Keep and reuse the same reserved server ID for retries and intended rejoin routing; do not generate a new destination on each retry.\n- Respect the documented maximum of 50 players in one `TeleportAsync` group call. Validate the party\/match size before calling the API.\n- Do not use client-side teleporting as an authority or accept a client-selected place\/server as a match assignment.\n- Call teleports in `pcall` and handle both immediate errors and asynchronous `TeleportService.TeleportInitFailed` events.\n\n## TeleportData and destination validation\nTeleport data is visible to clients and is not encrypted. Include only an opaque, short-lived ticket\/assignment reference and non-sensitive routing hints. Never include credentials, private keys, session tokens, private party invitations, durable profile data, hidden match answers, moderation records, or payment\/receipt information.\n\nAt the destination:\n1. Read the join information using the supported server-side API.\n2. Treat TeleportData as an untrusted reference, not proof of entitlement.\n3. Fetch the authoritative match\/party assignment from MemoryStore or another server-owned source.\n4. Check destination place ID, reserved server identity, assignment ID, expiry, membership version, expected players, and a one-use\/claim state.\n5. Claim the arrival idempotently. Reject stale, replayed, expired, or mismatched ticket references and route the player to a safe lobby\/recovery path.\n\n## Failure and partial-party handling\n- Record assignment and reserved-server identity before teleport initiation.\n- Handle a `pcall` failure and `TeleportInitFailed`; a call returning without a synchronous error does not guarantee every player arrived.\n- Reconcile each player\/member independently. Keep the party assignment intact while some members are still in transit or retrying.\n- Retry only within a bounded policy and reuse the same assignment\/destination so a partial party cannot be split across different matches accidentally.\n- If retries are exhausted, return the affected party to a safe lobby and requeue using the same idempotent party ticket after server-side reconciliation.\n- Maintain a short reconnect grace window. A rejoining player must be validated against the current assignment and membership version; do not let an old ticket rejoin a newer match.\n- Clean up abandoned reserved-match records and tickets with a lease\/version check, never by deleting state solely because one teleport callback failed.\n\n## Observability and testing\nTrack aggregate counts and durations for initiation failures, per-player arrival, retries, requeue outcomes, expired tickets, and destination rejection. Avoid storing unnecessary player-level history. Log opaque assignment\/ticket IDs and version numbers for correlation.\n\nTest in an authorized test experience: successful party teleport, reserved destination reuse, one member failing while others arrive, server shutdown during handoff, destination validation rejecting an expired\/replayed ticket, reconnect within\/outside grace, and return-to-lobby behavior. Studio testing can help exercise teleport flows, but verify published-experience behavior and cross-server conditions separately.\n\n## Required deliverables\n- Server-side teleport API and reserved-server routing design.\n- Assignment-to-destination state transition diagram.\n- TeleportData allowlist and destination revalidation checklist.\n- `TeleportInitFailed` and `pcall` failure handling.\n- Partial-party retry\/requeue state machine.\n- Reconnect grace and orphan cleanup policy.\n- Published test-experience evidence for cross-place and cross-server behavior.\n\n## Non-negotiable safeguards\n- Server-authoritative `TeleportAsync`; no client authority over destination or assignment.\n- Never place sensitive data in TeleportData.\n- Revalidate each arrival against authoritative, unexpired assignment state.\n- Bounded retry, same destination, and party-aware recovery are mandatory.\n- An offline audit cannot prove a real teleport succeeded.\n","use_cases":["Implementing server-side teleportation with reserved servers in Roblox","Handling teleport failures and partial-party recovery in Roblox","Validating teleport data and ensuring secure destination routing in Roblox","Designing state transition diagrams for teleport assignment and destination reconciliation in Roblox"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/Aziz24666\/Codex_Roblox_skills\/blob\/eb2be117f63d6442c0f9b6d9d38bbdd7adf9374c\/v41\/skills\/roblox-teleport-reconnect-and-server-handoff\/SKILL.md","source_commit":"eb2be117f63d6442c0f9b6d9d38bbdd7adf9374c","license":null,"version":null,"listing_approved_at":"2026-11-30","created_at":"2026-11-29T11:08:45.000000Z","updated_at":"2026-11-30T06:52:12.000000Z","seo_title":"Roblox Teleport Reconnect And Server Handoff Implementation","seo_description":"Implement secure and reliable Roblox teleportation with server-side routing, reserved servers, and failure recovery.","seo_keywords":["Roblox teleport","server-side teleport","reserved server routing","teleport failure recovery","Roblox reconnect","teleport data validation","Roblox server handoff"]}}