X-Git-Url: http://git.code-monkey.de/?p=umurmur.git;a=blobdiff_plain;f=umurmur.conf.example;h=1c32a7887016942a8c89472bcddf9bf7f31415c1;hp=09b49c5a581de5c8354341481e18f4ee66e02001;hb=500668529625290605ab7afe0d62cd507ee25a99;hpb=454ad122eb158b4391e2690fe6a7e127d24c525b diff --git a/umurmur.conf.example b/umurmur.conf.example index 09b49c5..1c32a78 100644 --- a/umurmur.conf.example +++ b/umurmur.conf.example @@ -3,16 +3,40 @@ welcometext = "Welcome to uMurmur!"; certificate = "/etc/umurmur/cert.crt"; private_key = "/etc/umurmur/key.key"; password = ""; +# admin_password = "test"; # Set to enable admin functionality. +# ban_length = 0; # Length in seconds for a ban. Default is 0. 0 = forever. +# enable_ban = false; # Default is false +# 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; -username = ""; -groupname = ""; +# bindport = 64738; +# bindaddr = "192.168.1.1"; + +# username and groupname for privilege dropping. +# Will attempt to switch user if set. +# username = ""; +# If groupname not set the user's default login group will be used +# groupname = ""; + +# Log to file option. Default is logging to syslog. +# 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). channels = ( { name = "Root"; parent = ""; - description = "The Root of all channels"; + description = "Root channel. No entry."; + noenter = true; }, { name = "Lobby"; @@ -20,14 +44,24 @@ 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"; } ); # Channel links configuration. @@ -41,4 +75,6 @@ channel_links = ( { } ); +# The channel in which users will appear in when connecting. +# Note that default channel can't have 'noenter = true' or password set default_channel = "Lobby";