πŸ”₯All scripts on our website are 50% off!πŸ”₯
Logo

Possible Mistakes

A created job does not work correctly when selecting it

Make sure that the jobID in bit-jobs/jobs/yourjob.lua matches the job number in bit-jobs/config.lua.

jobID in bit-jobs/jobs/yourjob.lua:

local jobID = 1

jobID in bit-jobs/config.lua:

Jobs = {
    [1] = { -- jobID
        -- ... job configuration
    }
}

The number in square brackets [1] must match the local jobID = 1 variable in the individual job file.

Common Mistakes

  1. Mismatched jobID numbers - The most common issue. Always verify that the jobID in both files match exactly.

  2. Incorrect job order - When adding new jobs, make sure to follow the sequential order (1, 2, 3, etc.) without skipping numbers.

  3. Missing job file - If you add a job to config.lua but forget to create the corresponding file in the jobs folder, it won't work.

  4. Duplicate jobID - Never use the same jobID for two different jobs.

How to Fix

  1. Open bit-jobs/config.lua and find your job in the Jobs table
  2. Note the number in square brackets (e.g., [5] means jobID is 5)
  3. Open bit-jobs/jobs/yourjob.lua
  4. Ensure local jobID = 5 matches the number from step 2
  5. Restart the resource