Configuration: Difference between revisions

From Citizens Wiki

No edit summary
Line 10: Line 10:
   default:
   default:
     look-close:
     look-close:
      enabled: false
       range: 5
       range: 5
       enabled: false
    pathfinding:
       range: 25.0
     random-talker: true
     random-talker: true
    realistic-looking: false
    stationary-ticks: -1
     talk-close:
     talk-close:
      enabled: false
       range: 5
       range: 5
      enabled: false
     text:
     text:
       '0': Hi, I'm <npc>!
       '0': Hi, I'm <npc>!
    realistic-looking: false
  limits:
     look-close-range: 5
     default-limit: 10
     talk-close-range: 5
     max-permission-checks: 100
    pathfinding:
      range: 25.0
    stationary-ticks: -1
   selection:
   selection:
     quick-select: false
     quick-select: false
Line 33: Line 34:
     min-talk-cooldown: 30
     min-talk-cooldown: 30
     talk-item: '340'
     talk-item: '340'
  pathing:
    default-pathfinding-range: 25.0
  limits:
    default-limit: 10
    max-permission-checks: 100
storage:
storage:
   database:
   database:
Line 44: Line 40:
     url: ''
     url: ''
     username: ''
     username: ''
  save-task:
    delay: 72000
   file: saves.yml
   file: saves.yml
   type: yaml
   type: yaml
  save-task:
    delay: 72000
general:
general:
   debug-mode: false
   debug-mode: false
subplugins:
  folder: plugins
economy:
economy:
   npc:
   npc:
     cost: 100.0
     cost: 100.0
subplugins:
  folder: plugins
</pre>
</pre>



Revision as of 20:49, 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:
      enabled: false
      range: 5
    pathfinding:
      range: 25.0
    random-talker: true
    realistic-looking: false
    stationary-ticks: -1
    talk-close:
      enabled: false
      range: 5
    text:
      '0': Hi, I'm <npc>!
  limits:
    default-limit: 10
    max-permission-checks: 100
  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'
storage:
  database:
    driver: ''
    password: ''
    url: ''
    username: ''
  save-task:
    delay: 72000
  file: saves.yml
  type: yaml
general:
  debug-mode: false
economy:
  npc:
    cost: 100.0
subplugins:
  folder: plugins


{{#if:|}}