mirror of https://github.com/kevachat/npsapp.git
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.
114 lines
3.0 KiB
114 lines
3.0 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, |
|
"size":3072, |
|
"line":1024 |
|
}, |
|
"session": |
|
{ |
|
"timeout":3600, |
|
"captcha": |
|
{ |
|
"length":3, |
|
"chars":"1234567890", |
|
"dimensions": |
|
{ |
|
"width":100, |
|
"height":40 |
|
}, |
|
"background": |
|
{ |
|
"r":0, |
|
"g":0, |
|
"b":0 |
|
}, |
|
"ascii": |
|
{ |
|
"width": 50 |
|
} |
|
} |
|
}, |
|
"action": |
|
{ |
|
"start": |
|
{ |
|
"debug": |
|
{ |
|
"enabled":true, |
|
"template":"[{time}] server started at {host}:{port} balance: {keva}" |
|
} |
|
}, |
|
"welcome": |
|
{ |
|
"message": |
|
[ |
|
"\u001b[34m\u001b[1mWelcome to KevaChat!\u001b[0m", |
|
"\u001b[34mEnter captcha to confirm you are human:\u001b[0m" |
|
], |
|
"debug": |
|
{ |
|
"enabled":true, |
|
"template":"[{time}] [welcome] {host}:{port} captcha: {code}" |
|
} |
|
}, |
|
"pending": |
|
{ |
|
"message": |
|
{ |
|
"success": |
|
[ |
|
"\u001b[34mLooks good, now enter your message:\u001b[0m" |
|
], |
|
"failure": |
|
[ |
|
"\u001b[31mSomething went wrong, try again later!\u001b[0m" |
|
] |
|
}, |
|
"debug": |
|
{ |
|
"enabled":true, |
|
"template":"[{time}] [pending] {host}:{port} captcha: {code} sent: {sent}" |
|
} |
|
}, |
|
"handler": |
|
{ |
|
"message": |
|
{ |
|
"success": |
|
[ |
|
"\u001b[32mThanks, your message successfully sent!\u001b[0m" |
|
], |
|
"failure": |
|
[ |
|
"\u001b[31mSomething went wrong, please make your feedback!\u001b[0m" |
|
] |
|
}, |
|
"debug": |
|
{ |
|
"enabled":true, |
|
"template":"[{time}] [handler] {host}:{port} captcha: {code} sent: {sent} length: {size} bytes {data}" |
|
} |
|
} |
|
} |
|
} |
|
} |