This is a read-only archive of the Mumble forums.

This website archives and makes accessible historical state. It receives no updates or corrections. It is provided only to keep the information accessible as-is, under their old address.

For up-to-date information please refer to the Mumble website and its linked documentation and other resources. For support please refer to one of our other community/support channels.

Jump to content

Request: Get number of users in a server without connecting


Coolster4000
 Share

Recommended Posts

In the Mumble Client you can see the # of users in a server without connecting, like so

qnX6hpo.png


I've been able to easily write a script in Piepan 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. :)

Link to comment
Share on other sites

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?)

Link to comment
Share on other sites

  • Administrators

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.

Link to comment
Share on other sites

 Share

×
×
  • Create New...