Koja Scripts
JOBS

Installation

Make sure these are installed and started before Koja Trucker.

Installation

  1. Dependencies

    Make sure these are installed and started before Koja Trucker:
    ensure oxmysql
    ensure koja-lib
  2. Drop in the resource

    1. Extract the resource into your server's resources directory.
    2. Keep the folder name koja-trucker (exports and events are namespaced to it).
    3. Add it to your server.cfg:
    ensure koja-trucker
  3. Database

    The required tables are created automatically on first start (controlled by general.autoCreateTable in the config). You don't need to import any SQL. The resource owns these tables — all prefixed koja-trucker*:
    TablePurpose
    koja-truckerPer-player level, XP, skill points, skills, totals
    koja-trucker-accountsDisplay name & account type
    koja-trucker-companiesCompanies
    koja-trucker-company-membersMembership & roles
    koja-trucker-company-invitationsOutgoing invites
    koja-trucker-company-requestsJoin requests
    koja-trucker-company-activityLive activity feed
    koja-trucker-shipment-historyDelivery history
    koja-trucker-promocodesPromo codes
    koja-trucker-promocode-redemptionsWho redeemed what
    koja-trucker-questsPer-player daily/weekly quest state
  4. Framework

    Koja Trucker auto-detects ESX, QBCore or ox through koja-lib. No manual bridge configuration is required in the common case.
  5. First launch

    1. Start the server and join.
    2. Open the tablet (default command /trucker — see Configuration to rename it).
    3. Grant yourself admin (see Admin panel) to start creating depots and orders.
  • Commands — Every admin command lives under one root: /truckeradmin.
  • Features — Koja Trucker includes a full set of progression, social, and admin-driven systems.
  • Configuration — Almost everything is editable live from the in-game admin panel (no restart), and persisted to data/config.json. You can also edit that file directly.
  • Trucker — back to the section overview