📕Step By Step Guide

Welcome to the KOJA JobCenter Installation Guide!

  1. Database Setup

    Import the koja_jobcenter.sql file into your SQL database.

  2. Server Upload

    Upload the entire KOJA_jobcenter folder to your server.

  3. Server Configuration

    Add ensure KOJA_jobcenter to your server.cfg or resource.cfg, depending on your configuration file name.

  4. Server Config Modifications

    Open server_config.lua and make the following changes:

    • Insert your Steam API key: SteamApiKey = "YOUR_STEAM_API_KEY"

    • Set up a Discord webhook for logging job activities: webhook = "YOUR_DISCORD_WEBHOOK"

  5. Configure Settings

    Edit Config.lua according to your preferences. Detailed explanations are provided within the file to guide you through the options.

  6. Experience Point Integration

    • Add the TriggerServerEvent call to each job function in the job center, so players can earn XP upon job completion.

    • Server Trigger Example: TriggerServerEvent('koja_jobcenter:addXP', AMOUNT)

    • Ensure this trigger is placed at the end of a successful job function.

  7. Final Steps

    Once you have completed the above steps, your job center should be ready to go. Enjoy!

Note: You can obtain a Steam API key here.

Last updated