New example configuration with new switches for admin and ban stuff.
[umurmur.git] / umurmur.conf.example
1 max_bandwidth = 48000;
2 welcometext = "Welcome to uMurmur!";
3 certificate = "/etc/umurmur/cert.crt";
4 private_key = "/etc/umurmur/key.key";
5 password = "";
6 # admin_password = "test";   # Set to enable admin functionality.
7 # ban_length = 0;            # Length in seconds for a ban. Default is 0. 0 = forever.
8 # enable_ban = false;        # Default is false
9 # banfile = "banfile.txt";   # File to save bans to. Default is to not save bans to file.
10 # sync_banfile = false;      # Keep banfile synced. Default is false, which means it is saved to at shutdown only.
11 # allow_textmessage = true;  # Default is true
12 max_users = 10;
13
14 # bindport = 64738;
15 # bindaddr = "192.168.1.1";
16
17 # username and groupname for privilege dropping.
18 # Will attempt to switch user if set. 
19 # username = "";
20 # If groupname not set the user's default login group will be used
21 # groupname = "";
22
23 # Log to file option. Default is logging to syslog.
24 # umurmurd will close and reopen the logfile if SIGHUP is received.
25 # logfile = "/var/log/umurmurd.log";
26
27 # Channel tree definition:
28 # Root channel must always be defined first.
29 # If a channel has a parent, the parent must be defined before the child channel(s).
30 channels = ( {
31          name = "Root";
32          parent = "";
33          description = "Root channel. No entry.";
34          noenter = true;
35          },
36          {
37          name = "Lobby";
38          parent = "Root";
39          description = "Lobby channel";
40          },
41          {
42          name = "Red team";
43          parent = "Lobby";
44          description = "The Red team channel";
45      # password = "redpw";
46          },
47          {
48          name = "Blue team";
49          parent = "Lobby";
50          description = "The Blue team channel";
51      # password = "bluepw";
52          }
53 );
54 # Channel links configuration.
55 channel_links = ( {
56          source = "Lobby";
57          destination = "Red team";
58          },
59          {
60          source = "Lobby";
61          destination = "Blue team";
62          }
63 );
64
65 # The channel in which users will appear in when connecting.
66 # Note that default channel can't have 'noenter = true' or password set
67 default_channel = "Lobby";