Separate out into different directories and reshuffle configuration directives

This commit is contained in:
2018-01-17 19:02:41 +00:00
parent 12b6fe2acb
commit a7599dddfe
4 changed files with 82 additions and 26 deletions

40
conf/example.json Normal file
View File

@@ -0,0 +1,40 @@
{
"Listener": {
"Port": 13867,
"Address": "127.0.0.1",
"UseSSL": true,
"Key": "key.pem",
"Certificate": "cert.pem"
},
"UsePassword": true,
"ConnectOnCreate": false,
"HighlightNotifications": true,
"Dist": {
"Enabled": true,
"SendOutput": false,
"File": "conf/dist.sh"
},
"Password": "s",
"Default": {
"host": null,
"port": null,
"protocol": null,
"bind": null,
"timeout": 30,
"nickname": null,
"username": null,
"realname": null,
"userinfo": null,
"finger": null,
"version": null,
"source": null,
"autojoin": [],
"authtype": null,
"password": null,
"authentity": "NickServ",
"key": "key.pem",
"certificate": "cert.pem",
"enabled": true
},
"Master": [null, null]
}

19
conf/help.json Normal file
View File

@@ -0,0 +1,19 @@
{
"pass": "pass <password>",
"logout": "logout",
"add": "add <name> [<address>] [<port>] [<ssl|plain>] [<nickname>]",
"del": "del <name>",
"mod": "mod <name> [<key>] [<value>]",
"default": "default [<key>] [<value>]",
"get": "get <name> <variable>",
"key": "key <master|show|add|del|except|unexcept|showexcept|monitor> [<name>] [<target>] [<key>] [<on|off>]",
"who": "who <nick>",
"join": "join <name> <channel> [<key>]",
"enable": "enable <name>",
"disable": "disable <name>",
"list": "list",
"stats": "stats",
"save": "save <config|keyconf|pool|help|wholist|all>",
"load": "load <config|keyconf|pool|help|wholist|all>",
"dist": "dist"
}

6
conf/keyword.json Normal file
View File

@@ -0,0 +1,6 @@
{
"Keywords": [
"kek"
],
"KeywordsExcept": {}
}