Jump to content
Mumble forums

Request: Get number of users in a server without connecting


Recommended Posts

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


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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...