thelounge/config.js

181 lines
2.5 KiB
JavaScript
Raw Normal View History

2014-09-13 18:41:11 +02:00
module.exports = {
2014-09-14 19:50:00 +02:00
//
// Set the server mode.
// Public servers does not require authentication.
//
// Set to 'false' to enable users.
//
// @type boolean
// @default false
2014-09-15 23:54:01 +02:00
//
2014-09-13 18:41:11 +02:00
public: true,
2014-09-15 23:54:01 +02:00
2014-09-14 19:50:00 +02:00
//
// Allow connections from this host.
//
// @type string
// @default "0.0.0.0"
//
2014-09-13 18:41:11 +02:00
host: "0.0.0.0",
2014-09-15 23:54:01 +02:00
2014-09-14 19:50:00 +02:00
//
// Set the port to listen on.
//
// @type int
// @default 9000
//
port: 9000,
//
// Set the default theme.
//
// @type string
// @default "themes/example.css"
//
2014-09-13 18:41:11 +02:00
theme: "themes/example.css",
2014-09-14 19:50:00 +02:00
//
2014-09-25 00:23:54 +02:00
// Autoload users
//
// When this setting is enabled, your 'users/' folder will be monitored. This is useful
// if you want to add/remove users while the server is running.
//
// @type boolean
// @default true
//
autoload: true,
2014-09-16 21:47:01 +02:00
//
// Log settings
//
// Logging has to be enabled per user. If enabled, logs will be stored in
// the '/users/<user>/logs/' folder.
//
// @type object
// @default {}
//
logs: {
//
// Timestamp format
//
// @type string
// @default "YYYY-MM-DD HH:mm:ss"
//
format: "YYYY-MM-DD HH:mm:ss",
//
// Timezone
//
// @type string
// @default "UTC+00:00"
//
timezone: "UTC+00:00"
},
2014-09-15 23:54:01 +02:00
//
// Default values for the 'Connect' form.
//
// @type object
// @default {}
//
defaults: {
//
// Name
//
// @type string
// @default "Freenode"
//
name: "Freenode",
//
// Host
//
// @type string
// @default "irc.freenode.org"
//
host: "irc.freenode.org",
//
// Port
//
// @type int
// @default 6697
//
port: 6697,
//
// Password
//
// @type string
// @default ""
//
password: "",
//
// Enable TLS/SSL
//
// @type boolean
// @default true
//
tls: true,
//
// Nick
//
// @type string
// @default "shout-user"
//
nick: "shout-user",
//
// Real Name
//
// @type string
// @default "Shout User"
//
realname: "Shout User",
//
// Channels
//
// @type string
// @default "#foo, #shout-irc"
//
join: "#foo, #shout-irc"
2014-09-27 01:26:21 +02:00
},
//
// Run Shout with HTTPS support.
//
// @type object
// @default {}
//
https: {
//
// Enable HTTPS support.
//
// @type boolean
// @default false
//
enable: false,
//
// Path to the key.
//
// @type string
// @example "sslcert/key.pem"
// @default ""
//
key: "",
//
// Path to the certificate.
//
// @type string
// @example "sslcert/key-cert.pem"
// @default ""
//
certificate: ""
2014-09-15 23:54:01 +02:00
}
2014-09-13 18:41:11 +02:00
};