[ESX & QB] tk_jail - Prison System V2

tk_jail

[ Video ]
[ Purchase ]

About

  • Uses FiveM Asset Escrow System
  • Prison MDT
    • Police can open the Prison MDT using an item or a command (configurable)
    • Home
      • Send players to jail or lockup easily
      • Configure time, jail type, notes, cell, turn teleporting on/off
    • Jailed Players
      • Shows list of all jailed players
      • See player name, time left, etc.
      • Change time left
      • Unjail player
      • Change notes
    • Ankle Monitors
      • See list of all active ankle monitors
      • Show ankle monitor location, edit notes, unlock ankle monitor
    • Escaped Prisoners
      • Shows list of all escaped prisoners
      • See sentence left when player escaped and time of escape
      • Ability to remove player from list (when player is sentenced back)
  • Prison
    • Mugshot
      • Mugshot animation when player is sentenced (can be also changed to a switchout anim, or disabled completely)
    • Tasks
      • 6 different task in total (trash work, electric work, garden work, serve food, sweep floors, wash dishes)
      • Tasks can be chosen from the task board
      • Tasks can be done in groups to engage players in RP
      • Once you complete a spot in your current task, you can get a configurable amount of time reduction to your sentence
        • Also possibility to add items that you can get when completing tasks
      • Once a group completes all spots, gives a bonus reward for all players
    • Table searching
      • Search tables for items that can be set in config
      • Bunch of new items that can be used in various ways
    • Jail beds
      • Heals player over time
    • Gym equipment
      • Exercise at different gym equipment
      • Gives player a small speed boost (can be changed to your liking)
    • Roulette
      • Configurable roulette table spots
      • Normal roulette (bet on red, black or green)
      • All players can bet on same table and tables are synced
    • Plant growing
      • Purchase seeds and a watering can from an NPC
      • Place seeds at designated areas
      • Water plants and wait for the to grow
      • Sell grown plants to an NPC for money
    • Trading
      • Configurable items
      • Get items needed for escaping, etc.
      • Use custom prison currency: “jail cigarettes” for purchasing various items
    • Drug making
      • Gain chemicals by searching tables and doing tasks
      • Purchase lab equipment tools from the trading NPC
      • Make drugs that you can sell to a NPC inside the prison
    • Interactable NPCs
      • In total 16 different NPCs inside the prison
      • Each NPCs has own text lines
      • Different types of NPCs:
        • Guards (bribe a guard for a security guard)
        • Doctor (purchase IFAKS)
        • Prisoners
          • Some prisoners purchase stuff from you, some might teach you how to do various things
    • Prison escaping
      • 3 different ways to escape from prison
      • Explosive
        • Purchase an explosive from an NPC, place it on the ground, light it up with a lighter and escape
      • Hacking & cutting fences
        • Get a freedom chip or a prison security card
        • Disable prison fence electricity
        • Go to the fence, use jail shovel and fence cutters
      • Digging out
        • Gather plastic utensils by doing prison tasks
        • Sharpen utensils at a NPC
        • Dig out from your home cell using utensils
    • Stash
      • Store items in your own personal stash
      • Police can search your stash
    • Jail clothes
      • Automatically switch to jail clothing when jailed (can be changed in config)
    • Tattoos
      • Get yourself new tattoos by using the tattoo maker inside the prison
  • Lock Up / Police Custody
    • Like prison, but without any of the fun stuff
    • Define cells where you can place players while investigating their crimes
    • Put players in jail/lockup for an undefined amount of time (player will be unjailed only when a police officer unjails them)
  • Ankle Monitors
    • Ankle monitors as items
    • Place ankle monitor on a player
    • After placing, all police players can see the player location at all times (configure blip in config)
    • Ankle monitor can be removed either from the Prison MDT or by using a powersaw
    • Synced and saves over restarts
  • Exports:
    exports['tk_jail']:jail(targetId, time) -- client and server side
    exports['tk_jail']:unjail(targetId) -- client and server side
    exports['tk_jail']:seizeItems(targetId) -- client and server side
    exports['tk_jail']:getSentence(targetId) -- client and server side
    exports['tk_jail']:removeSentence(targetId, amount) -- only server side
    
  • Modern UI
  • Optimised
  • Supports ESX, QBCore and also ox_lib, ox_inventory, qs-inventory & ox_target
  • Discord logs
  • English and Finnish translations by default, and you are able to translate everything yourself
Screenshots

Config

Purchase (14.99€ + VAT)


Code is accessible Partially
Subscription-based No
Lines (approximately) ~5000
Requirements es_extended or qb-core
Support Yes
10 Likes

Does it support quasar inventory at all?

Hey! By default, no. However, all functions handling items are editable so you would be able to add support yourself.

alright no problem.

Update 1.0.1

  • Add missing sql file
  • Fix item removing not working with QB when ox_inventory was used
  • Other minor fixes & improvements

What prison MLO was used in the video?

Gabz Bolingbroke Prison

Can I Buy an Open Source Version?

Unfortunately I don’t sell open source.

Update 1.0.2

  • Add support for qs-inventory
  • Change Config.UseOxInventory to Config.Inventory
  • Remove Config.WeaponsAreItems

Update 1.0.3

  • Prevent non police players from using the Prison MDT
  • Fix roulette not working correctly with ox_lib

Update 1.0.4

  • Fix not being able jail closest player from Prison MDT

Update 1.0.5

  • Fix jail task blips not syncing correctly for new players

is it easy enough to change it to another prison mlo?

Should be pretty easy. All you have to do is change the coordinates in config which might take like 10 minutes (of course depending on how many coords you are taking for each task for example).

1 Like

hey bro , I’d like to ask you how to add the jail items please

Hey! That depends on the inventory script you are using. You can find the items for ox_inventory in the README file.

Update 1.0.6

  • Fix police webhook not working
  • Fix error with dish washing caused by latest update
  • Fix player not being unjailed after doing tasks when sentence was over

v1 buyers get this free?

Unfortunately no. These are sold as two separate products. However, if you have bought the v1, you should automatically get a 20% discount on Tebex.

Update 1.0.7

  • Add French locales
  • Add qb-inventory items to README
  • Fix item metadata not saving for qb-inventory

Update 1.0.8

  • Fix task blips not appearing
  • Fix not being able to open the MDT on QB on some occasions