> For the complete documentation index, see [llms.txt](https://alex-plugins.gitbook.io/ouranos/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alex-plugins.gitbook.io/ouranos/customization/structures.md).

# Structures

On this page you will learn how to create a structure building and place it into your world configuration file

### Step 1 - Create the building xml file

Follow the serialization tutorial (see [Building](/ouranos/customization/building.md)) to create your building xml file

### Step 2 - Place your xml file into the structures folder

Your xml file have to be placed into the /plugins/Ouranos/structures/ folder.

### Step 3 - Create the matching building configuration file

Run the command :&#x20;

```
/oconfig create structure <name>
```

{% hint style="warning" %}
Here the \<name> argument must be the same name as the xml file you created in [Step 1](#step-1-create-the-building-xml-file). As an example if your building xml file is called **build**.xml, you will have to run the command : "/oconfig create structure **build**"
{% endhint %}

This command will create a file configuration located into the /plugins/Ouranos/structures/ folder called \<name>.yml. This file will match the npcs and mobs included into the building.xml file.

### Step 4 - Fill the configuration file

You can now fill the configuration file created in [Step 3](#step-3-create-the-matching-building-configuration-file) with mobs (see [Mobs](/ouranos/mobs.md)) and NPCs (see [NPCs](/ouranos/npcs.md)). When it's done you can move to the next step.

### Step 5 - Add the structure build into the world configuration file

Go into your world configuration file (could be /plugins/Ouranos/world/default.yml or the specific world configuration, see [World configuration](/ouranos/world-configuration.md)). Then into the *structures\_custom* property list, add the name of your new build :&#x20;

```
structures_custom: [<name>]
```

You can now use /oconfig reload command and create your world to see the new structure spawn into your world
