Hello, I have an IRC server and i am trying to configure it. However i face some difficulties as the .conf file gives me some errors. Can you help me out with this?
Please tell me if you need any more information. TIA.
Here are the errors:
Server: Notice -- error: unrealircd.conf:376: unknown directive set::set
[6:50] :> Server: Notice -- error: set::kline-address is missing
[6:50] :> Server: Notice -- error: set::maxchannelsperuser is missing
[6:50] :> Server: Notice -- error: 3 errors encountered
[6:50] :> Server: Notice -- error: IRCd configuration failed to pass testing
Please someone help me with this thing
Re: Please someone help me with this thing
What you pasted tells you what's wrong.
error: unrealircd.conf:376: unknown directive set::set
at or near line 376 you have specified a set block inside a set block.
error: unrealircd.conf:376: unknown directive set::set
at or near line 376 you have specified a set block inside a set block.
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
Re: Please someone help me with this thing
Please tell me whats wrong with this structure
set {
network-name "dummy";
default-server "Irc.bummy.Net";
services-server "Services.dummy.Net";
stats-server "Stats.dummy.Net";
help-channel "#Ndihme";
hiddenhost-prefix "dummy";
prefix-quit "klm";
cloak-keys {
"a2JO6fh3Q6w4oN3s7";
"Shfid6sfw3gqG8If";
"sdh3iAe2QH7UfdNsh";
};
hosts {
local "LocaL.Oper.dummy.Net";
global "Irc-Op.dummy.Net";
coadmin "ControL-dummy.Net";
admin "Server-dummy.Net";
servicesadmin "Services-dummy.Net";
netadmin "NetAdmin.dummy.Net";
host-on-oper-up "on";
};
set {
kline-address "[email protected]";
modes-on-connect "+iwxs";
modes-on-oper "+xwgs";
modes-on-join "ntTSCfj [2j#i1,5t#b]:5";
oper-auto-join "#Shqiperia,#ndihme,#dummy,#services,#kuiz,#staff,#admin,#opers";
auto-join "#Shqiperia";
dns {
"XX.XXX.XXX.XX";
timeout 2s;
retries 3;
};
options {
#hide-ulines;
show-connect-info;
flat-map;
};
maxchannelsperuser 15;
anti-spam-quit-message-time 10s;
static-quit "XXX";
static-part "XXX";
flat-map "Nuk keni access te mjaftuar per kete komand.";
oper-only-stats "on";
};
throttle {
connections 10;
period 300s;
};
anti-flood {
nick-flood 3:10;
};
spamfilter {
ban-time 1d;
ban-reason "Spam/Advertising";
virus-help-channel "#Ndihme";
};
};
set {
network-name "dummy";
default-server "Irc.bummy.Net";
services-server "Services.dummy.Net";
stats-server "Stats.dummy.Net";
help-channel "#Ndihme";
hiddenhost-prefix "dummy";
prefix-quit "klm";
cloak-keys {
"a2JO6fh3Q6w4oN3s7";
"Shfid6sfw3gqG8If";
"sdh3iAe2QH7UfdNsh";
};
hosts {
local "LocaL.Oper.dummy.Net";
global "Irc-Op.dummy.Net";
coadmin "ControL-dummy.Net";
admin "Server-dummy.Net";
servicesadmin "Services-dummy.Net";
netadmin "NetAdmin.dummy.Net";
host-on-oper-up "on";
};
set {
kline-address "[email protected]";
modes-on-connect "+iwxs";
modes-on-oper "+xwgs";
modes-on-join "ntTSCfj [2j#i1,5t#b]:5";
oper-auto-join "#Shqiperia,#ndihme,#dummy,#services,#kuiz,#staff,#admin,#opers";
auto-join "#Shqiperia";
dns {
"XX.XXX.XXX.XX";
timeout 2s;
retries 3;
};
options {
#hide-ulines;
show-connect-info;
flat-map;
};
maxchannelsperuser 15;
anti-spam-quit-message-time 10s;
static-quit "XXX";
static-part "XXX";
flat-map "Nuk keni access te mjaftuar per kete komand.";
oper-only-stats "on";
};
throttle {
connections 10;
period 300s;
};
anti-flood {
nick-flood 3:10;
};
spamfilter {
ban-time 1d;
ban-reason "Spam/Advertising";
virus-help-channel "#Ndihme";
};
};
Re: Please someone help me with this thing
you have 2 close braces at the bottom and are missing one at the end of the first set block thus making unreal think all that is one block. the close brace you see at ht bottom of the top set block is the close brace for your cloak keys sub-block, you need another to close the set block.
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
Re: Please someone help me with this thing
the brackets are all in order those are all closed & opened perfectly, & if i try to close te bracket of the first set block it gives me 12 other errors thats my problem 
Re: Please someone help me with this thing
Obviously they are not opened and closed perfectly or you wouldn't be getting errors. The 12 other errors are a completely different problem. Errors are the opposite of "perfectly".c00l wrote:the brackets are all in order those are all closed & opened perfectly, & if i try to close te bracket of the first set block it gives me 12 other errors thats my problem
Furthermore, I was slightly wrong, the other close brace goes below the hosts sub-block, not the cloak-keys.
I'll run it through indent for you so you can see.
Code: Select all
set {
network-name "dummy";
default-server "Irc.bummy.Net";
services-server "Services.dummy.Net";
stats-server "Stats.dummy.Net";
help-channel "#Ndihme";
hiddenhost-prefix "dummy";
prefix-quit "klm";
cloak-keys {
"a2JO6fh3Q6w4oN3s7";
"Shfid6sfw3gqG8If";
"sdh3iAe2QH7UfdNsh";
};
hosts {
local "LocaL.Oper.dummy.Net";
global "Irc-Op.dummy.Net";
coadmin "ControL-dummy.Net";
admin "Server-dummy.Net";
servicesadmin "Services-dummy.Net";
netadmin "NetAdmin.dummy.Net";
host-on-oper-up "on";
};
};
Code: Select all
set {
kline-address "[email protected]";
modes-on-connect "+iwxs";
modes-on-oper "+xwgs";
modes-on-join "ntTSCfj [2j#i1,5t#b]:5";
oper-auto-join "#Shqiperia,#ndihme,#dummy,#services,#kuiz,#staff,#admin,#opers";
auto-join "#Shqiperia";
dns {
"XX.XXX.XXX.XX";
timeout 2s;
retries 3;
};
options {
#hide-ulines;
show-connect-info;
flat-map;
};
maxchannelsperuser 15;
anti-spam-quit-message-time 10s;
static-quit "XXX";
static-part "XXX";
flat-map "Nuk keni access te mjaftuar per kete komand.";
oper-only-stats "on";
throttle {
connections 10;
period 300s;
};
anti-flood {
nick-flood 3:10;
};
spamfilter {
ban-time 1d;
ban-reason "Spam/Advertising";
virus-help-channel "#Ndihme";
};
};
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ