# Configuration

***

## 📖 Overview

This repository contains the main configuration and resource structure for Koja-Crafting. For full installation instructions, see the Installation Guide.

* Installation Guide: [LINK](https://docs.kojascripts.eu/~/revisions/wtS8RQ73KLBYIwBpyLwg/new/crafting/installation)

***

## 📋 Configuration File Structure

## 📚 Additional Resources

### Official Links

* Documentation: <https://docs.kojascripts.eu>
* Store: <https://kojascripts.eu>
* Discord Support: <https://discord.gg/kojascripts>
* GitHub: <https://github.com/Koja-Scripts>

***

## 📝 Configuration Checklist

Before going live, verify:

* [ ] koja-lib installed and configured
* [ ] Database tables created (auto or manual)
* [ ] Language set correctly
* [ ] Images loading properly
* [ ] At least one crafting station configured
* [ ] Items have valid resources
* [ ] Progression system balanced
* [ ] Admin permissions configured
* [ ] Interaction method working
* [ ] Tested with real players
* [ ] Backup of config saved
* [ ] No console errors

***

## 🔄 Update Process

{% stepper %}
{% step %}

### Backup

Save current shared/config.lua
{% endstep %}

{% step %}

### Read Changelog

Check for breaking changes
{% endstep %}

{% step %}

### Update Files

Replace resource files
{% endstep %}

{% step %}

### Restore Config

Copy back your config (check for new options)
{% endstep %}

{% step %}

### Check Database

Run any new SQL migrations if provided
{% endstep %}

{% step %}

### Test

Verify everything works on test server
{% endstep %}

{% step %}

### Deploy

Update live server
{% endstep %}
{% endstepper %}

***

## 📞 Getting Support

### Before Asking for Help

{% stepper %}
{% step %}
Read relevant documentation page
{% endstep %}

{% step %}
Check troubleshooting sections
{% endstep %}

{% step %}
Enable debug mode and check console
{% endstep %}

{% step %}
Search Discord for similar issues
{% endstep %}

{% step %}
Try on clean test server
{% endstep %}
{% endstepper %}

### When Asking for Help, Provide

* Server framework (ESX/QBCore/Etc)
* koja-crafting & koja-lib version
* Error messages from console
* Config sections related to issue
* Steps to reproduce problem
* What you've already tried

### Support Channels

* Discord Tickets: Best for complex issues
* Discord Quick Support: Quick questions
* Documentation: Self-service answers

***

Happy Crafting! 🎨


---

# 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://docs.kojascripts.eu/new/crafting/configuration.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.
