Saving and storing channel invite lines.

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Locked
b00mbAAm
Posts: 1
Joined: Tue Oct 09, 2018 10:17 pm

Saving and storing channel invite lines.

Post 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.
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Saving and storing channel invite lines.

Post 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).
CrazyCat
Posts: 214
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

Re: Saving and storing channel invite lines.

Post by CrazyCat »

The other way is to use an eggdrop, wich can manage invite list.
SnowBlind
Posts: 5
Joined: Thu Oct 25, 2018 1:27 pm
Location: USA
Contact:

Re: Saving and storing channel invite lines.

Post 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.
Moyal
Posts: 1
Joined: Tue Nov 06, 2018 8:54 am

Re: Saving and storing channel invite lines.

Post 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?
Experts strongly suggest testosterone boosters for many reasons.
CrazyCat
Posts: 214
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

Re: Saving and storing channel invite lines.

Post 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.
Locked