🔥 MOH Stopfire & Community Service
Admin Punishment System | QBCore | by MohScripts
Give your admin team a powerful, modern punishment system. Restrict weapons with Stopfire or sentence players to Community Service — all managed through a sleek NUI admin panel, backed by a persistent MySQL database.
Admins can send players to:
- ⛔ Stopfire — weapon restriction for a configurable amount of minutes
- 🧹 Community Service — player must complete X actions before being released
💾 All punishments are saved in MySQL and fully managed through a modern NUI admin panel (default key: F7).
⛔ Stopfire
- Restrict all weapons for a configurable duration
- Timer-based — punishment ends automatically
- Extend or reduce active punishments from the panel
- Instant sync between server and all clients
- Optional outfit swap via qb-clothing
🧹 Community Service
- Assign X actions for players to complete
- Teleport to service location automatically
- Released to freedom coords on completion
- Adjustable action count at any time
- Saved to DB — survives server restarts
🖥️ Admin Panel
- Modern NUI overlay — open with F7 or
stoptroll command - Apply, Extend, Reduce, or End punishments
- View all active punishments at a glance
- License-based + QBCore group permission check
- Whitelist specific admin identifiers in config
🛡️ Security & Permissions
- License identifier whitelist in config.lua
- QBCore group validation (optional toggle)
- All punishments server-validated — no client trust
- Persistent MySQL — no data lost on restart
💎 Highlights
- ⚡ Persistent punishments — saved in MySQL, survive restarts
- 🎨 Modern NUI panel — clean, intuitive admin interface
- 🔧 Easy configuration — set groups, coords & limits in config.lua
- 🛡️ Server-side validation — no client trust, fully secure
- 🔄 Works seamlessly with QBCore servers
🚀 Why This Script?
This isn't just another admin tool — it's a complete punishment management system that gives your staff team full control while keeping the server fair, immersive, and exploit-free.
MOH Stopfire & Community Service Perfect for:
- Serious roleplay servers with active admin teams
- Gang & economy servers needing structured punishments
- Servers looking for a clean alternative to traditional bans
🛠️ Installation
- Drag & drop the folder into
resources - Add
ensure moh-stoptroll to your server.cfg - Import
stopfire_tables.sql into your database - Configure
config.lua — groups, coords & limits
📋 Requirements
- QBCore Framework (latest)
- mysql-async
- qb-clothing (optional — outfit handling only)
- FiveM server with MySQL database
TAGS: QBCore