Chrooms (short for "Changing Rooms") glues together a Team Fortress 2 (TF2) server and a Mumble server, moving users to the Mumble chat room corresponding to the team they are playing on at the moment. Chrooms might also work for Source games other than TF2.
There are now two ways of hooking up chrooms with your Team Fortress 2 server. One involves the server mod EventScripts and one involves watching the console log file. We recommend using the log watcher.
- Get chrooms by running
git clone https://github.com/JonasOlson/chrooms.git
in a directory of your choice. - Add the following argument to your server invocation:
-consolelog /var/log/srcds/tf2.log
, i.e. when you start your server. - Copy the example config
chrooms/chrooms.cfg.example
tochrooms/chrooms.cfg
. - Configure Chrooms in
chrooms/chrooms.cfg
. A password (also called "secret") for administration of the Mumble server is set withicesecretwrite
in/etc/mumble-server.ini
. Set the same secret in the configuration file for Chrooms. (Note thaticesecretwrite
must be commented out if you want the Mumble server to require no password.) - Start the log-watcher script when you start your server by calling
chrooms/log-watcher.bash
- Play on the TF2 server using the same username as in Mumble. (You don't need to match upper and lower cases, though.)
- Install EventScripts on the TF2 server by extracting build 379 to the directory
tf/
. (The forum post says that build 379 is intended for Counter Strike, but using this version seems to be the only way to get it to work for TF2.) EventScripts generates an error message when the TF2 server starts, but it doesn't affect us. - Get chrooms by running
git clone https://github.com/JonasOlson/chrooms.git
in a directory of your choice. - Create a symbolic link to
chrooms/chrooms
fromtf/addons/eventscripts/chrooms
by runningln -s chrooms/chrooms tf/addons/eventscripts/chrooms
. The exact path to the tf directory depends on where your TF2-server is installed. - Copy the example config
tf/addons/eventscripts/chrooms/chrooms.cfg.example
totf/addons/eventscripts/chrooms/chrooms.cfg
. - Configure Chrooms in
tf/addon/eventscripts/chrooms/chrooms.cfg
. A password (also called "secret") for administration of the Mumble server is set withicesecretwrite
in/etc/mumble-server.ini
. Set the same secret in the configuration file for Chrooms. (Note thaticesecretwrite
must be commented out if you want the Mumble server to require no password.) - Chooms is turned on and off with the following commands in the TF2 server console:
es_load chrooms
es_unload chrooms
es_reload chrooms
To load Chrooms automatically when the TF2 server starts, put the first of these commands in tf/cfg/autoexec.cfg
.
0. Play on the TF2 server using the same username as in Mumble. (You don't need to match upper and lower cases, though.)