FAQ

chevron-right❓ How do I disable a job? — https://docs.0resmon.org/0resmon/0resmon-1/0r-resources/0r-illegalpack/illegal-jobs/faq\#how-do-i-disable-a-jobhashtag

You can also disable or enable the job entirely by setting an active flag in the configuration. This is useful if you want to temporarily deactivate a job without removing its code.

For example: escrow/jobs/weed_job/config.lua

return {
    -- # Other things...

    -- Set to false to disable this job completely
    active = false,

    -- # Other things...
}
chevron-right❓ How do I add a cooldown to a job? — https://docs.0resmon.org/0resmon/0resmon-1/0r-resources/0r-illegalpack/illegal-jobs/faq\#how-do-i-add-a-cooldown-to-a-jobhashtag

Currently, there is no forced cooldown, so players can start the job again right after finishing. If you want to prevent this and enforce a cooldown, you can define it in the configuration.

For example: escrow/jobs/weed_job/config.lua

return {
    -- # Other things...

    -- Job cooldown time in seconds
    cooldown = 60 * 5, -- 5 minutes

    -- # Other things...
}

With this setting, after the player completes the job, they must wait 30 minutes before starting it again.

chevron-right❓ I don't want jobs like weed, cocaine, or meth to be endless. How do players complete or finish these tasks? — https://docs.0resmon.org/0resmon/0resmon-1/0r-resources/0r-illegalpack/illegal-jobs/faq\#i-dont-want-jobs-like-weed-cocaine-or-meth-to-be-endless.-how-do-players-complete-or-finish-these-tahashtag

The system operates as follows: there is no default limit set for the tasks you've mentioned. You can choose to set a limit if desired, such as ending a task after producing 5 or 10 items. Currently, the player has 30 minutes to continue production. Once the time expires, the task ends automatically, allowing the packaged products to be sold using the corner_deal job. Alternatively, players can choose to work for just 5 minutes and then access the menu to conclude the job.

For example: escrow/jobs/weed_job/config.lua

return {
    -- # Other things...

    -- Step-by-step instructions for the mission
    steps = {
        { label = locale('weed_job.steps.1') },
        { label = locale('weed_job.steps.2'), progress = { target = 10, } },
    },

    -- # Other things...
}

As you can see here, there is currently 10-package production limit.