[Preview Video]
Dependencies
None
This script protected escrow system
[Discord]
Script escrow will never restrict your access to important things.
Gang system offers a whole new experience for gangs and teams on your server, with all the features such as team management zone system, all your players are in a new fun and action.
izzy-communityservice β Community Service & Jail System for FiveM
π¦ Overview
* Police, EMS, or judge jobs assign sentences; players finish them through community service or jail work
* Works with ESX and QBCore
* Open the menu with /community or F6 (cfg.command, cfg.key)
* Data stored in the izzy_community table β your sentence continues after disconnect
* When the sentence ends or staff cancels it, your clothes and props return to normal
π€ Profile area (top of menu)
* Your in-game character photo (mugshot) in the top-right
* Your name β shown as the officer who assigned the sentence
* Your rank on the leaderboard (e.g. Ranked #4)
* While serving: progress bar at the bottom β location, difficulty (easy / normal / hard), tasks or time left
π Who can open it?
* Jobs: police, ambulance, judge (cfg.authorized)
* Admins: licenses listed in cfg.adminPermissions
* Other players cannot open the menu
ποΈ Community service
* 4 preset zones in config β e.g. Central Park, Pink Cage Motel, LSPD, Pillbox Hill
* Each zone has a photo, description, and auto street address on the map
* Job types per zone (avaibleJob):
Β * Cleaning (cleaner) β mop the ground
Β * Garbage (gargabe) β collect trash
Β * Leaves (leaf) β pick up leaves (off in some zones)
* When assigning: list nearby players (20 m), set task count, difficulty (easy / normal / hard), pick a zone
* The server randomly picks one enabled job for that zone
* Community outfit is applied (clothingSettingsCommunity)
* If you wander more than 75 m from the zone, you get teleported back
* Each completed task reduces your sentence β 5-segment progress HUD
* Youβre free when done; staff can end it early
βοΈ Jail system
* Start: cfg.jailStart β prison area
* Release: cfg.jailFree coordinates
* Prison outfit (clothingSettingsJail)
* Sentence length in minutes; work type depends on difficulty:
Β * Easy β cleaning tasks (jailJobs.easy)
Β * Normal β garbage run (jailJobs.normal)
Β * Hard β electrician work (jailJobs.hard)
* Default times: easy 10 min, normal 15 min, hard 30 min (jailtimes)
* Working shortens time β easy 5 s, normal 10 s, hard 15 s off per action (cfg.typeTimes)
* Periodic backup while in jail (disconnect protection)
π Menu tabs
* Community β pick zone, select players, send sentence
* Jail System β set time and difficulty, send to prison
* Leaderboard β top officers by XP
* Dashboard β sentence history, active cases, cancel one or all
* Each successful assignment: +10 XP for the officer (cfg.giveXp) plus mission count β saved in leaderboard.json
* 3-second cooldown β prevents spam sending
π Notifications (config/notify.lua)
* SUCCESS, ERROR, INFO, SERVICE, PRISON, COMMUNITY headers
* Examples: sentence over, player sent, already sentenced, no player selected, amount cannot be 0
π οΈ Setup (server owners)
* Import izzy-communityservice.sql
* config/main.lua β command, key, jobs, admin licenses, prison coords, XP
* config/community.lua β community zones and job points
* config/jobs.lua β jail task coords and durations
* config/clothing.lua β male/female community and jail outfits
* Requires ox_lib + MySQL