# Setup with Fabric

Please DO NOT use Auto Config / Cloth Config for server mods

## Adding Via Gradle

Becoming a super hero is a fairly straight forward process:

{% code title="build.gradle" %}

```groovy
repositories {
    maven { url "https://maven.shedaniel.me/" }
    maven { url "https://maven.terraformersmc.com/releases/" }
}

dependencies {
    [...]
    modApi("me.shedaniel.cloth:cloth-config-fabric:ABC") {
        exclude(group: "net.fabricmc.fabric-api")
    }
}
```

{% endcode %}

{% hint style="info" %}
Replace **ABC** with the version of Cloth Config desired, the versions of Cloth Config can be found at [Linkie Web](https://linkie.shedaniel.me/dependencies).
{% endhint %}


---

# 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://shedaniel.gitbook.io/cloth-config/setup-cloth-config/cloth-config-fabric.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.
