Installation
Welcome to Koja-Crafting, a fluent crafting system designed to enhance gameplay on your FiveM server. This guide will walk you through the installation process step by step.
📋 Requirements
Before installing Koja-Crafting, ensure you have the following dependencies:
🚀 Installation
-
Download and install koja-lib
- Download koja-lib from the official repository
- Place it in your
resourcesfolder
server.cfg:server.cfgensure koja-lib -
Install Koja-Crafting
- Download the koja-crafting resource
- Extract it to your
resourcesfolder
resources/ ├── koja-lib/ └── koja-crafting/ -
Database setup
You have two options for setting up the database:Option A: Automatic Database Creation (Recommended)
- Open
shared/config.lua - Ensure this setting is enabled:
The script will automatically create all required tables on first start.shared/config.luaConfig.CreateAutoTable = trueOption B: Manual SQL Import
- Open your database management tool (TablePlus, HeidiSQL, etc.)
- Import the
koja-crafting.sqlfile
koja-crafting- Stores player progression (level, exp, blueprints)koja-crafting-objects- Stores placed crafting station objectskoja-crafting-queue- Stores active and completed crafting queues
- Open
-
Configure server.cfg (order matters)
Add the following to yourserver.cfgin the correct order:server.cfg# Database ensure oxmysql # Dependencies ensure koja-lib # Crafting System ensure koja-crafting
📚 Additional Resources
- Documentation: https://docs.kojascripts.eu
- Discord Support: https://discord.gg/kojascripts
- GitHub: Check for updates and report issues
✅ Installation Complete! Your crafting system is now ready to use. Enjoy enhancing your server's gameplay experience!
Related pages
- Configuration — Welcome to the complete configuration for Koja-Crafting. This guide will help you configure, customize, and optimize your crafting system.
- Crafting — back to the section overview