Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * [REQUIRED] Database configuration.
- *
- * This section is used to configure databases used by Anope.
- * You should at least load one database method, otherwise any data you
- * have will not be stored!
- */
- /*
- * [DEPRECATED] db_old
- *
- * This is the old binary database format from late Anope 1.7.x, Anope 1.8.x, and
- * early Anope 1.9.x. This module only loads these databases, and will NOT save them.
- * You should only use this to upgrade old databases to a newer database format by loading
- * other database modules in addition to this one, which will be used when saving databases.
- */
- module { name = "m_sqlite" }
- sqlite
- {
- /* The name of this service */
- name = "sqlite/main"
- /* The database name, it will be created if it does not exist. */
- database = "sqlite.db"
- }
- module { name = "db_old" }
- db_old
- {
- /*
- * This is the encryption type used by the databases. This must be set correctly or
- * your passwords will not work. Valid options are: md5, oldmd5, sha1, and plain.
- */
- #hash = "md5"
- }
- /*
- * m_sqlite
- *
- * This module allows other modules to use SQLite.
- */
- /*
- * [DEPRECATED] db_plain
- *
- * This is the flatfile database format from Anope-1.9.2 to Anope-1.9.5.
- * To convert from this format, load both this and db_flatfile. Be sure to name db_flatfile's
- * target database to something else. Start Anope then shut down so the new database will be written.
- * Then unload this and restart Anope, loading from the new database.
- */
- module { name = "db_plain" }
- db_plain
- {
- /*
- * The database name db_plain should use
- */
- database = "db_plain.db"
- }
- /*
- * db_flatfile
- *
- * This is the default flatfile database format.
- */
- module { name = "db_flatfile" }
- db_flatfile
- {
- /*
- * The database name db_flatfile should use
- */
- database = "db_flatfile.db"
- }
- /*
- * db_sql
- *
- * This module allows saving and loading databases using one of the SQL engines.
- *
- * WARNING: This module will delete every table in the database it uses. Be sure
- * to put Anope in its own separate database.
- */
- /*
- * db_sql_live_read, db_sql_live_write
- *
- * Enables (live) SQL support.
- *
- * The db_sql_live modules are an extension to db_sql, and should only be used if
- * db_sql is being used.
- *
- * The db_sql_live_read module pulls data in real time from
- * SQL as it is needed by the core.
- * At this time this supports the three main tables: ChannelInfo, NickAlias, and NickCore.
- *
- * The db_sql_live_write module writes data to SQL in real time as it is modified by
- * the core.
- *
- */
- #module { name = "db_sql_live_read" }
- #module { name = "db_sql_live_write" }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement