Configuration: Difference between revisions

From Citizens Wiki

(Created page with "Citizens.yml is one of the primary plugin configuration files. It controls plugin-wide settings for things such as databases, [[Message Forma...")
 
No edit summary
Line 1: Line 1:
Citizens.yml is one of the primary plugin [[Configuration|configuration]] files. It controls plugin-wide settings for things such as [[Database Usage|databases]], [[Message Formatting|chat]], and [[Debugging|debugging]].
Citizens.yml is one of the primary plugin [[Configuration|configuration]] files. It controls plugin-wide settings for things such as [[Database Usage|databases]], [[Message Formatting|chat]], and [[Debugging|debugging]].
==Example Layout==
==Example Layout==
Mouse over each field to see what each one is used for.
  <nowiki></nowiki># Citizens Configuration
  <nowiki></nowiki># Citizens Configuration
  <nowiki></nowiki>{{H:title|The NPC block. All NPC specifics go here|npc:}}
  <nowiki></nowiki>{{H:title|The NPC block. All NPC specifics go here|npc:}}

Revision as of 12:51, 19 February 2012

Citizens.yml is one of the primary plugin configuration files. It controls plugin-wide settings for things such as databases, chat, and debugging.

Example Layout

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>!
general:
 debug-mode: false
use-database: false
database:
 password: 
 username: 
 url: 
 driver: