Skip to content

botmasters/ircgrampp-plugin-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Plugin for ircgrampp to manage commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published