PPF Home
Plugins
Developers
   Font size:      

Server Auth (v1.2)

PDF
PDF

Description

This plugin allows you to auth your bot with the IRC server system.

The Server Auth plugin allows you to auth your bot with an IRC server system so that you can automatically op or voice the bot. The auth request can be sent when the bot connects to the server or triggered at a later time with a command.

Configuration

The configuration file for this plugin is system/ServerAuth/ServerAuthConfig.xml

commandServerAuth

The command for authing with a network bot. You can set the authLevel to control who is allowed to access the command.

  • authLevel - ANY, ADMIN, MASTER, TRUSTED, NONE

    <commandServerAuth authLevel="admin">!sauth</commandServerAuth>

    

authBot

The system bot to send the auth request to. The messageAtStartup attribute can be set to yes or no. When it is set to yes, the bot will try to auth when connecting to the IRC network. When set to no, it won't try to do it automatically.


    <authBot messageAtStartup="yes">Q@CServe.quakenet.org</authBot>
    <authMessage>AUTH nick password</authMessage>
  
    <maskHost>yes</maskHost>

    

authMessage

The message to send to the system bot for the auth request to.


    <authMessage>AUTH nick password</authMessage>

    

maskHost

Whether to mask the hostname or not. This is server dependant.


    <maskHost>yes</maskHost>

    

Commands

Auth with a network service bot

Command: !sauth
Description: Sends configured auth information
Auth Level: admin
Where to give command: private message
Outputs to: Bot will auth
Example(s):

  • !sauth

Change History

v1.2 Added support to join channels not in before authing (if join was performed to a registered channel before actaully being authed)
v1.1 Added config to allow bot to auth on connect or not and added private command to trigger the auth
v1.0 First Version by DeadEd