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.

98 lines
2.4 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
},
"action":
{
"welcome":
{
"message":
[
"Welcome to KevaChat!",
"Enter captcha to confirm you are human:"
],
"debug":
{
"enabled":true,
"template":"[{time}] welcome {host}:{port} captcha: {code}"
}
},
"pending":
{
"message":
{
"success":
[
"Good, enter your message:"
],
"failure":
[
"Something went wrong, try again later!"
]
},
"debug":
{
"enabled":true,
"template":"[{time}] pending {host}:{port} captcha: {code} sent: {sent}"
}
},
"handler":
{
"message":
{
"success":
[
"Thanks, your message successfully sent!"
],
"failure":
[
"Something went wrong, please make your feedback!"
]
},
"debug":
{
"enabled":true,
"template":"[{time}] handler {host}:{port} captcha: {code} sent: {sent} length: {size} bytes {data}"
}
}
},
"captcha":
{
"enabled":true,
"length":3,
"chars":"1234567890",
"dimensions":
{
"width":100,
"height":40
},
"background":
{
"r":0,
"g":0,
"b":0
},
"ascii":
{
"width": 50
}
}
}
}