[QB/ESX] Admin Jail [PAID]

This script allows x staff groups that are able to forcefully jail a player and locking them into a closed area, to where they can’t move depending on how much time you’ve jailed that individual for. This script is useful for semi/serious RP servers, to send those who’s character died into Admin Jail, to where they are no longer able to use that character anymore and or servers who just want to put an individual on β€œtimeout”. The time jailed is saved in the database & will not go down unless the designated player is connected into the server & on that character.

  • Configurable groups to have access to the commands.

  • Configurable text (language).

  • Configurable admin-jail location.

  • Configurable admin-jail release location.

  • Configurable admin-jail list command - shows all the players currently admin-jailed/cked.

  • Optionable routing buckets configuration on load-in / adminjail.

  • Discord webhook logging (track who jails/releases & updates time).

./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.

./adminjaillist - shows all the players currently admin-jailed/cked.

./ck (playerID) - locks the players character slot that they are currently on.

./enablechar char#:license - to reactivate the characters license.

  • This resource is drag/drop if ESX, aside from configuring the config to your needs. IF you're on QB framework, remove the es_extended line from the fxmanifest & also change your settings inside Config.lua. RUN the SQL, then you will just need to add the following inside of your server.cfg, restart your server & you're good to go.

ensure adminplus-adminjail

  • Original Release

Added discord logging (configurable texts & footer/logo

Fixed locales missing (reported in Discord Ticket) Allowed editing to client/main.lua for controls to be modified (disable specific controls so users can't click specific controls/keys). Added Job compatability (add what jobs have access to adminjail / adminjailrelease) (suggestion requested in Discord Ticket.

Fixed chat display not changing even when you changed it inside of the locales. (useful for other languages etc..)

Added Chat Suggestion when doing the commands.

Added /ck command - will lock the individuals character slot they are playing on.

Updated /ck for VMS_MULTICHARS (shouldn't show error anymore when /ck)

-- READ THE README & ADD THE FOLLOWING TO THE VMS_MULTICHARS Changeable command name & chat message. Option to turn both on/off.

Added a distance check HIGHLY RECOMMEND UPDATING so player gets teleported back if x distance from jail location.

Now supports QB Framework!

Moved Webhook to server-side to avoid server dumpers spamming your webhooks.

Removed unnecessary client triggers.

Removed ESX imports from fxmanifest (not needed).

Fixed CK/UNCK options so that they don't show in adminjaillist if not enabled via config.

Added Routing Bucket Feature (togglable) for trolls to be in their own session instead of being public with other players.

  • REPLACE ALL FILES

Added UI showing admin jail time on screen (command is also still a thing if needed). βœ…

Added cc-chat / cc-rpchat compatibility (suggestion) πŸ’¬

  • REPLACE CLIENT/SERVER FILES & FXMANIFEST.LUA

Last updated