Use Client_find_by_session() instead of a few open-coded loops.
[umurmur.git] / umurmur.conf.example
index c48e5653314448386df510d55aba0f79c5afd4d6..1c32a7887016942a8c89472bcddf9bf7f31415c1 100644 (file)
@@ -9,6 +9,8 @@ password = "";
 # banfile = "banfile.txt";   # File to save bans to. Default is to not save bans to file.
 # sync_banfile = false;      # Keep banfile synced. Default is false, which means it is saved to at shutdown only.
 # allow_textmessage = true;  # Default is true
+# opus_threshold = 100;      # Percentage of users supporting Opus codec for it to be chosen. Default is 100.
+# show_addresses = true;     # Whether to show client's IP addresses under user information
 max_users = 10;
 
 # bindport = 64738;
@@ -24,6 +26,9 @@ max_users = 10;
 # umurmurd will close and reopen the logfile if SIGHUP is received.
 # logfile = "/var/log/umurmurd.log";
 
+# CA location for CA-signed certificates
+# ca_path = "/path/to/ca/certificates/";
+
 # Channel tree definition:
 # Root channel must always be defined first.
 # If a channel has a parent, the parent must be defined before the child channel(s).
@@ -39,15 +44,23 @@ channels = ( {
         description = "Lobby channel";
         },
         {
+        name = "Silent";
+        parent = "Root";
+        description = "Silent channel";
+        silent = true; # Optional. Default is false 
+        },
+        {
         name = "Red team";
         parent = "Lobby";
         description = "The Red team channel";
+     position = 0;   # Optional. Default is 0 and the channels will be shown in alphabetic order.
      # password = "redpw";
         },
         {
         name = "Blue team";
         parent = "Lobby";
         description = "The Blue team channel";
+     position = 1;   # Optional. Default is 0 and the channels will be shown in alphabetic order.
      # password = "bluepw";
         }
 );