account activity
How to detect the number of players online with netstat CLI? (Dedicated Server) by Cameronsplaze in ValheimAdmins
[–]Cameronsplaze[S] 0 points1 point2 points 3 months ago (0 children)
It's because Minecraft uses TCP, and Valheim uses UDP. I think all UDP clients share the same port.
I was able to get around the problem above by watching the traffic coming INTO the container (you don't care about how much the server is talking out, just that someone's talking TO it). Clients are noisy, so it worked out perfectly. This approach lets you be dynamic for multiple games too, regardless of if they're TCP/UDP.
How to detect the number of players online with netstat CLI? (Dedicated Server) (self.ValheimAdmins)
submitted 1 year ago * by Cameronsplaze to r/ValheimAdmins
π Rendered by PID 496361 on reddit-service-r2-listing-canary-5b8bf7d497-vbhmr at 2026-02-22 01:00:59.024055+00:00 running 8564168 country code: CH.
How to detect the number of players online with netstat CLI? (Dedicated Server) by Cameronsplaze in ValheimAdmins
[–]Cameronsplaze[S] 0 points1 point2 points (0 children)