Server-authoritative Backend System
Handles player login, session creation, and automatic account setup using PlayFab. Returns session tokens and player identity data.
Payload: AppId, OculusId, OculusNonce
Response: CustomId, PlayFabId, SessionTicket, EntityToken, EntityId, EntityType, VirtualCurrencies, BannedItems, VirtualCosmetics, OculusData
Validates client APK/API signature to verify authenticity without exposing internal secret checks.
Oculus attestation verification to confirm client authenticity. Logs results to Discord.
Retrieves a player’s cosmetic items securely using their CustomId.
Returns basic Oculus account info for the given CustomId (device type, locale, firmware).
Provides Oculus profile details: DisplayName, FriendsCount, Achievements, ProfilePicture.
Generates a secure SHA256 hash for APK anti-tamper verification. Does not expose secret key.
Receives heartbeats from clients to ensure connection health. Logs heartbeat events server-side.
Detects PC VR clients and returns an in-game status message.
This Flask backend provides:
Future: Enhanced anomaly detection, rollback mechanisms, dynamic inventory checks.
Green: Implemented & active
Red: Planned / Under development