2017 © Pedro Peláez
 

library phergie-irc-plugin-react-nickserv

Phergie plugin for interacting with the NickServ agent to authenticate the bot's identity

image

phergie/phergie-irc-plugin-react-nickserv

Phergie plugin for interacting with the NickServ agent to authenticate the bot's identity

  • Sunday, April 30, 2017
  • by elazar
  • Repository
  • 4 Watchers
  • 2 Stars
  • 984 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 3 Forks
  • 2 Open issues
  • 9 Versions
  • 1 % Grown

The README.md

This project is abandoned

This repo is being kept for posterity and will be archived in a readonly state. If you're interested it can be forked under a new Composer namespace/GitHub organization., (*1)

phergie/phergie-irc-plugin-react-nickserv

Phergie plugin for interacting with the NickServ agent to authenticate the bot's identity., (*2)

Build Status, (*3)

Install

The recommended method of installation is through composer., (*4)

composer require phergie/phergie-irc-plugin-react-nickserv

See Phergie documentation for more information on installing and enabling plugins., (*5)

Configuration

'plugins' => array(
    new \Phergie\Irc\Plugin\React\NickServ\Plugin(array(

        // Required: password used to authenticate with NickServ
        'password' => 'YOUR-NICKSERV-PASSWORD-HERE',

        /* Everything else is optional! */

        // NickServ's nickname
        'botnick' => 'NickServ',

        // Whether or not to attempt to "ghost" the primary nick if it's in use
        'ghost' => false,

        // Regex pattern matching a NickServ notice asking for identification
        'identifypattern' => '/This nickname is registered/',

        // Regex pattern matching a NickServ notice indicating a successful login
        'loggedinpattern' => '/You are now identified/',

        // Regex pattern matching a NickServ notice indicating the nickname has been ghosted
        'ghostpattern' => '/has been ghosted/',
    )),

    // If 'ghost' is true, an alternative nickname plugin is required. See "Ghosting" below.
    new \PSchwisow\Phergie\Plugin\AltNick\Plugin(array(
        'nicks' => /* ... */
    )),
)

Ghosting

This plugin has a 'ghost' feature: if the configuration option is set, and your primary nickname is in use when you join the server, it will ask NickServ to kill your primary nickname and then switch to it if the command is successful., (*6)

If you want to use this feature, then note that the NickServ plugin will not automatically change your nickname for you if your primary nickname is in use. You will need to use a different plugin, such as AltNick, to provides the server with an alternative nickname when your primary nickname is in use., (*7)

If your primary nickname is in use, and no plugin provides the server with an alternative nickname, then the server will close the connection before the NickServ plugin can attempt to regain your primary nickname., (*8)

Events

This plugin emits the following event:, (*9)

Event name Callback parameters Emitted on
nickserv.identified
  • `\Phergie\Irc\ConnectionInterface $connection`
  • `\Phergie\Irc\Bot\React\EventQueueInterface $queue`

| Successful NickServ login, (*10)

Tests

To run the unit test suite:, (*11)

curl -s https://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit

License

Released under the BSD License. See LICENSE., (*12)

The Versions

30/04 2017

dev-master

9999999-dev

Phergie plugin for interacting with the NickServ agent to authenticate the bot's identity

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc react

18/12 2016

dev-feature/update-travis-version

dev-feature/update-travis-version

Phergie plugin for interacting with the NickServ agent to authenticate the bot's identity

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc react

22/12 2015

2.0.0

2.0.0.0

Phergie plugin for interacting with the NickServ agent to authenticate the bot's identity

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc react

22/12 2015

dev-phergie-version2

dev-phergie-version2

Phergie plugin for interacting with the NickServ agent to authenticate the bot's identity

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc react

12/06 2015

1.3.1

1.3.1.0

Phergie plugin for interacting with the NickServ agent to authenticate the bot's identity

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc react

27/05 2015

1.3.0

1.3.0.0

Phergie plugin for interacting with the NickServ agent to authenticate the bot's identity

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc react

10/01 2015

1.2.0

1.2.0.0

Phergie plugin for interacting with the NickServ agent to authenticate the bot's identity

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc react

24/12 2014

1.1.0

1.1.0.0

Phergie plugin for interacting with the NickServ agent to authenticate the bot's identity

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc react

29/05 2014

1.0.0

1.0.0.0

Phergie plugin for interacting with the NickServ agent to authenticate the bot's identity

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc react