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
Game requests authentication via
/api/games/game-authPlayer ID verified or new user created
Session token returned for in-game use
Token can be verified via
/api/games/verify-tokenPlayer data available through secure endpoints
Roblox Integration
Setup
Install the AeThex Roblox plugin in Studio
Configure with your API credentials
Initialize authentication on game load
Code Example
Player Authentication
Unity Integration
Installation
Import AeThex SDK package into your Unity project
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
POST /api/games/game-authAuthenticate a game player and create a session.
Request:
Response:
POST /api/games/verify-token
POST /api/games/verify-tokenVerify a game session token and get player data.
Request:
Response:
Error Codes
400: Missing required fields401: Invalid or expired token403: Token not valid for specified game500: Server error
Support
For issues or questions, visit:
Docs: https://docs.aethex.dev
Discord: https://discord.gg/aethex
Email: [email protected]
Last updated
