# blabouncer configuration file # # Normal entries must be in the form: # option name, space, equals sign, space, double quote, option value, double quote # e.g. # realname = "Mr Bla Bouncer" # # Array entries must be in the form: # option name, space, equals sign, space, open brace # (optional indentation,) double quote, element value, double quoute # (optional multiple values to be repeated after the first one(s)) # close brace # e.g. # connectcommands = { # "PRIVMSG NickServ IDENTIFY bananas" # "PRIVMSG myfriend I'm online!" # } # # Shell expansion is not supported, so do not try and specify e.g. # "~/.blabouncer/" or "$HOME/.blabouncer/", instead use "/home/foo/.blabouncer" # # Some settings can be reloaded at runtime, please refer to README for details. # Nick(s) to use when connecting - will be cycled through in order in the event of # a nick being in use or invalid nicks = { "blabounce" "bbounce2" "bbounce3" } username = "bounceusr" realname = "Mr Bla Bouncer" # Channels to automatically join (defaults to none) # Put channel keys/passwords after channel names (separated with a space) channels = { "#blabouncer keyword" "#test" } # Auto replay mode upon a bouncer client connecting # "none" = Don't auto replay # "time" = Always send the last "replayseconds" worth of logs # "lastspoke" = All messages since your current nick last spoke # "noclients" = All messages since you last had no clients connected # "lastchange" = All messages since your last client connection/disconnection # "perclient" = All messages since the current client last disconnected (see README) replaymode = "time" # How many seconds of replay log should be sent to connecting clients if replaymode = "time" replayseconds = "600" # Should replay log timestamps include the date when replaying? ("1" for yes or "0" for no) replaydates = "0" # Connect password clients must provided to connect password = "bananas" # Port the bouncer should listen on clientport = "1234" # Enable TLS for clients connecting to the bouncer ("1" for yes or "0" for no) # If "0" then certfile and keyfile need not be set clienttls = "1" # Enable TLS for the bouncer connecting to the IRC server ("1" for yes or "0" for no) servertls = "1" # Real IRC server the bouncer connects to ircserver = "irc.blatech.net" # Real IRC server port ircserverport = "6697" # Real IRC server password #ircserverpassword = "apples" # Command(s) to send to the server upon completing registration (e.g. a NickServ password) #connectcommands = { # "PRIVMSG NickServ IDENTIFY bananas" # "PRIVMSG myfriend I'm online!" #} # Base directory (defaults to $HOME/.blabouncer/) # Things such as the logs directory will be placed below this #basedir = "/home/foo/.blabouncer/" # Certificate file (defaults to /cert.pem) # If clienttls = "0" then this need not be set #certfile = "/home/foo/.blabouncer/cert.pem" # Certificate key file (defaults to /key.pem) # If clienttls = "0" then this need not be set #keyfile = "/home/foo/.blabouncer/key.pem" # Enable logging ("1" for yes or "0" for no) # Logs go to basedir/logs/ with one file per channel/nick logging = "1" # Enable replay logging ("1" for yes or "0" for no) # Replay log goes to basedir/replay.log replaylogging = "1" # Debug verbosity ("0" for critical only, "1" for some extra info, "2" for full debug mode) # (All output goes to /debug.txt) debug = "2" # Number of debug logs to keep debugkeep = "5" # Send NOTICE to all other clients upon new client connections ("1" for yes or "0" for no) alertconnect = "1" # Send NOTICE to all other clients upon clients failing to authenticate ("1" for yes or "0" for no) alertauthfail = "1" # Send NOTICE to all other clients upon clients succesfully authenticating ("1" for yes or "0" for no) alertauthsuccess = "1" # Send NOTICE to all other clients upon unauthenticated client disconnections ("1" for yes or "0" for no) alertunautheddisconnect = "1" # Send NOTICE to all other clients upon authenticated client disconnections ("1" for yes or "0" for no) alertautheddisconnect = "1"