CommandHubStats
by BosBliksem
1.0.9
- Game Version
- 1.7.0.41
- Created
- Sun, 07 Jun 2026 18:09:19 GMT
- Last Modified
- Sun, 07 Jun 2026 18:09:27 GMT
1.0.8
- Game Version
- 1.7.0.41
- Created
- Sat, 06 Jun 2026 21:38:36 GMT
- Last Modified
- Sat, 06 Jun 2026 21:38:45 GMT
1.0.7
Added fix where it crashes server on next startup
- Game Version
- 1.7.0.41
- Created
- Mon, 01 Jun 2026 17:50:53 GMT
- Last Modified
- Mon, 01 Jun 2026 17:51:04 GMT
1.0.6
- Game Version
- 1.7.0.41
- Created
- Sat, 30 May 2026 11:33:15 GMT
- Last Modified
- Sat, 30 May 2026 11:33:21 GMT
1.0.5
- Game Version
- 1.6.0.119
- Created
- Sun, 24 May 2026 17:11:15 GMT
- Last Modified
- Sun, 24 May 2026 17:11:24 GMT
1.0.4
Better data chunking to support more players
- Game Version
- 1.6.0.119
- Created
- Sat, 23 May 2026 21:25:13 GMT
- Last Modified
- Sat, 23 May 2026 21:25:21 GMT
1.0.3
- Game Version
- 1.6.0.119
- Created
- Fri, 22 May 2026 22:31:21 GMT
- Last Modified
- Fri, 22 May 2026 22:31:33 GMT
1.0.2
- Game Version
- 1.6.0.119
- Created
- Fri, 22 May 2026 22:13:50 GMT
- Last Modified
- Fri, 22 May 2026 22:14:02 GMT
1.0.1
- Game Version
- 1.6.0.119
- Created
- Fri, 22 May 2026 21:38:07 GMT
- Last Modified
- Fri, 22 May 2026 21:38:18 GMT
1.0.0
Full release of the mod
- Game Version
- 1.6.0.119
- Created
- Wed, 20 May 2026 18:28:55 GMT
- Last Modified
- Wed, 20 May 2026 18:29:02 GMT
0.5.1
Mod now sends kill events in the stats payload from:
- Game Version
- 1.6.0.119
- Created
- Wed, 20 May 2026 18:21:43 GMT
- Last Modified
- Wed, 20 May 2026 18:21:48 GMT
0.5.0
Mod Beta testing release
- Game Version
- 1.6.0.119
- Created
- Wed, 20 May 2026 18:02:11 GMT
- Last Modified
- Wed, 20 May 2026 18:02:17 GMT
0.0.18
Fix corrupt string
- Game Version
- 1.6.0.119
- Created
- Wed, 20 May 2026 17:39:58 GMT
- Last Modified
- Wed, 20 May 2026 17:40:02 GMT
0.0.17
test
- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 20:24:38 GMT
- Last Modified
- Tue, 19 May 2026 20:24:42 GMT
0.0.16
test
- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 20:15:07 GMT
- Last Modified
- Tue, 19 May 2026 20:15:12 GMT
0.0.15
test
- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 20:08:46 GMT
- Last Modified
- Tue, 19 May 2026 20:08:50 GMT
0.0.14
test
- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 20:01:57 GMT
- Last Modified
- Tue, 19 May 2026 20:02:01 GMT
0.0.13
test
- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 19:52:35 GMT
- Last Modified
- Tue, 19 May 2026 19:52:39 GMT
0.0.12
Fixes
- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 19:42:13 GMT
- Last Modified
- Tue, 19 May 2026 19:42:17 GMT
0.0.11
test
- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 19:22:18 GMT
- Last Modified
- Tue, 19 May 2026 19:22:23 GMT
0.0.10
Test
- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 19:10:27 GMT
- Last Modified
- Tue, 19 May 2026 19:10:35 GMT
0.0.9
Change Reason Reverted to API_BASE_URL + paths Empty path in POST(cb, "", json) caused Enfusion to drop the body on ALL requests ctx.reset() before every POST Clears 4xx error state the context retains — without it, body is silently dropped after any failed response GetPlayers() instead of GetAllPlayers() The old working script used GetPlayers() — GetAllPlayers() was returning 0 players (the debug print never appeared), causing the early return before stats were sent More diagnostic prints Lets us see exactly what GetPlayers() returns and what JSON length is built
- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 19:00:15 GMT
- Last Modified
- Tue, 19 May 2026 19:00:22 GMT
0.0.8
Change
Why
API_CTX_STATS = "https://commandhub.fun/api/ingest/stats" (full URL as context)
Forces a separate engine connection for stats vs player-link — no more shared context body-dropping
API_CTX_PLAYER_LINK = "https://commandhub.fun/api/ingest/player-link"
Same — player-link gets its own dedicated connection
POST(cb, "", json)
Empty path — posts to the full base URL exactly
if (playerIds.IsEmpty()) return
No players = no stats POST as you requested
Removed PostLink from OnPlayerRegistered
Eliminates the rapid double-POST — only one player-link per join (at spawn time)
Print("[CH] DBG json len=%1")
Confirms JSON is non-empty — once you see len > 0 and still get 422, it's definitively engine-side and I'll investigate further- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 18:50:37 GMT
- Last Modified
- Tue, 19 May 2026 18:50:42 GMT
0.0.7
File Before After PB_StatsRuntime if (!m_PostCallback) m_PostCallback = new PB_PostCb() — reused same instance forever m_PostCallback = new PB_PostCb() every call — fresh instance, old one freed once response is done PB_PlayerLinker Single s_PostCallback shared across all concurrent requests Ring of 8 callbacks, each request gets its own fresh slot, old slots safe to overwrite after 8 requests
- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 18:42:52 GMT
- Last Modified
- Tue, 19 May 2026 18:42:55 GMT
0.0.6
Problem Root cause Fix 422 Missing data (body empty) RestContext ctx was a local variable — GC freed it before Enfusion assembled and dispatched the request body Added protected ref RestContext m_RestCtx (runtime) and protected static ref RestContext s_RestCtx (linker) — created once, reused forever No server log for #setapi Missing Print() call Added [CH] API key set via #setapi. Key stored to profile storage. weaponKills shape Already correct No change needed
- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 18:37:03 GMT
- Last Modified
- Tue, 19 May 2026 18:37:07 GMT
0.0.5
emoved SetHeaders entirely — wiki says Enfusion REST has no custom header support 'OnSuccess' is obsolete / 'OnError' is obsolete Rewrote PB_PostCb to use SetOnSuccess(CH_OnPostSuccess) / SetOnError(CH_OnPostError) delegates in constructor
- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 18:25:12 GMT
- Last Modified
- Tue, 19 May 2026 18:25:23 GMT
0.0.4
Fixed — now {"Content-Type", "application/json"}- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 18:21:20 GMT
- Last Modified
- Tue, 19 May 2026 18:21:29 GMT
0.0.3
update
- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 18:17:27 GMT
- Last Modified
- Tue, 19 May 2026 18:17:35 GMT
0.0.2
Updates
- Game Version
- 1.6.0.119
- Created
- Tue, 19 May 2026 18:07:43 GMT
- Last Modified
- Tue, 19 May 2026 18:07:49 GMT
0.0.1
- Game Version
- 1.6.0.119
- Created
- Mon, 18 May 2026 20:21:43 GMT
- Last Modified
- Mon, 18 May 2026 20:21:53 GMT
Showing 1 to 30 of 30 results
Rows per page
Showing 1 to 30 of 30 results
Rows per page