Configuration: Difference between revisions

From Citizens Wiki

No edit summary
Line 28: Line 28:
   {{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}}
  <nowiki></nowiki>{{H:title|Whether to use databases or not.|use-database: false}}
  <nowiki></nowiki>{{H:title|Whether to use databases or not.|use-database: false}}
<nowiki></nowiki>{{H:title|Subplugin settings|subplugins:}}
  {{H:title|The folder to load subplugins from|folder: 'plugins'}}


{{NavBox}}
{{NavBox}}
[[Category:Configuration]]
[[Category:Configuration]]

Revision as of 05:34, 24 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
subplugins:
 folder: 'plugins'