> For the complete documentation index, see [llms.txt](https://mysticspells.killstore.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mysticspells.killstore.net/killstore-magic-v2/installation/main-install.md).

# Main Install

## Step 1: Create a folder

1. Go to the `resources` folder in your FiveM server directory.
2. Create a new folder If you have already installed any of our scripts and have the `[Killstore]` folder, use that same folder.
3. If the `[Killstore]` folder does not exist, create it.
4. Ensure the folder name is exactly `[Killstore]` (including the square brackets).

## Step 2:  Ensure the Script

1. Download your **Ks\_Mystic\_Spells\_v2** script from your Keymaster account.
2. Move the **Ks\_Mystic\_Spells\_v2** folder into the **\[Killstore]** folder you just created.
3. Open the `server.cfg` file located in your FiveM server's main directory.
4. Add the following line **after your inventory system**:

```
ensure [Killstore]
```

It should finally look like this

```lua
# ...
ensure Your_framework
# ...
ensure Inventory
ensure [Killstore]
```

## Step 3: install the items

Inside the `Ks_Mystic_Spells_v2`folder, you will find an installation folder:

`Ks_Mystic_Spells_v2/[1]Install:`&#x20;

1. Open this folder, where you will find:
   * An **items** folder containing files in `.lua` or `.sql` format, depending on your inventory system.
   * An **images** folder containing icons for the items.
2. Follow the instructions provided in the relevant `.lua` or `.sql` file to install the items into your inventory system.
3. Copy the item icons from the **images** folder into your inventory’s image directory.

## Step 4: choose your framework

1. Go to core.lua and place your framework on Core.Framework Like The IMG Below
2. You can choose the Clothing System And Language too...
3. Be sure to put "qb-core" and not "qb" if you are using qb qbx cores...

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://mysticspells.killstore.net/killstore-magic-v2/installation/main-install.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
