Dynamic leaderboard for SPT (Single Player Tarkov) player statistics, displaying player rankings, skill score, profiles and more.
To minimize costs, we use a static website (GitHub Pages) that pulls dynamic data in JSON format made by proxy API hosted on our server. SPtarkov mod sends a request to the API, and it turns your request into JSON - exactly what this system was designed to deliver. Straightforward.
Pull requests and issue reports are welcome! Submit them here on GitHub or contact through other channels.
Don't like how the leaderboard is open for everyone else and want to set it up just for your friends? Now you can do that!
- SPT 3.11.3 (or latest compatible version)
- Interdemate knowledge of PHP, basic knowledge of JavaScript
- Server with PHP/JSON support
-
Drop the zip contents in your SPT root game folder (Extract at
/SPT_GAME/
) -
Navigate to the mod config:
mods/SPT-Leaderboard/config/config.js
-
Open
config.js
and edit the following values:
PHP_ENDPOINT: "your.domain.com", // Your server domain
PHP_PATH: "/backend/SPT_Profiles_Backend.php" // Relative PHP path
Change them accordingly where your PHP files will be hosted.
- Download Dynamic Leaderboard Website
- Extract the contents to your web server's root or subdirectory.
- Navigate to the BACKEND folder and configure which JSON file stores stats (Recommended to use
season
in both scenarios. The season system on frontend adds the number automatically.) - Go to the
js
folder and openappCore.js
. At the top you'll see all the paths the mod uses to fetch data. Put your paths that correspond your server. - Update the URL (seasonPath) to match your own hosted path.
Now you can play and rank up just like in present leaderboard with all of its features!