Implementation of Admin plugin functionality regarding user classifiers. For internal use.
Implementation of Admin plugin functionality that borders on debugging. For internal use.
The Admin plugin is a plugin aimed for administrative use and debugging.
Adds a channel to the list of currently active home or guest channels, to the IRCBot.homeChannels and IRCBot.guestChannels arrays of the current AdminPlugin's IRCPluginState, respectively.
Implementation of cycling, called by onCommandCycle.
Removes a channel from the list of currently active home or guest channels, from the IRCBot.homeChannels and IRCBot.guestChannels arrays of the current AdminPlugin's IRCPluginState, respectively.
Populates the array of what incoming types to prettyprint to the local terminal.
Lists existing hostmask definitions.
Prints incoming events to the local terminal, in forms depending on which flags have been set with bot commands.
Receives a passed Boxed instance with the "admin" header, and calls functions based on the payload message.
Asks the ConnectService to (re-)authenticate to services.
Adds a nickname to the list of users who may not trigger the bot whatsoever, except on actions annotated Permissions.ignore.
Sends an internal bus message to other plugins, much like how such can be sent with the Pipeline plugin.
Cycles (parts and immediately rejoins) a channel.
Adds a nickname to the list of users who may trigger the bot, to the current list of IRCClient.Class.elevated users of the current AdminPlugin's IRCPluginState.
Fakes a string as having been sent by the server.
Fetches a setting of a given plugin, or a list of all settings of a given plugin if no setting name supplied.
Adds or removes channels to/from the list of currently active guest channels, in the IRCBot.guestChannels array of the current AdminPlugin's IRCPluginState.
Adds or removes channels to/from the list of currently active home channels, in the IRCBot.homeChannels array of the current AdminPlugin's IRCPluginState.
Joins a supplied channel temporarily, without recording as neither a home nor as a guest channel.
Adds, removes or lists hostmasks used to identify users on servers that don't employ services.
Adds a nickname or account to the list of users who may trigger lower-level functions of the bot, without being a full admin.
Parts a supplied channel.
Toggles a flag to print all incoming events *as individual bytes*.
Toggles a flag to prettyprint all incoming events, using kameloso.prettyprint.prettyprint.
Toggles a flag to print all incoming events *raw*.
Sends a IRCEvent.Type.QUIT event to the server.
Disconnect from and immediately reconnects to the server.
Re-executes the program.
Asks plugins to reload their resources and/or configuration as they see fit.
Saves current configuration to disk.
Performs self-tests against another bot.
Sets a plugin option by variable string name.
Prints the details of one or more specific, supplied users to the local terminal.
Prints out the current users array of the AdminPlugin's IRCPluginState to the local terminal.
Adds a nickname or account to the list of users who may trigger even lower level functions of the bot, without being a full admin. This roughly corresponds to channel owners.
Sends supplied text to the server, verbatim.
Causes a connection summary to be printed to the terminal.
Adds a nickname to the list of users who may trigger the bot, to the current IRCClient.Class.whitelist of the current AdminPlugin's IRCPluginState.
Sends what we know of the inquiring user.
Modifies eventTypesToPrint based on a string of comma-separated event types.
Performs self-tests against another bot.
The ChannelPolicy to mix in awareness with depending on whether version OmniscientAdmin is set or not.
All Admin plugin settings, gathered in a struct.
The Admin plugin features bot commands which help with debugging the current state, like printing the current list of users, the current channels, the raw incoming strings from the server, and some other things along the same line.
It also offers some less debug-y, more administrative functions, like adding and removing homes on-the-fly, whitelisting or de-whitelisting account names, adding/removing from the operator/staff lists, joining or leaving channels, and such.