App-Pocosi
view release on metacpan or search on metacpan
example/config.json view on Meta::CPAN
{
"class": "POE::Component::Server::IRC",
"log_file": "/my/log.file",
"pid_file": "/my/pid.file",
"lib": "/my/modules",
"flood": "",
"auth": "1",
"config": {
"servername": "myserver.com",
"motd": [
"Welcome to this great server",
"",
"Enjoy your stay"
]
},
"plugins": [
["OperServ"]
],
"listeners": [
{
"bindaddr": "127.0.0.1",
"port": "10023"
}
],
"denials": [
[
"12.34.56.0/24",
"I don't like this IP block"
]
],
"exemptions": [
"12.34.56.78"
],
"operators": [
{
"username": "jack",
"password": "foo",
"ipmask": [
"127.0.0.1",
"1.2.3.4",
"192.168.1.0/24"
]
},
{
"username": "locke",
"password": "bar",
"ipmask": "10.0.0.*"
}
],
"auths": [
{
"password": "hlagh",
"no_tilde": "1",
"spoof": "jacob",
"mask": "*@example.com"
}
],
"peers": [
{
"raddress": "127.0.0.1",
"pass": "hlaghpass",
"auto": "1",
"name": "otherserver.com",
"type": "r",
"rport": "12345",
"rpass": "hlaghpass"
}
]
}
( run in 0.868 second using v1.01-cache-2.11-cpan-2398b32b56e )