Configuration: Difference between revisions

From Citizens Wiki

No edit summary
Line 24: Line 24:
   {{H:title|The username for the database connection.|username: ''}}
   {{H:title|The username for the database connection.|username: ''}}
   {{H:title|The URL for connecting to the database.|url: ''}}
   {{H:title|The URL for connecting to the database.|url: ''}}
   {{H:title|The driver to use when connecting to the database.|driver: ''}}
   {{H:title|The driver to use when connecting to the database. Eg. MySQL, SQLite, H2|driver: ''}}
  <nowiki></nowiki>{{H:title|General settings regarding Citizens|general:}}
  <nowiki></nowiki>{{H:title|General settings regarding Citizens|general:}}
   {{H:title|Whether to be in debug mode or not. Prints more messages to console about Citizens.|debug-mode: false}}
   {{H:title|Whether to be in debug mode or not. Prints more messages to console about Citizens.|debug-mode: false}}

Revision as of 07:43, 21 July 2012

Citizens configuration is handled in the file /plugins/Citizens/config.yml. See below for detailed information on each setting. For more information on text nodes such as <npc>, see the Text Syntax page.

Default Configuration

Mouse over each field to see what each one is used for.

# Citizens Configuration
npc:
 chat:
   prefix: '[<npc>]: '
 selection:
   quick-select: false
   item: 280
   message: <b>You selected <a><npc><b>!
 default:
   look-close: false
   random-talker: true
   talk-close: false
 talk:
   max-cooldown: 60
   min-cooldown: 30
   talk-item: 340
 server-ownership: false
database:
 password: 
 username: 
 url: 
 driver: 
general:
 debug-mode: false
use-database: false