-
Member
How can I add an Online Player tracker (only number without line or anything else)
Hello,
I looking for a solution about the topic.
I want to place a counter, which shows the current online players, in a php page. Anyone have any ideas?
I need a code, to integrate it to my website.
-
You can query this information from this database. The query could look something like this:
Code:
SELECT COUNT(*) FROM character WHERE online = 1;
You can cache this result and update periodically to save on performance.
-
Post Thanks / Like - 1 Thanks
levcsu (1 members gave Thanks to stoneharry for this useful post)
-
Member
Originally Posted by
stoneharry
You can query this information from this database. The query could look something like this:
Code:
SELECT COUNT(*) FROM character WHERE online = 1;
You can cache this result and update periodically to save on performance.
Thank you Harry!
tbh I looking for a "complete" script, what I can configurate, and integrate, and I hope I would find one