Ikx IRC Bot





Installs: 6

Dependents: 0

Suggesters: 0

Security: 0


1.1.3 2019-02-19 18:14 UTC

This package is auto-updated.

Last update: 2021-02-19 23:54:09 UTC



Ikx IRC Bot has the following requirements:

  • PHP 7.2 or later
  • MongoDB v3.6 or later
  • cURL extension enabled
  • MongoDB extension enabled

Running Ikx on Windows

Due to limitations in PHP's pcntl extension, running Ikx on Windows is currently not supported. Please run Ikx on OSX or Linux.


Installation is simple: just create a project with composer and everything will be installed automatically. Run the following command to install the Ikx IRC Bot:

composer create-project ikxbot/ikx ikx-irc-bot

Ikx IRC bot will be installed in the ikx-irc-bot folder.


Ikx IRC Bot uses a YAML formatted configuration file. See app/config.example.yml for a documented configuration example. You can also use this file to create a configuration file for your own IRC Bot.

Configuration example

  # Defaults-block
  # ---------
  # Defines default settings for the bot, which will be shared throughout all networks
  # All settings in defaults can me overridden on network level
    # Me-block
    # ---------
    # Identifies the bot on the server
    # nickname: the bot's nickname(s) (separate with spaces to select a random nickname when connecting)
    # altnick: the bot's alternative nickname(s) (separate with spaces to select a random nickname when the nickname is taken)
    # username: the bot's username (ident)
    # gecos: the bot's gecos (realname)
    nickname: "Ikx"
    altnick: "Ikx` Ikx_"
    username: "IkxBot"
    gecos: "IkxBot"
    # Options-block
    # ---------
    # Specify several options for the bot
    # prefix: Command prefix character
    prefix: "-"
  # Networks-block
  # ---------
  # Specify networks to connect on
  # The networks-block is an array, with every item allowing having serveral requirements
  # identifier: The network identifier
  # address: an array of addresses available for this server
  #          in the format of: <ip>:<+port> <password>
  #          prefix the port with a plus (+) sign to connect using SSL
  # Every network also supports a me-block and an options-block, which allows to override the default settings above.
  # Only the specified settings in these blocks will be overridden.

  - identifier: "Hunter (Dev)"
      - "hunter.jrv.cc:+6697"
#  - identifier: "DevIRC"
#    address:
#      - "transip.devirc.net:6667"
#    options:
#      prefix: ":"

Running the bot

After you have configured the bot, you may want to let it connect to your IRC server. Ikx IRC Bot offers an easy console command which allows to run the bot:

php Ikx run