AeThex Game Integration Guide

This guide covers how to integrate AeThex authentication with game engines: Roblox, Unity, Unreal Engine, and Godot.

Table of Contents


Overview

AeThex provides a unified authentication system for games to:

  • Authenticate players across different platforms

  • Link player accounts to Roblox, Ethereum wallets, and other providers

  • Store player profiles and achievements

  • Enable cross-game functionality

Authentication Flow

  1. Game requests authentication via /api/games/game-auth

  2. Player ID verified or new user created

  3. Session token returned for in-game use

  4. Token can be verified via /api/games/verify-token

  5. Player data available through secure endpoints


Roblox Integration

Setup

  1. Install the AeThex Roblox plugin in Studio

  2. Configure with your API credentials

  3. Initialize authentication on game load

Code Example

Player Authentication


Unity Integration

Installation

  1. Import AeThex SDK package into your Unity project

  2. Add API credentials to project settings

C# Example

Usage


Unreal Engine Integration

C++ Example

Implementation


Godot Integration

GDScript Example


API Reference

Endpoints

POST /api/games/game-auth

Authenticate a game player and create a session.

Request:

Response:

POST /api/games/verify-token

Verify a game session token and get player data.

Request:

Response:

Error Codes

  • 400: Missing required fields

  • 401: Invalid or expired token

  • 403: Token not valid for specified game

  • 500: Server error


Support

For issues or questions, visit:

Last updated