Anope IRC Services

Anope Development => Modules => Topic started by: AlexM on December 07, 2006, 12:53:25 AM

Title: Staff Only
Post by: AlexM on December 07, 2006, 12:53:25 AM
Hi guys,

I'm new to anope (was using atheme). I am so far enjoying your services alot more. (FEATURES!).

However I can't seem to find how to make a channel staff only. How do i do this?
Title:
Post by: katsklaw on December 07, 2006, 01:08:50 AM
Your ircd needs to support a few channel modes. Such as +O (opers only) or +A (Admin only).

Without these modes you would need to either

1> turn on restricted (/cs set #Channel restricted on), then add only your staff to the op list and finally set the modelock to +pnt

or

2> modelock the channel to +ipnt and add your staff to the op list and to get in the staff member will have to invite themselves with ChanServ.
Title:
Post by: AlexM on December 07, 2006, 01:27:11 AM
ok. that seems a little bit of a hassle. when i was using atheme you just use /cs set #channel staffonly on (iirc).

maybe a module could be written to do this?

thanks though
Title:
Post by: katsklaw on December 07, 2006, 01:37:06 AM
yes this can be done in a module. I'll take the liberty and move this to the modules forum. :)
Title:
Post by: AlexM on December 07, 2006, 01:45:21 AM
Any tutorials for writing anope modules? I'd like to have a go at it or if one already exists/can be changed to work, modify it.
Title:
Post by: katsklaw on December 07, 2006, 02:36:47 AM
you can see some demos in anope-1.7.x/src/modules/demos Although any module can used as an example.
Title:
Post by: Dave Robson on December 07, 2006, 07:29:25 AM
http://wiki.anope.org/index.php/Modules:Tutorials:Basics