Denizen/0.7/File Structure: Difference between revisions
Aufdemrand (talk | contribs) No edit summary |
Aufdemrand (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<div style="margin-right: | <div style="margin-right:3.0em; padding:10px; font-family:camingodos-web; font-size:100%;"> | ||
=== File Structure === | === File Structure === | ||
[[File:Figure 1 - Denizen file structure.png| | [[File:Figure 1 - Denizen file structure.png|450px|right|Denizen File Structure]] | ||
<div style="margin-right:2.0em; padding:10px; font-family:camingodos-web; font-size:110%;">Denizen requires the use of a few different YML files to operate properly, so let's first go over the file structure. See below for more details about each file. This section may seem bloated, but please read it to get a good understanding of the file structure since you will be using these a lot! | <div style="margin-right:2.0em; padding:10px; margin-right:30px; font-family:camingodos-web; font-size:110%;">Denizen requires the use of a few different YML files to operate properly, so let's first go over the file structure. See below for more details about each file. This section may seem bloated, but please read it to get a good understanding of the file structure since you will be using these a lot! | ||
</div> | </div> | ||
Revision as of 04:35, 13 September 2012
File Structure
denizen.jar
config.yml
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.
See: Denizen/config.yml for a stock copy and explanation of all available options.
assignments.yml
This file can be reloaded from disk into Denizen memory at any time by using /denizen reload
saves.yml
To reiterate: This file saves periodically, and automatically, upon progression and a server stop, and should only be edited by hand when the server is off or Denizen is disabled.
read-only-scripts.yml
This file is populated on a server restart, or by using the /denizen reload
command.
/scripts/ folder
/denizen reload
, the files are combined and put into the read-only-scripts.yml for the Denizen to read from. This allows better organization of scripts to be maintained, since the amount of scripts can easily get into the triple digits.
The files in the plugins/Denizen/scripts/ folder can be named whatever you please, as long as they end in .yml
. Be sure not to duplicate script names from file to file as this will cause problems. All scripts in the scripts folder are merged into read-only-scripts.yml
, so there will be an issue if two scripts are named the same.
__