1.x/Configuration: Difference between revisions

From Citizens Wiki

< 1.x

No edit summary
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This page only describes nodes in the core plugin. For per-type node descriptions, see the type's corresponding page.
{{NoSupport}}
Citizens is configured with a few YAML files. Configuration files will generate automatically when you first install Citizens. If a file is missing a setting, it will automatically generate.


== citizens.yml ==
== Configuration files ==


[[citizens.yml]] control the core components of Citizens.<br>
[[mobs.yml]] contain configuration nodes for [[Evil NPCs]].<br>
[[npc_profiles.yml]] contain information about toggleable [[Characters]].<br>
[[quests.yml]] contain your quest files for [[Quester]]s.


=== Default File ===
{{NavBox}}
 
[[Category:Citizens1]]
<pre>range:
    look: 5
    pathfinding: 16.0
items:
    select-items: '*'
    talk-items: 340,
ticks:
    saving:
        save-often: true
        use-task: true
        delay: 72000
    pathing:
        max-stationary: -1
        max-pathing: -1
    waypoints:
        right-click-pause: 70
economy:
    prices:
        basic:
            creation: 100
    use-economy: true
general:
    defaults:
        enable-following: true
        talk-when-close: false
    quick-select: false
    debug-mode: false
    colors:
        use-npc-colours: true
        npc-colour: f
    notify-updates: true
    chat:
        slashes-to-spaces: true
        selection-message: <g>You selected <y><npc><g> (ID <y><npcid><g>).
        default-text: Hello.;How are you today?;Having a nice day?;Good weather today.;Stop hitting me!;I'm bored.;
        creation-message: <g>The NPC <y><npc><g> was born!
        format: '[%name%]: '</pre>
 
== mobs.yml ==
 
 
=== Default File ===
<pre>evil:
    spawn:
        spawn: false
        max: 2
        chance: 100
    items:
        tame-item: 354
        drops: 260,357,2256,
    misc:
        failed-tame-messages: Ha! You can't tame me!;Nice try, <name>!;Muahahaha, I am evil!;
        names: Evil_aPunch,Evil_fullwall,Evil_Notch,Herobrine,
        tame-chance: 5
general:
    spawn:
        delay: 200</pre>

Latest revision as of 12:14, 19 February 2012

Not Supported!
This page is about Citizens 1.x, while the current version is Citizens 2.0.2. This page's content may be outdated, and shouldn't be trusted as being correct. See this page's talk page for more information. If you were looking for the 2.0.2 equivalent of this page, try Configuration. If you feel this message was displayed in error, please contact an administrator.

Citizens is configured with a few YAML files. Configuration files will generate automatically when you first install Citizens. If a file is missing a setting, it will automatically generate.

Configuration files

citizens.yml control the core components of Citizens.
mobs.yml contain configuration nodes for Evil NPCs.
npc_profiles.yml contain information about toggleable Characters.
quests.yml contain your quest files for Questers.