Official Mumble VoIP Forums

Request: Get number of users in a server without connecting

Ice/DBus, Web-Interfaces, Management tools
In the Mumble Client you can see the # of users in a server without connecting, like so
Image

I've been able to easily write a script in [url=https://github.com/layeh/piepan]Piepan[/url] to get the number of users in a server + channel, but the script must connect first.

I understand this is an obscure question and also most people don't take kindly to other people asking them to do tasks for them, so I understand if nobody wants to respond, but if you have any hints for which script framework or part of the Mumble client code to look into to achieve this, I'd appreciate it. :)
You didn’t ask a question though?
Sorry, my question is: In what way would I be able to access the number of users in a server via script, without connecting?
Since the mumble client is able to have this number (for the favorites list), is there a way to find the number directly (or perhaps indirectly, by looking at the mumble client's listed number for a certain server?)
Yes, that is possible and pretty simple.

You just need to send a UDP ping packet to the server and it will answer with the number of connected users.

See https://wiki.mumble.info/wiki/Protocol section UDP Ping packet, the linked protocol documentation for more information, and the linked python script for a simple implementation of that in python. The K-10 IRC bot that sits in our channel and provides a ping command is also referenced there.
You sparked my interest in this and today I created a script in C#/.NET Core 3.0.

If you are interested in it for reference, it is available at https://github.com/Kissaki/mumble-ping