ircgrampp-plugin-commands

0.1.0 • Public • Published

Plugin for ircgrampp to adda commands

Install & Configure

Install as globaly:

# npm install -g ircgrampp-plugin-commands

Add file {ircgrampp_config_dir}/plugins/commands.yml with the follow content:

name commands 
enable true

Bridge configuration

Each bridge is defined with the bridge name and params, for example, if you have a bridge name friends:

name commandas 
enable true

friends:
  enable: true
  permissions:
   - admin
   - custom
  admins:
   - jhon
   - jonny
  namespaces:
    example:
      prefix: "myplug:" # All comands like !myplug:list !myplug:save , etc
      permissions:
        - admin

Options (By bridge)

Option Type Required Default Description
enable bool No false Enable plugin
permissions string, string[] No all General types of permisions*
admins string, string[] No empty List of users in case of custom
allowBots bool No false Allow bots to execute command
namespaces object[] No empty Custo config for namespaces

* Permisions can be: all, admin, custom

Options (By namespace)

Option Type Required Default Description
prefix string No Same as name Prefix to match, ex. ban
permissions string, string[] No empty Extends access permissions
admins string, string[] No empty Extends access users
allowBots bool No false Allow bots to execute command

Readme

Keywords

none

Package Sidebar

Install

npm i ircgrampp-plugin-commands

Weekly Downloads

0

Version

0.1.0

License

GPL-2.0

Unpacked Size

8.13 kB

Total Files

4

Last publish

Collaborators

  • exos