folder-arrow-downINSTALLATION

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

1

Download and install koja-lib

  1. Download koja-libarrow-up-right from the official repository

  2. Place it in your resources folder

Add to your server.cfg:

server.cfg
ensure koja-lib
circle-exclamation
2

Install Koja-Lawnmower

  1. Download the koja-lawnmower resource

  2. Extract it to your resources folder

The folder structure should look like this:

resources/
β”œβ”€β”€ koja-lib/
└── koja-lawnmower/
3

Database setup

You have two options for setting up the database:

  1. Open shared/config.lua

  2. Ensure this setting is enabled:

shared/config.lua
    AutoCreateTable = true,
    TableName = 'koja-lawnmower',
    StartingValues = {
        level = 1,
        exp = 0,
        history = {
            totalMissions = 0,
            totalEarnings = 0,
            logs = {}
        },
        skillpoints = 0,
        skills = {}
    }

The script will automatically create all required tables on first start.

Option B: Manual SQL Import

  1. Open your database management tool (TablePlus, HeidiSQL, etc.)

  2. Import the koja-lawnmower.sql file

This will create three tables:

  • TableName - Stores player progression (level, skills, history, etc)

4

Configure server.cfg (order matters)

Add the following to your server.cfg in the correct order:

server.cfg
# Database
ensure oxmysql

# Dependencies
ensure koja-lib

# Crafting System
ensure koja-lawnmower
triangle-exclamation

πŸ“š Additional Resources

βœ… Installation Complete! Your job system is now ready to use. Enjoy!

Last updated