Server-side mod for SPT (Single Player Tarkov) that powers the SPT Leaderboard v2 system. Handles profile data collection, inbox notifications, ragfair utilities, and API routes for the leaderboard backend.
Forked from SPT-Leaderboard/Server and modernized:
- Updated to SPT 4.0.5 — NuGet packages
SPTarkov.Server.Core,SPTarkov.Common,SPTarkov.DIall at 4.0.5 - SDK-style .csproj — modern project format, .NET 9.0, C# 12
- Namespace renamed —
SPTLeaderboard→SPTLeaderboardV2Server - New GUID —
com.sptleaderboard.v2.server - Bug fixes:
SessionInboxChecks:Dictionary→ConcurrentDictionaryfor thread-safe concurrent route accessInboxCallbacks: Added try-catch inside fire-and-forgetTask.Run()to prevent silent failuresRagfairUtils:Requirements?.First()→FirstOrDefault()to prevent exceptions on empty collectionsItemCallbacks: Removed unusedusing Microsoft.AspNetCore.Components
- Consistent logging — all files use
ISptLogger<T>(was mixed withILogger<T>) - File-scoped namespaces — modern C# style throughout
- Build:
dotnet build -c Release - Copy output to
SPT/user/mods/SPTLeaderboardV2Server/
- SPT 4.0.5+
- .NET 9.0 SDK (build only)
Original authors: Harmony, Katrin0522, yuyui.moe, RuKira
MIT — see LICENSE