Configuration: Difference between revisions

From Citizens Wiki

Line 8: Line 8:
     {{H:title|Prefix that is put before all NPC dialogue lines|prefix: '[<npc>]: '}}
     {{H:title|Prefix that is put before all NPC dialogue lines|prefix: '[<npc>]: '}}
   {{H:title|Configuration on how to select NPCs|selection:}}
   {{H:title|Configuration on how to select NPCs|selection:}}
     {{H:title|Whether to enable quick select.|quick-select: false}}
     {{H:title|Whether to go to next task right after selecting NPC instead of having to click again|quick-select: false}}
     {{H:title|ID of item to use as selection tool|item: 280}}
     {{H:title|ID of item to use as selection tool|item: 280}}
     {{H:title|Message outputted to the player when they've selected an NPC|message: <nowiki><b>You selected <a><npc><b>!</nowiki>}}
     {{H:title|Message outputted to the player when they've selected an NPC|message: <nowiki><b>You selected <a><npc><b>!</nowiki>}}

Revision as of 20:15, 20 March 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