Configuration: Difference between revisions

From Citizens Wiki

Line 2: Line 2:


==Default Configuration==
==Default Configuration==
<pre>
# Citizens Configuration
npc:
  chat:
    prefix: '[<npc>]: '
  default:
    look-close:
      range: 5
      enabled: false
    random-talker: true
    talk-close:
      range: 5
      enabled: false
    text:
      '0': Hi, I'm <npc>!
    realistic-looking: false
    look-close-range: 5
    talk-close-range: 5
    pathfinding:
      range: 25.0
    stationary-ticks: -1
  selection:
    quick-select: false
    item: '280'
    message: <b>You selected <a><npc><b>!
  server-ownership: false
  text:
    max-talk-cooldown: 60
    min-talk-cooldown: 30
    talk-item: '340'
  pathing:
    default-pathfinding-range: 25.0
  limits:
    default-limit: 10
    max-permission-checks: 100
storage:
  database:
    driver: ''
    password: ''
    url: ''
    username: ''
  file: saves.yml
  type: yaml
  save-task:
    delay: 72000
general:
  debug-mode: false
subplugins:
  folder: plugins
economy:
  npc:
    cost: 100.0
</pre>
Mouse over each field to see what each one is used for.
Mouse over each field to see what each one is used for.
  <nowiki></nowiki># Citizens Configuration
  <nowiki></nowiki># Citizens Configuration

Revision as of 20:29, 3 September 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

# Citizens Configuration

npc:
  chat:
    prefix: '[<npc>]: '
  default:
    look-close:
      range: 5
      enabled: false
    random-talker: true
    talk-close:
      range: 5
      enabled: false
    text:
      '0': Hi, I'm <npc>!
    realistic-looking: false
    look-close-range: 5
    talk-close-range: 5
    pathfinding:
      range: 25.0
    stationary-ticks: -1
  selection:
    quick-select: false
    item: '280'
    message: <b>You selected <a><npc><b>!
  server-ownership: false
  text:
    max-talk-cooldown: 60
    min-talk-cooldown: 30
    talk-item: '340'
  pathing:
    default-pathfinding-range: 25.0
  limits:
    default-limit: 10
    max-permission-checks: 100
storage:
  database:
    driver: ''
    password: ''
    url: ''
    username: ''
  file: saves.yml
  type: yaml
  save-task:
    delay: 72000
general:
  debug-mode: false
subplugins:
  folder: plugins
economy:
  npc:
    cost: 100.0


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'