KevaChat App for NPS Protocol
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
2.6 KiB

{
"kevacoin":
{
"server":
{
"protocol":"http",
"host":"127.0.0.1",
"port":9992,
"username":"",
"password":""
}
},
"nps":
{
"server":
{
"host":"127.0.0.1",
"port":1915,
"size":3072,
"line":1024
},
"session":
{
"captcha":
{
"length":3,
"chars":"1234567890",
"dimensions":
{
"width":100,
"height":40
},
"background":
{
"r":0,
"g":0,
"b":0
},
"ascii":
{
"width": 50
}
}
},
"action":
{
"welcome":
{
"message":
[
7 months ago
"\u001b[34m\u001b[1mWelcome to KevaChat!\u001b[0m",
"\u001b[34mEnter captcha to confirm you are human:\u001b[0m"
],
"debug":
{
"enabled":true,
7 months ago
"template":"[{time}] [welcome] {host}:{port} captcha: {code}"
}
},
"pending":
{
"message":
{
"success":
[
7 months ago
"\u001b[34mLooks good, now enter your message:\u001b[0m"
],
"failure":
[
7 months ago
"\u001b[31mSomething went wrong, try again later!\u001b[0m"
]
},
"debug":
{
"enabled":true,
7 months ago
"template":"[{time}] [pending] {host}:{port} captcha: {code} sent: {sent}"
}
},
"handler":
{
"message":
{
"success":
[
7 months ago
"\u001b[32mThanks, your message successfully sent!\u001b[0m"
],
"failure":
[
7 months ago
"\u001b[31mSomething went wrong, please make your feedback!\u001b[0m"
]
},
"debug":
{
"enabled":true,
7 months ago
"template":"[{time}] [handler] {host}:{port} captcha: {code} sent: {sent} length: {size} bytes {data}"
}
}
}
}
}