> For the complete documentation index, see [llms.txt](https://knight.metatable.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knight.metatable.dev/documentation/what-are-folders.md).

# What are folders

<figure><img src="https://2460843234-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZVYkqtpa3etiCJsYeGLR%2Fuploads%2FgzzTZdXsqnl7Ntx2Emdh%2FWhat%20are%20folders.jpg?alt=media&amp;token=cfaf1ea8-92a9-43cf-9b7e-2bb7d43171c9" 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.

![](https://2460843234-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZVYkqtpa3etiCJsYeGLR%2Fuploads%2FWUCf5HjqCTveh0iYOVcR%2Fimage.png?alt=media\&token=9e5d7d09-47d3-4c7c-b90f-984a7d89b913)

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="https://2460843234-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZVYkqtpa3etiCJsYeGLR%2Fuploads%2F9kvEn3ScYwxkUeUrHLCl%2Fimage.png?alt=media&amp;token=73096cea-5cfa-420b-9d58-a3b842756111" alt=""><figcaption><p>Style example</p></figcaption></figure>

> Article & Art by vq9o
