๐Ÿ’ผPrison Jobs & Contraband

The Prison Jobs System allows inmates to reduce their sentence by performing tasks around the facility. Some jobs also offer a small payout or the chance to find contraband, which can be traded or used in escape attempts.

This guide covers how to configure available jobs, minigames, payout settings, and random contraband drops.


โš™๏ธ Configuration Overview

Jobs are configured inside Config.PrisonJobs:

Each job includes:

  • A job name

  • Coordinates for interaction

  • Task logic or minigame

  • Rewards (XP, time reduction, contraband)


๐Ÿงน Available Jobs

Job Name
Description
Notes

Clean Cells

Pick up trash in random cell zones

Requires prop interaction

Move Boxes

Carry boxes from point A to point B

Prop follows player

Repair Facility

Hammer broken wall sections

Animation + minigame

Serve Food

Serve trays to NPCs in cafeteria

Optional, tied to food config


โฑ๏ธ Sentence Reduction & XP

Each job includes optional sentence reduction logic:

sentenceReduction = 5  -- Minutes removed from sentence
jobXP = 10             -- XP given for completing the job

๐ŸŽ’ Contraband Chance

Jobs can also grant hidden contraband items with a configurable chance:

contrabandItems = {
    { item = "lockpick", chance = 20 },
    { item = "bribe_package", chance = 5 },
}
  • item is the item given

  • chance is the % chance it drops

This makes prison jobs feel rewarding and increases immersion for escape paths and item trading.


๐Ÿ’ธ Money Payout

Optionally, you can enable inmate wages using:

giveMoney = true
moneyAmount = 50

This adds prison economy support, especially useful for the commissary system.


๐Ÿง  Developer Tips

Want to create a custom job?
Duplicate a job entry and change the target + minigame

Want to reward gang XP or logs?

Add a server-side event in the job completion handler

Want to gate jobs by rank or role?

Use PlayerJob.name or gang.name checks

Last updated