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
211
Reaction score
1,224
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

Dear User!

We found that you are blocking the display of ads on our site.

Please add it to the exception list or disable AdBlock.

The advertises that you'll see aren't intrusive they just help us to keep the community alive

Thank you for understanding!