Page 1 of 1

Saving and storing channel invite lines.

Posted: Tue Oct 09, 2018 10:22 pm
by b00mbAAm
Is there a way to save the channel invite list (user!*@*) so one can avoid manually setting each invite line for each channel upon starting/restarting the server? If so, how?

Not quite sure if this is UnrealIRCD or services related, but any help would be appreciated.

Re: Saving and storing channel invite lines.

Posted: Mon Oct 15, 2018 2:51 pm
by Syzop
If anything, it would be in services. Not sure if they have it. You may want to ask on the anope forums (or whichever services you use).

Re: Saving and storing channel invite lines.

Posted: Tue Oct 16, 2018 3:18 pm
by CrazyCat
The other way is to use an eggdrop, wich can manage invite list.

Re: Saving and storing channel invite lines.

Posted: Thu Oct 25, 2018 2:25 pm
by SnowBlind
Remember that the IRCd does not retain persistent information by design.

Run multiple linked servers so that one will retain the channel information as the other(s) are restarted. There are some caveats to this, such as a client will need to be connected to each server and joined to the channel to make sure the channel isn't ever destroyed (0 users). It's possible to set the +P Persistent Mode of the channel, however, I have not tested this.

Anope Services. Registering the channel with Anope Services /ChanServ and using /ChanServ mode #channel lock add +I <mask>. It may require a /BotServ bot in the channel as well. I didn't test it without the bot. I've tested this and the mode is persistent on restart. This mode is independent of the Invite Only channel mode setting (+i). Example;

Code: Select all

/chanserv mode #Lobby lock add +I *@*.unrealircd.org
Or as previously stated, an Eggdrop or custom coded bot to maintain the channel modes.

I highly recommend Anope Services.

Re: Saving and storing channel invite lines.

Posted: Mon Nov 12, 2018 9:49 am
by Moyal
CrazyCat wrote: Tue Oct 16, 2018 3:18 pm The other way is to use an eggdrop, wich can manage invite list.
How reliable is eggdrop for managing invite lists? Do you use it for that, CrazyCat?

Re: Saving and storing channel invite lines.

Posted: Tue Nov 13, 2018 7:56 am
by CrazyCat
If your eggdrop is @ on a channel and if use-invites is set in the configuration file, you just add the invites in the partyline:

Code: Select all

.+invite user!name@host #channel
(it understand wildcards)
The eggdrop automaticaly add the +I for a certain delay.
You have several options letting you to have the invites permanents, or dynamic (the user must ask the eggdrop)...

I sometimes use it to protect channels when there's flood-join attacks: the eggdrop invite' list is alway filled with the users I trust, and when the chan is set +i, the eggdrop automaticaly add the good +I on the chan.