Difference between revisions of "2.0/Modules/m redis"
From AnopeWiki
(Created page with "{{Language|2.0/Modules/m_redis}} {{Header|m_redis|Database|Anope}} == <div class="moduleheader">Description</div> == This module allows other modules to use Redis databases. ...") |
|||
Line 6: | Line 6: | ||
;name= :Name of module | ;name= :Name of module | ||
− | ;rdis {...} | + | ;rdis {...} : |
:;name= :Name of the service '''DO NOT ALTER THIS''' | :;name= :Name of the service '''DO NOT ALTER THIS''' | ||
:;db= :The database to use. | :;db= :The database to use. |
Latest revision as of 15:54, 13 May 2014
Language | |
---|---|
English |
|
Description
This module allows other modules to use Redis databases.
- name=
- Name of module
- rdis {...}
-
- name=
- Name of the service DO NOT ALTER THIS
- db=
- The database to use.
- ip=
- IP Address of the server to connect to.
- port
- Port to connect to the server with.
Default Configuration
/* * m_redis * * This module allows other modules to use Redis. */ #module { name = "m_redis" /* A redis database */ redis { /* The name of this service */ name = "redis/main" /* * The redis database to use. New connections default to 0. */ db = 0 ip = "127.0.0.1" port = 6379 } }