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
Add to your server.cfg:
ensure koja-libkoja-lib must be started before koja-crafting!
Database setup
You have two options for setting up the database:
Option A: Automatic Database Creation (Recommended)
Open
shared/config.luaEnsure this setting is enabled:
Config.CreateAutoTable = trueThe script will automatically create all required tables on first start.
Option B: Manual SQL Import
Open your database management tool (TablePlus, HeidiSQL, etc.)
Import the
koja-crafting.sqlfile
This will create three tables:
koja-crafting- Stores player progression (level, exp, blueprints)koja-crafting-objects- Stores placed crafting station objectskoja-crafting-queue- Stores active and completed crafting queues
π 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!