[PAID] F4 Studio Community Service | Realistic Cleaning System

0405-kopya(1)


F4 Community Service — Real-Time Public Work Punishment System

F4 Community Service is a real-time punishment system developed for FiveM roleplay servers.
Instead of simple timer-based penalties, this resource assigns players to interactive public work zones where progress is tracked live through a synced cleaning workflow.

The script is built for stable performance, clear police/admin control, and flexible configuration for different server styles.

Overview

F4 Community Service enables your server to:

  • DUI based realystic cleaning
  • Assign community service directly from a police nearby-player panel
  • Track active punishment progress in real time with an NUI HUD
  • Force players to complete zone-based cleaning tasks
  • Synchronize cleaning actions and visual progress for nearby players
  • Manage active assignments through an admin control panel
  • Persist punishment data in SQL with reconnect/resume support

Core Features

Real-Time Cleaning Gameplay

Players clean assigned zones using raycast-based interaction and live canvas progress updates. The system feels active and interactive instead of passive punishment.

Police Assignment Flow

Police can open a nearby-player UI, choose a target, set a reason, and set task count. Assignment is validated by distance and role checks before applying.

Live HUD and Progress Tracking

Players under community service see a real-time HUD showing completed zones, remaining tasks, reason, and current cleaning progress.

Zone-Based Assignment System

Each assignment uses configured cleaning zones. When one zone is completed, the next is automatically allocated until the full sentence is finished.

Synchronized Visual and Animation State

Cleaning strokes and broom animation states are synchronized, so nearby players see consistent action and punishment behavior.

Leave-Area Protection

Players can be restricted from leaving the work area. If they exceed the allowed radius, the system can warn, reposition, and continue enforcement flow.

Anti-Abuse Controls

Optional restrictions include weapon disable, vehicle disable, movement-based cleaning limits, and anti-troll nearby vehicle handling.

Administrative Management

Admins can open a dedicated panel to monitor all active community service assignments and revoke them instantly when needed.

Logging and Moderation Support

Assignment, zone completion, full completion, revoke, and abandon actions can be logged to SQL and optionally sent to Discord webhook channels.

Persistence and Reconnect Resume

Active punishments are stored in database records and can resume automatically when a player reconnects.

Integration Exports and Events

Server and client exports/events are available so other resources can check status, assign/remove punishment, and react to lifecycle updates.

Framework Compatibility

Supported frameworks:

  • QBCore
  • Qbox
  • ESX

Dependencies

  • f4-core (comes with the script for free)

:shopping_cart: Purchase & Links

:credit_card: Purchase ESX (Escrow)
:credit_card: Purchase QBCore / Qbox (Escrow)
:credit_card: Purchase ESX (Open Source)
:credit_card: Purchase QBCore / Qbox (Open Source)
:movie_camera: Video Preview
:speech_balloon: F4 Studio Discord

Resource Information

State Resource Usage
Idle / Not In Use 0.00ms
While in community service 0.17-0.19ms

image

image

Code is accessible No
Subscription-based No
Lines (approximately) 2500+
Requirements Ox_lib, f4-core and one of QBCore, Qbox, Esx
Support Yes