NETWORK SDK
Optional integration for game servers. Listing and monitoring via supported game protocols also work without a plugin.
Quick start
- List the server in Add server.
- If API integration is enabled for the server, manage its key from the server page. Keep the key private.
- Download the appropriate game integration source and check platform requirements before installing.
- Configure the API key in the plugin file and verify responses before using it publicly.
Downloads here are plugin source files, not compiled installers. Features depend on correct installation and configuration.
Authentication and security
The API uses api_key to identify the server. For compatibility, some requests may also include ts + sig.
sig = sha1(api_key + ':' + ts)
The formula above describes current compatibility and is NOT HMAC. Never expose the key in public pages. A signature is checked when both fields are supplied, within a ±5-minute window.
The API applies rate limiting and may return 429 or 503. A delayed API response does not mean the game server is offline.
POST routes accept JSON or form-encoded payloads. Legacy GET plugin routes may include the key in a URL: never share these links or embed them in public pages. Registration cannot alter a verified server address.
The boost_tier and boost_priority responses come from active, unexpired Boost orders, not a previously cached server badge. When the Boost ledger cannot be read, the API cannot confirm a promotion.
The legacy /api/heartbeat.php route remains for existing plugins (GET or POST), with the same request throttling as API v1. New integrations should use POST /api/v1/heartbeat.php.
API v1 endpoints
These routes exist in the SoulShive source. Method and fields vary by endpoint implementation.
| Method | Endpoint | Purpose |
|---|---|---|
| POST | /api/v1/register.php | Confirms the API key for a server already listed. IP/port changes require owner verification. |
| POST | /api/v1/heartbeat.php | Receives plugin observations; never approves servers automatically. |
| GET | /api/v1/redirect.php | Finds approved same-game servers with fresh checks and free slots. |
| GET | /api/v1/server.php | Returns configuration for the server linked to the key. |
| GET | /api/v1/stats.php | Returns recent observations; unavailable values when data has expired. |
| POST | /api/v1/player/connect.php | Receives a player connection event from the plugin. |
| POST | /api/v1/player/disconnect.php | Receives a player disconnection event from the plugin. |
| POST | /api/v1/logs.php | Receives a log event from the plugin. |
| POST | /api/v1/update.php | Reports the installed plugin version. |
Example heartbeat response
An illustrative format example, not live data or a guaranteed configuration for any server.
{
"ok": true,
"server_id": 42,
"approved": true,
"boost": false,
"boost_tier": null,
"boost_priority": 0,
"is_partner": false,
"redirect": false,
"update": false,
"latest_version": ""
}
Developer downloads
Choose the matching source. See the plugin project for other configuration files.