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.

122 lines
3.2 KiB

{
"kevacoin":
{
"server":
{
"protocol":"http",
"host":"127.0.0.1",
"port":9992,
"username":"",
"password":""
},
"wallet":
{
"namespace":"",
"account":null
}
},
"nps":
{
"server":
{
"host":"127.0.0.1",
"port":1915
},
"captcha":
{
"length":3,
"chars":"1234567890",
"dimensions":
{
"width":100,
"height":40
},
"background":
{
"r":0,
"g":0,
"b":0
},
"ascii":
{
"width": 50
}
},
"event":
{
"init":
{
"debug":
{
"enabled":true,
"template":"[{time}] [init] listen on {host}:{port} balance: {keva}"
}
},
"open":
{
"response":
[
7 months ago
"\u001b[34m\u001b[1mWelcome to KevaChat!\u001b[0m",
"\u001b[34mEnter captcha to confirm you are human\u001b[0m"
],
"debug":
{
"enabled":true,
"template":"[{time}] [open] {host}#{crid} captcha: {code}"
}
},
"message":
{
"response":
{
"captcha":
{
"success":
[
"\u001b[34mGood, now enter your message!\u001b[0m"
],
"failure":
[
"\u001b[31mIncorrect captcha code, try again later!\u001b[0m"
]
},
"submit":
{
"success":
[
"\u001b[32mThanks, your message successfully sent!\u001b[0m"
],
"failure":
{
"internal":
[
"\u001b[31mSomething went wrong, please make your feedback!\u001b[0m"
]
}
}
},
"debug":
{
"enabled":true,
"template":"[{time}] [message] {host}#{crid} captcha: {code} size: {size} bytes \n\r{sent}."
}
},
"close":
{
"debug":
{
"enabled":true,
"template":"[{time}] [close] {host}#{crid}"
}
},
"error":
{
"debug":
{
"enabled":true,
"template":"[{time}] [error] {host}#{crid} {info}"
}
}
}
}
}