Show your real online player count on your toplist listing, no TSM Agent needed. A tiny MuWeb route 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 routes/tsmonline.php into your MuWeb routes/ directory.
your-muweb-site/ └─ routes/ └─ tsmonline.php ← the only file you need
In routes/load.php, add this line just before $app->run();:
include 'tsmonline.php'; $app->run();
Open the endpoint URL in your browser:
https://your-site.com/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.Questions? [email protected]