This FiveM script lets authorized staff groups forcefully jail players in a restricted area where they cannot move or escape for a set duration.
It’s ideal for semi-serious or serious RP servers, allowing admins to send characters who have died to an Admin Jail—making them unusable for the rest of the session—or to place disruptive players on a temporary timeout.
Jail time is stored in the database and only decreases while the player is online and using that specific character.
There are various many configurable options to use the resource to your liking:
Configurable groups to have access to the commands.
Configurable text/command names (language).
Configurable admin-jail location.
Configurable admin-jail release location.
Configurable admin-jail list command - shows all the players currently admin-jailed/cked.
Configurable controls to disable when player is admin-jailed/cked.
Menu to view users who are admin-jailed/cked.
Discord webhook logging (track who jails/releases & updates time).
Optionable routing buckets configuration on load-in / adminjail.
Ace Permissions. (VIEW DOCUMENTATION).
Commands:
> ./adminjail (playerID, reason, time) - jail a player for x time.
> ./adminjailtime - see the current time you have left.
> ./adminjailrelease (playerID) - release a player from admin-jail.