# What are folders

<figure><img src="/files/f1xuiQcF4bvs9v5EsEiO" alt=""><figcaption></figcaption></figure>

## What are folders?

Folders contain Services, Objects, etc you may create within your codebase. Everything within the folders will be automatically loaded on game start.

{% hint style="info" %}
Parent **ModuleScript** is loaded, **it's descendants does not**. You can have a infinite amount of folders.\*
{% endhint %}

## Where are they located?

There is 3 locations where the folders are located.

### The Server

This is located in `root/ServerStorage/Knight`

### The Client

This is located in `root/PlayerScripts/StarterPlayerScripts/Knight`

### The Shared

This is located in `root/ReplicatedStorage/Knight`

## How to use?

In this screenshot this is the default layout for **0.0.3,** you can create new folders and delete them as you please.

![](/files/XA8swvDdBJgcMcj5S9a3)

Services folders are used to contain services. Go here to learn about here;

{% content-ref url="/pages/d0JHMP06d1ls7j3MalTK" %}
[What are services?](/documentation/what-are-services.md)
{% endcontent-ref %}

You can create as much folders as you please such as a Objects folder, asset folder, etc. Or even folders under folders. There is no limit & it can be indexed the same.

```lua
Knight.MyCustomFolder.AnotherCoolFolder.AndAnother.CoolModule.bar()
```

## How you utilize folders and stylize is up to you!

<figure><img src="/files/UTOLFsbqEKd2Fb60qN9o" alt=""><figcaption><p>Style example</p></figcaption></figure>

> Article & Art by vq9o


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knight.metatable.dev/documentation/what-are-folders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
