Value | Meaning |
---|---|
ignore0 | Override privilege checks, allowing anyone to trigger the annotated function. |
anyone10 | Anyone not explicitly blacklisted (with a IRCUser.Class.blacklist classifier) may trigger the annotated function. As such, to know if they're blacklisted, unknown users will first be looked up with a WHOIS query before allowing the function to trigger. |
registered20 | Anyone logged onto services may trigger the annotated function. |
whitelist30 | Only users with a IRCUser.Class.whitelist classifier (or higher) may trigger the annotated function. |
elevated40 | Only users with a IRCUser.Class.elevated classifier (or higher) may trigger the annotated function. |
operator50 | Only users with a IRCUser.Class.operator classifier (or higher) may trigger the annotated function. Note: this does not mean IRC "+o" operators. |
staff60 | Only users with a IRCUser.Class.staff classifier (or higher) may trigger the annotated function. These are channel owners. |
admin100 | Only users defined in the configuration file as an administrator may trigger the annotated function. |
What level of permissions is needed to trigger an event handler.
In any event handler context, the triggering user has a *level of privilege*. This decides whether or not they are allowed to trigger the function. Put simply this is the "barrier of entry" for event handlers.
Permissions are set on a per-channel basis and are stored in the "users.json" file in the resource directory.