Show your real online player count on your toplist listing, no TSM Agent needed. A tiny DT-Web page publishes the number as JSON and the toplist reads it every few minutes.
One small ZIP with the module and a README. Unzip it, then follow the steps below.
From the ZIP you just downloaded, copy mod/tsmonline.php into your DT-Web mod/ directory.
your-dtweb-site/ └─ mod/ └─ tsmonline.php ← the only file you need
In inc/loader.php, add this line next to the other $active_pages[...] entries:
$active_pages['tsmonline'] = 'tsmonline.php';
Open the endpoint URL in your browser:
https://your-site.com/?p=tsmonline
You should see JSON with your live count:
{"online":123,"ts":1720000000,"source":"live"}
On the toplist, edit your server and paste that URL into Live online count (My Servers → Edit). The toplist starts pulling your count within a few minutes.
COUNT(*) FROM MEMB_STAT WHERE ConnectStat = 1) through DT-Web's own mssql_* shim.mssql_*→sqlsrv shim, the same one the login plugin uses, so no legacy driver is required.Questions? [email protected]