← All articles · Servers · 4 min read

The sboxlist plugin 1.0.0 is out

Open source (MIT). It reports your server to sboxlist and pays out vote rewards in game. No extra ports to open.

First-person view of two hands holding a rock, next to a stack of logs on a grassy hill.

Ahead of s&box's December 10, 2026 free-to-play switch, we are shipping version 1.0.0 of the open-source sboxlist C# library (prioxystudios.sboxlist, MIT license) alongside a Linux Pterodactyl v2 egg and an interactive configuration and C# code generator at /plugin. Any s&box dedicated server or hosted multiplayer lobby can now report signed live heartbeats, poll player votes, pay out online and offline rewards, and hook custom Roleplay wallets, inventory items, and Razor HUDs without opening a single inbound TCP port.

Why the server calls us, and not the other way around

Legacy game-server vote plugins grew up around inbound TCP push listeners: the server list connected inward to an extra port on your game host and sent a vote packet. On modern infrastructure (Docker bridge networks, Pterodactyl Wings containers, home NAT, CGNAT, and DDoS-filtered VPS firewalls), opening and securing an extra inbound TCP listener creates constant firewall friction and attack surface.

In sboxlist 1.0.0, SboxlistService flips that direction completely. Every request is an outgoing HTTPS (443/tcp) pull initiated by the game server itself to "https://sboxlist.com/api": POST /v1/heartbeat every 60 seconds, POST /v1/votes/poll every 15 seconds, POST /v1/votes/ack in batches of up to 50 items, and POST /v1/rewards/join. The only ports your host opens to the internet remain the standard Source 2 UDP game port (27015/udp) and Steam query port (27016/udp).

Because Wire Protocol v1 is an open multi-site specification (PROTOCOL.md, shipped inside /downloads/sboxlist-library-1.0.0.zip), sites is a JSON array: one s&box server can report to sboxlist.com and additional compatible lists simultaneously, each with an isolated queue and exponential backoff (15 s to 300 s). If you place your own custom HTTPS reverse proxy (Nginx, Caddy, Cloudflare, or Traefik) in front of a protocol-v1 endpoint, keep three s&box engine rules in mind: baseUrl must use https:// with a domain name (raw IP literals are blocked by Http.RequestAsync), /api/v1/* routes must never issue 301, 302, or 303 redirects (POST redirects turn into GET), and all x-sbl-* headers plus the raw UTF-8 JSON body must pass through untouched.

How requests are signed

In s&box, libraries and gamemodes distribute through the sbox.game Workshop rather than loose server-side script folders, and every C# type must pass the sandbox compiler whitelist (PackageBuild). Standard .NET classes such as System.Security.Cryptography.HMACSHA256, RandomNumberGenerator, HttpClient, and System.IO.File are blocked with SB1000 errors.

To compile cleanly into any Workshop gamemode package with zero SB1000 violations, sboxlist implements RFC 2104 HMAC-SHA256 directly over whitelisted SHA256.HashData (64-byte zero-padded key blocks XORed with 0x36 and 0x5c), pairs each request with a single-use Guid.NewGuid nonce and Unix timestamp (±300 s replay window), and signs the canonical sbl1 string (serverId, timestamp, nonce, and lowercase hex SHA-256 body digest) in x-sbl-signature. Your raw sbs_ server secret never travels over the network, and running sbl_hmac_selftest in the server or Editor console verifies both RFC 4231 Test Case 2 and the protocol v1 signature vector offline.

For secret hygiene, never place sboxlist.json or your sbs_ token inside Assets/, Code/, a .scene, or a published Workshop package. Keep sboxlist.json strictly on the dedicated server's local disk inside FileSystem.Data (<server-root>/data/<org>/<game>/sboxlist.json), or pass single-site +sbl_base_url, +sbl_server_id, and +sbl_token startup ConVars on container hosts.

When rewards are paid

Players often vote from a phone or browser while away from their PC. When votes/poll receives a vote, SboxlistService deduplicates (siteId, vote.id) in memory (up to 2,000 recent IDs) so retried polls never double-trigger announcements or payouts. If the voter is already connected, SboxlistService requests their reward immediately (reason: "vote"). If the voter is offline, the vote counts right away and pays out automatically the next time that player finishes joining (Component.INetworkListener.OnActive, reason: "join").

Servers without custom C# code can combine chat messages, top-right toast banners (by attaching the optional SboxlistToastHud component), and managed [ConCmd] console rules (including the built-in sbl_test_reward {steamid} {amount} command for instant smoke tests). In console rules, {steamid} is restricted to verified 17-digit Steam voters, while {name} is restricted to Name voters, wrapped automatically in double quotes, and refused if the name contains ;, quotes, backticks, backslashes, or control characters. When a Steam player's Connection.DisplayName exceeds 32 Unicode characters, SboxlistService automatically falls back to a SteamID-only join (playerName: null) so Steam vote rewards still deliver cleanly.

Hooking it into your own game mode

Gamemodes with persistent DarkRP wallets, SQLite or HTTP inventories, custom Roleplay character names, or server-wide Vote Parties implement Sboxlist.ISboxlistListener on any scene Component or GameObjectSystem. Because Sboxlist.ISboxlistListener dispatches through s&box's native ISceneEvent<T> index rather than static C# delegates, editing and hot-reloading C# code in the s&box Editor never leaves stale event subscribers behind.

Inside OnVoteReceived(Sboxlist.VoteInfo vote) and OnVoteReward(Sboxlist.RewardInfo reward), your code receives the live Sandbox.Connection (vote.OnlinePlayer and reward.Player), allowing Roleplay modes to resolve in-character names from their own database before calling Sboxlist.SboxlistPlayerMessages.BroadcastChat or SendTo. In the Rewards dashboard, you can type any custom identifier (darkrp_cash, vip_tokens, starter_crate, weapon_katana) into What to give (payload), match reward.Payload in OnVoteReward, and call reward.Refuse(reason) whenever an inventory is full or an item ID is unknown, sending ok: false with your diagnostic message in votes/ack so the failure reason appears in the owner's reward log.

On the client, Roleplay and competitive modes that replace Sandbox.Platform.Chat (which fades lines after 8 seconds) can implement Sboxlist.ISboxlistNotificationListener directly inside any .razor PanelComponent. Setting notification.Handled = true suppresses the default chat line so "chat" notices route cleanly into your custom RP chatbox while "toast" rewards and Vote Party broadcasts animate in your own HUD. Download /downloads/sboxlist-library-1.0.0.zip and /downloads/pterodactyl-egg-sbox.json (remembering x86-64-v3 / AVX2 host CPU flags on Proxmox and ^C stop signals in Pterodactyl), or build your config and C# files interactively at /plugin.

Related: Server Toolkit.

Comments

No comments yet.

All news · Guides · Follow @sboxlist on Instagram and TikTok.