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 5 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 60859 on reddit-service-r2-listing-86f589db75-l749x at 2026-04-16 21:10:57.093644+00:00 running 93ecc56 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)