Launcher Verification
Install and understand the built-in TCP verification flow used by Spynixx Launcher, the server filterscript, and your gamemode.
Download the clean package containing the launcher filterscript, Pawn includes, Windows and Linux socket plugins, installation guides, reward documentation, and troubleshooting notes.
Required Files
The verification system uses the following server files. Keep their paths and names unchanged unless you also update your server configuration.
| File | Purpose |
|---|---|
| plugins/socket.dll | Windows socket plugin. |
| plugins/so/socket.so | Linux socket plugin; use the path required by your host. |
| pawno/include/socket.inc | Pawn native declarations for the socket plugin. |
| pawno/include/spynixxlauncher.inc | Shared settings plus the gamemode API, commands, and reward logic. |
| filterscripts/spynixxlauncher.amx | Compiled TCP listener and player verification service. |
How Verification Works
1. Launcher announces
Before GTA connects, the launcher sends the player name and detect token to TCP port 11020.
2. Filterscript stores it
A valid announce is held in memory for up to 120 seconds and the launcher receives OK.
3. Join is verified
On connection, the filterscript consumes one matching pending record by IP or normalized player name.
ANNOUNCE:<player_name>|<detect_token>
// Example
ANNOUNCE:Yasin_Roleplay|DONTEDITTHISServer Installation
- Place the correct socket binary in your server's plugin directory.
- Place
socket.incandspynixxlauncher.incinpawno/include/(or your compiler's include directory). - Compile
filterscripts/spynixxlauncher.pwntofilterscripts/spynixxlauncher.amx. - Recompile
gamemodes/main.pwnso the latest include and INI reward storage are embedded ingamemodes/main.amx. - Load the socket plugin and filterscript in
config.json. - Allow inbound TCP traffic on port
11020. Your normal game port, commonly7777, remains UDP.
{
"pawn": {
"legacy_plugins": [
"socket"
],
"main_scripts": [
"main"
],
"side_scripts": [
"filterscripts/spynixxlauncher"
]
}
}Gamemode Setup
Add the unified include once near the top of gamemodes/main.pwn, after the command processor it uses. The filterscript already performs detection; do not add a manual if (PlayerUsingSpynixxLauncher(playerid)) block just to activate verification or rewards.
// gamemodes/main.pwn
#include <open.mp>
#include <Pawn.CMD>
#include <spynixxlauncher>The include supplies the status API, built-in commands, persistent reward progress, and reward callback. The filterscript calls it automatically when a verified player first spawns in the session; the include then decides whether the permanent first-use or five-hour milestone package is eligible.
spynixxlauncher.inc or spynixxlauncher.pwn, replace both AMX outputs and fully restart the server.Built-in Commands
/mylauncher— shows the current player's verified status./status— displays a short launcher YES/NO status./spynixxlauncher [playerid]— RCON-admin status check; defaults to the admin's own ID.
Launcher and Server Settings
The launcher's Detect TCP port must equal SPYNIXX_SOCKET_PORT, and its Detect token must equal SPYNIXX_SECRET. Defaults are port 11020 and token DONTEDITTHIS.
socket_create failed message usually means the socket plugin was not loaded or the wrong binary was selected.