What's new

Welcome to Onforum.net - Web and gaming resource community

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Ask question

Ask Questions and Get Answers from Our Community

Answer

Answer Questions and Become an Expert on Your Topic

Contact Staff

Our Experts are Ready to Answer your Questions

Tutorial Show online players ONLY (for ip)

Blaze

Well-known member
Joined
Jan 28, 2019
Messages
221
Reaction score
1,275
Points
93
Credits
22
If someone were interested in curiosity to understand how many unique players are connected to their server, here is the query.
If a player is logged in with 10 pg, it is only counted once.
Code:
select count(*) as aggregate from `player`.`player` where `last_play` >= (now() - INTERVAL 5 MINUTE) group by `ip`
 
shape1
shape2
shape3
shape4
shape7
shape8
Top