Installation
Welcome to Koja-Lawnmower, a fluent job system designed to enhance gameplay for your players. This guide will walk you through the installation process step by step.
📋 Requirements
Before installing Koja-Lawnmower, 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-Lawnmower
- Download the koja-lawnmower resource
- Extract it to your
resourcesfolder
resources/ ├── koja-lib/ └── koja-lawnmower/ -
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.luaAutoCreateTable = true, TableName = 'koja-lawnmower', StartingValues = { level = 1, exp = 0, history = { totalMissions = 0, totalEarnings = 0, logs = {} }, skillpoints = 0, skills = {} }Option B: Manual SQL Import
- Open your database management tool (TablePlus, HeidiSQL, etc.)
- Import the
koja-lawnmower.sqlfile
TableName- Stores player progression (level, skills, history, etc)
- 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-lawnmower
📚 Additional Resources
- Documentation: https://docs.kojascripts.eu
- Discord Support: https://discord.gg/kojascripts
- GitHub: Check for updates and report issues
✅ Installation Complete! Your job system is now ready to use. Enjoy!
Related pages
- Configuration — Poniżej znajdują się opisane oddzielnie poszczególne tabele z shared/config.lua.
- Exports — The resource exposes several exports that can be called from other resources on both server and client sides.
- Commands — All commands are server-side only and require RCON / admin permissions (true as the third argument to RegisterCommand).
- Lawnmower — back to the section overview