Manage your Mumble/Murmur server via DBus and Ice in Ruby.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
interfaces
vendor
widget Make the comet server run from any path Jan 7, 2010
.gitmodules
LICENSE Add license Jan 5, 2010
README.textile Add icesecret support and update readme Aug 6, 2010
afk-monitor.rb Tabs -> Spaces Jul 3, 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

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.