Lobby server & matchmaking
Publish lobbies with player capacity, protocol versions and optional passwords. Let players browse, or use the matching endpoint to join or create a lobby.
Explore the free lobby server →Multiplayer infrastructure, without the server ops
A free lobby server, leaderboard server and UDP relay for your first game. Connect Unity, Unreal or Godot through the Berries HTTPS API, keep your own netcode and configure the services you need.
One registered game included. Per-game capacity limits apply.
/games/{gameId}/lobbies200 OK| Lobby | Players | Status |
|---|---|---|
| Friday night brawl | 6/8 | Joinable |
| Co-op expedition | 3/4 | Joinable |
| Ranked warmup | 5/8 | Joinable |
| Speedrun practice | 2/2 | Full |
01 / Capabilities
Your game owns simulation and replication. Berries handles discovery, session coordination and persistent rankings.
Publish lobbies with player capacity, protocol versions and optional passwords. Let players browse, or use the matching endpoint to join or create a lobby.
Explore the free lobby server →Resolve the host endpoint for your transport. Provision a UDP relay when needed, and use peer rendezvous to attempt a direct path from the same socket.
Explore the free relay server →Rank scores or times with one best result per player. Submit results with optional run recordings, retrieve nearby rankings and reset boards from the portal.
Explore the free leaderboard server →Configure game features and inspect usage in one place. Deliver lobby-created events to your backend with HMAC-SHA256 signatures and automatic retries.
Per-game configuration and limits02 / Integration
Call the API from your existing client. Integrate lobby, leaderboard and relay servers with Unity, or use the Unreal and Godot request examples in the developer portal.
Create a game in the portal, get its game ID and enable the features you need.
gameId → client configurationCreate a lobby and retain the returned member token. Send heartbeats to update membership and host-published session state.
POST /games/{gameId}/lobbiesList lobbies and join one to get connection details. Your client establishes the game connection and requests relay access when needed.
POST /lobbies/{lobbyId}/members03 / Architecture notes
Your host or dedicated server runs the simulation. Berries coordinates lobbies and membership; your transport handles replication. When provisioned, the relay forwards game datagrams between the host and joining players.
Your client decides when to use a direct connection or request relay credentials. The host provisions a relay session, members request access, and each peer binds its UDP socket. Rendezvous information can then help your client attempt a direct connection. Recording a public endpoint alone does not guarantee NAT traversal.
Yes. Enable leaderboards for your game and register a board in the portal. Leaderboard calls use separate player bearer tokens and do not require a lobby session or a lobby member token.
Every account includes one registered game. Configure its features in the portal, where you can also review the game's lobby, relay and leaderboard limits. The free allowance does not mean unlimited capacity.
From prototype to the next playtest
Register your first game for free. Configure it in the portal, then connect your client.