Orixon / Docs / ChanServ / Access management (FLAGS)

ChanServ – Access management (FLAGS)

How to manage user permissions in IRC channels with ChanServ's FLAGS system on Anope.

The FLAGS system

ChanServ uses a system of flags to give users fine-grained permissions in channels. Each flag corresponds to a specific power.

/msg ChanServ FLAGS #canale <nick> +[flags]    ← aggiunge flags
/msg ChanServ FLAGS #canale <nick> -[flags]    ← rimuove flags
/msg ChanServ FLAGS #canale <nick> =[flags]    ← imposta esattamente queste flags
/msg ChanServ FLAGS #canale                     ← lista accessi

List of flags

FlagNameDescription
+qOwnerChannel owner (~). Highest access.
+aAdminChannel admin (&). Can't be kicked by @.
+oOpOperator (@). Can kick, ban and change the topic.
+hHalfOpHalf-operator (%). Limited powers.
+vVoiceVoice (+). Can speak when +m is set.
+AAutoOpAutomatically gets op on joining.
+VAutoVoiceAutomatically gets voice on joining.
+iInvite / AutoInviteCan invite themselves or use invite in channels set to +i.
+fFounderFounder access: all powers.
+sSetCan use the SET command on the channel.
+bBanCan ban users.
+kKickCan kick users.
+cClearCan use CLEAR to remove bans, modes or privileges from the channel.
+tTopicCan change the topic.
+FFlagsCan change other users' access, within the limits allowed by their own level.
+*AllAssigns all available flags.

Practical examples

Give automatic op to a trusted user
/msg ChanServ FLAGS #miocanale Mario +oA
Give automatic voice to a user
/msg ChanServ FLAGS #miocanale Lucia +vV
Remove all permissions from a user
/msg ChanServ FLAGS #miocanale BadUser -*
See the channel's full access list
/msg ChanServ FLAGS #miocanale

ACCESS LIST (AOP / SOP / HOP / VOP)

Besides the FLAGS system, some ChanServ configurations also allow the traditional access lists, based on predefined levels such as AOP, SOP, HOP and VOP.

This system is simpler but also less fine-grained than FLAGS. Where available, it's generally used to quickly assign the most common roles within the channel.

Most common commands
/msg ChanServ QOP #canale ADD nick
/msg ChanServ QOP #canale DEL nick
/msg ChanServ QOP #canale LIST
  
/msg ChanServ SOP #canale ADD nick
/msg ChanServ SOP #canale DEL nick
/msg ChanServ SOP #canale LIST

/msg ChanServ AOP #canale ADD nick
/msg ChanServ AOP #canale DEL nick
/msg ChanServ AOP #canale LIST

/msg ChanServ HOP #canale ADD nick
/msg ChanServ HOP #canale DEL nick
/msg ChanServ HOP #canale LIST

/msg ChanServ VOP #canale ADD nick
/msg ChanServ VOP #canale DEL nick
/msg ChanServ VOP #canale LIST
ListAssigned roleTypical use
QOPCo-Owner (~)The most trusted users in managing the channel; they can do everything except unregister the channel.
SOPSuperOp (&)The most trusted users in managing the channel.
AOPAutoOp (@)Users who should automatically get operator status.
HOPHalfOp (%)Users with intermediate powers, if the network supports halfop status.
VOPVoice (+)Users who should automatically get voice on joining.
Note: the FLAGS system is generally more flexible and recommended, because it lets you assign precise, combinable permissions. Traditional access lists can be useful for quicker, simpler management.

AKICK – Auto-ban list

AKICK automatically bans users or masks every time they join the channel, even when no operators are active.

/msg ChanServ AKICK #canale ADD *!*@host-spam.example :Spam ripetuto
/msg ChanServ AKICK #canale ADD BadNick :Comportamento scorretto
/msg ChanServ AKICK #canale LIST
/msg ChanServ AKICK #canale DEL *!*@host-spam.example
/msg ChanServ AKICK #canale VIEW    ← dettagli con data e chi ha aggiunto