Dynamic leaderboard for SPT (Single Player Tarkov) player statistics, displaying player rankings, skill score, profiles and more.
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 4.0.12 (or latest SPT Version)
- Interdemate knowledge of PHP along basic knowledge of JavaScript
- Web Server with PHP support
- Download the latest SPT Mod release
- Drop the zip contents in your SPT root game folder (Extract at
/SPT_GAME/) - Launch SPT and open F12 BepInEx menu
- Enable Advanced Settings
- You'll see two similar settings in the dropdown menu of SPT Leaderboard mod:
SPTLB Server Endpoint - Must be the initial domain you host and will be sending requests to, for example https://example.com
Server Path - Path to the Rest API for the Client requests, for example /api/client/. This will be later on combined into https://example.com/api/client/ by the mod.
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 (where your front end will be).
- Create the folders and .php files accordingly to the
Server Pathyou've set in the mod. - Make sure you will be creating a folder on the backend named
seasonswhere your data will be stored. It'll take less effort than editing the code on the frontend. (The season system on front end adds the number to the season file automatically.) - Go to the
jsfolder and openapp-core.js. At the top you'll see all the paths the mod uses to fetch data. Put your paths that correspond your backend server. Please note that not all paths can be defined in this file. - 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!