Skip to content
Manage your Mumble/Murmur server via DBus and Ice in Ruby.
Ruby JavaScript Perl Python
Find file
Latest commit 5c10e49 Jun 22, 2013 @cheald Merge pull request #3 from Ephphatha/patch-1
Provide default argument to prevent error if no options.yml file exists
Failed to load latest commit information.
interfaces
vendor Update for 1.2.3 Feb 23, 2011
widget Make the comet server run from any path Jan 7, 2010
.gitmodules Restructure code layout a bit Jan 5, 2010
LICENSE Add license Jan 5, 2010
README.textile
afk-monitor.rb Tabs -> Spaces Jul 2, 2012
helpers.rb Update for 1.2.3 Feb 23, 2011
ice-howto.txt
manage-dbus.rb Tabs -> Spaces Jul 3, 2012
manage-ice.rb Provide default argument to prevent script falling over if no options… Jun 21, 2013

README.textile

Ruby Murmur Manager

This is a quick library and control script for managing a murmur daemon. It supports both DBus and ICE (though you should really use ICE).

Getting and installing

git clone git://github.com/cheald/murmur-manager.git
git submodule init
git submodule update

Commands

[server-id]                             List a server's config
[server-id] set [key] [val]             Set a server's config value
[server-id] start                       Start a server
[server-id] stop                        Stop a server
[server-id] destroy                     Permanently destroy a server
new                                     Create a new server
list                                    List existing servers

Example usage: Creating and configuring a new virtual server

# ./manager.rb list
Server ID       Running
---------       ------
1               true
2               true
# ./manager.rb new
Server created. New ID is 2
Server config:
-------------
allowhtml                               true
obfuscate                               false
registerhostname
certificate                             ...
port                                    64738
registerurl
timeout                                 30
defaultchannel                          0
textmessagelength                       5000
username                                [-=\w\[\]\{\}\(\)\@\|\.]+
welcometext                             <br />Welcome to this server running <b>Murmur</b>.<br />Enjoy your stay!<br />
bonjour                                 true
certrequired                            false
channelname                             [ \-=\w\#\[\]\{\}\(\)\@\|]+
registername
bandwidth                               72000
host                                    0:0:0:0:0:0:0:0
registerpassword
users                                   100
key                                     ...
password
# ./manager.rb list
Server ID       Running
---------       ------
1               true
2               true
3               false
# ./manager.rb 3 set port 54321
Server ID 3: port set to 612312
Server restarted
# ./manager.rb 3 set welcometext "Welcome to my Mumble server"
Server ID 3: welcometext set to Welcome to my Mumble server
Server restarted
# ./manager.rb 3 set superuser_password mynewpassword
Server ID 3: superuser_password set to mynewpassword
Server restarted
# ./manager.rb 3 start

Tada! A new virtual server has been spawned.

Something went wrong with that request. Please try again.