Denizen/0.7/config.yml

From Citizens Wiki

Denizen config.yml

The Denizen config.yml contains nodes to alter the default behavior and look of Denizen.

Denizen does not automatically create this file!

Why is this? Denizen stores its entire config inside memory, so it's not necessary to have a copy inside the Denizen folder unless you need to change the defaults. You can use the config.yml to override those defaults. Not having Denizen write to the config.yml itself (as well as scripts files) ensures that upon a /denizen reload, the config.yml, between a save and reload, is never changed when you don't want it to. This also keeps code comments inside the YML files stay intact, exactly the way you left them from last edit allowing you to leave yourself and others detailed notes and ideas.

This file can be reloaded from disk to Denizen memory at any time by using /denizen reload. Some changes in the config.yml may require a restart of the server. This includes interact_delay_in_ticks, but is not limited to that config node.


To change the Denizen defaults:

  • Create a file called config.yml and place it in the plugins\Denizen\ directory.
  • Copy the code below into that file.
  • Edit the defaults, and call /denizen reload from in-game.

Default config.yml

Code: Default Denizen config.yml
{{{2}}}