> For the complete documentation index, see [llms.txt](https://docs.sandboxpowered.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sandboxpowered.org/scripting-reference/resource-introduction.md).

# Introduction to Resources

## Resource Directories

In the server, resources are loaded from a folder called `resources/` in the server data directory. Any folder in the `resources/` folder is parsed as a resource, except folders between `[brackets]` which are categories, which can contain multiple resource folders.

Each resource folder also has to contain a [resource manifest reference](/scripting-reference/resource-manifest.md) called `manifest.toml` to be correctly parsed as a resource.

See this example directory tree:

```
server
└── resources
    ├── [category]
    │   ├── [another]
    │   │   └── resource-2
    │   │       └── manifest.toml
    │   └── resource-1
    │       └── manifest.toml
    └── main
        └── manifest.toml
```

In this tree, the following resources exist:

* main
* resource-1
* resource-2

{% content-ref url="/pages/-Mfe0JmgwBpmm7w4pTqs" %}
[Resource Manifest](/scripting-reference/resource-manifest.md)
{% endcontent-ref %}

{% content-ref url="/pages/-Mfe2L-R6dK6SQb\_iQsa" %}
[In JavaScript](/scripting-reference/first-script/javascript.md)
{% endcontent-ref %}
