> For the complete documentation index, see [llms.txt](https://docs.devhub.gg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devhub.gg/skill-tree/installation.md).

# Installation

{% stepper %}
{% step %}

#### Install devhub\_lib

Download and install the required library and configure it according to your framework.

Download [https://github.com/DEVHUB-GG/devhub\_lib ](https://github.com/DEVHUB-GG/devhub_lib)or use command

```bash
git clone https://github.com/DEVHUB-GG/devhub_lib.git
```

{% endstep %}

{% step %}

#### Install resources from keymaster

* Download the <mark style="color:red;">SKILL TREE</mark> script file from keymaster.
* If owned download the <mark style="color:red;">SKILL TREE GENERATOR</mark> script file from keymaster.
  {% endstep %}

{% step %}

#### Start resources

Move the files to the `resources` folder on your server and add the following lines to your server.cfg in the correct order:

```bash
ensure devhub_lib        # Must be loaded before devhub_skillTree
ensure devhub_skillTree_generator  # Only if you own exclusive version
ensure devhub_skillTree  # Main resource
```

{% endstep %}

{% step %}

#### Database Setup

Sql will be automatically added, in case you dont see new dh\_skilltree table in your database

Import the `sql.sql` file manualy

{% hint style="info" %}
**Upgrading from v2?** v3 adds two new columns (`data`, `name`) to the `dh_skilltree` table. Run the SQL migration listed in the migration guide so the script can load existing player data.
{% endhint %}
{% endstep %}

{% step %}

#### Restart your server

{% endstep %}
{% endstepper %}

{% hint style="danger" %}
DO NOT CHANGE RESOURCE NAME
{% endhint %}


---

# 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://docs.devhub.gg/skill-tree/installation.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.
