JG Staff Jail System for FiveM
Welcome to the JG Staff Jail System (By JG Development Services), this script was designed for FiveM servers to help administrators and moderators efficiently monitor and manage flagged players. This resource features a user-friendly NUI interface with full add, edit, and delete capabilities for Jail entries. Integration with JG Development's very own Discord API ensures that the NUI is only available by the correct members, the script allows real-time logging of all Jail System activity using Discord Webhooks—including Jail additions, Jail Time Edits, Jail Release, and Mass Release
JG_Discord_API_v2 is required for this script
Key features include:
Discord role-based permission management for secured control over Jail System access and actions.
Automatic player join-leave status so that if a user tries to avoid Jail-Time, they will be teleported to an available cell location.
Automatic location checks (every 5 seconds) to ensure that Jailed players cannot leave their cell for more than a few seconds.
The timer pauses when a player leaves the server, and will continue when they rejoin, ensuring that the time is fulfilled properly.
Access to weapons, vehicles and any attack action is also blocked whilst jailed.
Common keybindings for radios scripts and push to talk are disabled by the script when Jailed.
Persistent storage of Jail data in JSON file.
Easy configuration of Discord role's and webhook URLs.
Secure permission checks using your server’s Discord roles via the JG_Discord_API_v2.
This script streamlines staff oversight and improves communication through automated Discord notifications, helping maintain server integrity and player accountability.
Video Link Attached Below:
