Ansekai DocsAnsekai docs
All pages
Connections and security
Examples

Start

Introduction

Ansekai is the backend of a multiplayer game: accounts, saves, a realtime database, files, a cache, server code in Luau and rooms that players join. You run it yourself, on one server or on many, and manage every game from the panel.

What a game gets

ModuleWhat it does
AuthenticationEmail and password, guests who can keep their progress later, tokens your servers can check
Player DataWhat each player keeps, with rules for what a client may change
Realtime DatabaseValues the whole game shares, clients hear every change
FilesUploads in folders, public links and signed ones
CacheFast values in memory or on disk that may go away
PluginsLuau functions that clients call, hooks and timers
LoopsLuau that keeps running at a tick rate
RoomsMatches, lobbies and worlds that players join, in the regions you pick

How a client talks to it

Every module answers over HTTP, a WebSocket, TCP or UDP. The panel picks the connection of each module, the SDK follows it by itself. Keys of TCP and UDP travel inside TLS, the packets are sealed with the encryption you choose.

Where to go next

  • Getting started sets up a game and makes the first call.
  • Web SDK lists every call of the SDK.
  • Native SDK is the SDK for C, C++ and engines.
  • Rooms covers templates, matching and regions.

Updated November 21, 2026

Introduction · Ansekai Docs