X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=config.example.js;h=d1f21e7769eea78494784f1c037db8e8d23cf054;hb=a3ee84371397ba78623f4a04294ef40f7f7f6e7b;hp=77a2729a0e7e56d7322085bcd8b2e9af4e162531;hpb=7ba064d9d26d478ceaf9fa2bae903e0840f16d50;p=KiwiIRC.git diff --git a/config.example.js b/config.example.js index 77a2729..d1f21e7 100644 --- a/config.example.js +++ b/config.example.js @@ -55,6 +55,10 @@ conf.identd = { // Where the client files are conf.public_http = "client/"; +// Transports available to the client. +// Behind an Apache reverse proxy? Uncomment the below - Apache does not support websockets! +//conf.client_transports = ['polling']; + // Max connections per connection. 0 to disable conf.max_client_conns = 5; @@ -75,10 +79,18 @@ conf.default_encoding = 'utf8'; /* * Default GECOS (real name) for IRC connections * %n will be replaced with the users nick +* %h will be replaced with the users hostname */ //conf.default_gecos = 'Web IRC Client'; +/* +* Auto reconnect if the IRC server disconnects a kiwi user +* Hundreds of connected users getting disconnected then reconnecting at once may see +* high CPU usage causing further dropouts. Set to false if under high usage. +*/ +conf.ircd_reconnect = true; + /* * Client side plugins @@ -101,11 +113,14 @@ conf.modules = []; -// WebIRC passwords enabled for this server -conf.webirc_pass = { - //"irc.network.com": "configured_webirc_password", - //"127.0.0.1": "foobar" -}; +// WebIRC password enabled for this server +//conf.webirc_pass = "foobar"; + +// Multiple WebIRC passwords may be used for multiple servers +//conf.webirc_pass = { +// "irc.network.com": "configured_webirc_password", +// "127.0.0.1": "foobar" +//}; // Some IRCDs require the clients IP via the username/ident conf.ip_as_username = [ @@ -177,17 +192,27 @@ conf.client = { nick: 'kiwi_?', settings: { theme: 'relaxed', + text_theme: 'default', channel_list_style: 'tabs', scrollback: 250, show_joins_parts: true, show_timestamps: false, + use_24_hour_timestamps: true, mute_sounds: false, show_emoticons: true, - count_all_activity: true + count_all_activity: false }, window_title: 'Kiwi IRC' }; +// List of themes available for the user to choose from +conf.client_themes = [ + 'relaxed', + 'mini', + 'cli', + 'basic' +]; + // If set, the client may only connect to this 1 IRC server //conf.restrict_server = "irc.kiwiirc.com";