rcore.cz
  • rcore.cz
  • Store
  • Discord
  • Web administration
  • Our store
  • YouTube
  • ๐ŸŒCFX Auth system
    • CFX Auth system
    • Transfer script to another account
    • Error: You lack the required entitlement
    • Error: syntax error near '<\1>'
  • Server
    • Updating server
    • onesync
  • Administration
    • How to change IP
    • Forgot your password?
  • FAQ
    • General issues
    • Cannot verify license
    • Cannot hear any music
    • ECONNRESET: Unable to execute a query
  • paid resources
    • ๐Ÿ‘rcore_airhockey
      • How To Play
      • Spawning a Hockey Table
    • ๐Ÿ’ชrcore_armwrestling
      • How to place arm table
    • ๐ŸŽดrcore_banners
      • How to Begin
      • How to Update
      • Common issues & solutions
      • Installation
      • Inventory Items
      • Configs
        • General
        • Billboards
        • Business
        • Permissions
        • Job
        • Config
      • Guides
        • How to change UI logo?
        • How to create new server banner?
        • How to create business?
        • How to buy billboard?
        • How to place banner?
        • Cannot see banners?
        • Expired images
      • API
    • ๐Ÿ€rcore_basketball
      • Configure new hoop
    • ๐Ÿ“rcore_beerpong
      • How to use
    • ๐Ÿ“นrcore_bodycam
      • Integration
      • Anticheat
      • Recordings don't save
    • ๐ŸŽณrcore_bowling
      • Configure new alley
    • ๐ŸŽฅrcore_cam
      • Integration
      • Anticheat
    • โ›บrcore_camping
      • Installation
      • Config
      • Consumable Beer
      • OX Inventory
      • Frameworks
      • API
    • ๐ŸŽชrcore_carnival
      • Create new minigame
    • ๐Ÿƒrcore_casino
      • Installing Maps
        • UncleJust Casino
        • DlcIplLoader
        • Gabz Casino
        • NoPixel Casino
        • K4MB1 Casino
        • rcore_casino_interior
        • Underground Casino Paleto
        • K4MB1 Enterable Diamond Casino
        • Patoche Casino
        • Clawles: Casino Los Santos
        • Molo Casino
        • Jurassic Jackpot Casino
      • Standalone Version
      • Custom Framework
      • Installing on QBCore
      • Installing on ESX
      • Installing Inventory Items
      • The Cashier
      • Society
      • Lucky Wheel & Podium Vehicle
      • Table Games
      • Slot Machines
      • Casino Bar
      • Inside Track
      • Translations
      • Discord Hook
      • MYSQL Info
      • CasinoControl (Exports)
      • Casino Job & Office
      • Changing Odds
    • ๐Ÿ‘•rcore_clothes
      • Dark theme
      • Adding a new clothes shop
      • Components
      • Restriction for certian job
      • Custom clothes price
      • Clothes blacklist / Whitelist
      • esx_accessories
      • qb_apartments
      • cui_character
      • API: Open outfits
      • API: Open clothes shop
    • ๐ŸŽฝrcore_clothing ๐Ÿ†•
      • How to begin
      • Installation
      • Migration
      • Configs
        • Main config
        • Price config
        • Shop config
        • Peds config
        • Undress clothes
      • FAQ
      • Admin mode
        • Modes
        • Image debugging
        • Stock management
      • Adding replace/addon clothes
      • Categorize clothing automatically
      • API
      • Troubleshooting
      • Integration
        • Multichar integration guide
        • esx_multicharacter
        • esx_multicharacter OLD
        • qb-multicharacter
        • crm_multichar
        • codem_multichar
        • okok_multichar
        • qbox_multichar
        • ESX vms_multichar
        • QB vms_multichar
        • qs-multicharacter
        • um_multichar
        • wais_multicharacter v2
        • zr_multichar
        • zsx_multicharacter
    • ๐Ÿ’ƒrcore_dance
      • Installation
      • Config
      • FAQ
      • Troubleshooting
      • API
    • ๐Ÿ“ฑrcore_dispatch
      • Config
      • Add alerts
      • Add jobs
      • Locales
      • Logs
      • Integrations
      • Framework
      • Voice and radio
    • ๐Ÿ”’rcore_doorlock
      • Installation
      • Configuration
      • Migration
      • Business
        • Configuration
        • Locksmith Example
      • Inventory Items
      • Keychain
      • API
    • ๐Ÿบrcore_drunk
      • How to place drink on table
      • Create new item drink
      • ox inventory
      • API
      • How to use
    • ๐Ÿฅšrcore_easter
      • Installation
      • Configuration
      • API
    • โ›ฝrcore_fuel
      • Installation
        • ESX
        • QBCore
      • Inventory
        • ESX
        • QBCore
        • ox_inventory
      • Config
        • New fuel station
        • Change fuel type for vehicle
        • Change fuel capacity for vehicle
        • Setting fuel station to be ownable
        • Wrong fuel type
        • Change gas price
      • Integrations
        • API
        • Vehicle keys integrations
        • Hud/Garage integration
      • Server
        • Commands
    • ๐Ÿ”ซrcore_gangs
      • API
        • Client
        • Server
      • Integration
        • Framework
        • Inventory
        • Dispatch
      • Localization
      • Configuration
        • Custom gang zone
    • ๐Ÿš™rcore_garage
      • qb-phone missing garages name
      • missing screenshots
    • ๐Ÿ“™rcore_guidebook
      • Installation
      • Config
      • Data permissions
      • API
      • Themes
      • ๐Ÿ“™V1 Docs
        • Installation
        • API
        • Themes
    • ๐Ÿ”ซrcore_gunshop
      • QBCore Installation
      • ESX Installation
      • How to change pricing
      • How to enable sales of weapons
      • Enabling MK2 weapons on QBCore
      • Adding the ammunation job for QBCore
      • Adding the ammunation job for ESX
    • ๐ŸŽฏrcore_gunrange
      • Installation
      • API
      • Troubleshooting
      • Frequently Asked Questions
      • Gun Range Editor
    • ๐Ÿจrcore_hotel
      • How to add another hotel example
      • esx_inventoryhud
      • Quasar inventory
      • OX inventory
      • MF inventory
      • Custom wardrobe
    • ๐Ÿง‘rcore_identity
      • How to change date format
      • esx_kasharacter
    • ๐ŸŸ rcore_job_blips
      • Installation
      • Configuration
      • Blip Setup
      • Group Setup
      • API
    • โ›ณrcore_minigolf
      • Builder
      • Company
      • Config
    • ๐Ÿš›rcore_missionpack_legal
      • Migrate from old version
    • ๐Ÿš—rcore_pdm
      • Missing images
      • Blips on minimap
      • Vehicles in stock
      • Missing vehicle names
      • Edit the speed of the vehicle in UI
      • Boss menu + locations
      • Displayed vehicle in the shop
      • How to add a vehicle with a new category
      • QBCore
        • Import missing vehicles from qbcore to rcore_pdm
        • Job data for QBCore framework
        • Import vehicles from database to qbcore
    • ๐Ÿ“rcore_pingpong
      • How To Play
      • Spawning a Pong Table
      • Match Settings
    • ๐Ÿคฝโ€โ™€๏ธrcore_pool
      • Anticheat
      • How to place pool table
    • ๐Ÿ‘ฎrcore_police
      • Installation
      • How to Update
      • Features
      • Inventory
      • Deployer
      • Configs
        • Main Config
      • API
        • Client
        • Server
    • โ›“๏ธrcore_prison
      • Migration from V1
      • How to Begin
      • How to Update
      • Installation
      • Inventory items
      • Configs
        • Main Config
      • Guides
        • Deployer
        • Changing minigame for Cigarette packaging
        • Changing Prison jobs reward
        • Configuring Permissions
        • How to translate in-game panel
        • How to define own stats for Prison GYM?
        • How to define/change default Prisoner outfits?
        • How to define own Prison map?
      • Features
        • Prison Break
        • Solitary
        • Cigar packaging
        • Canteen
        • Dealer
        • Dashboard
        • Chair system
        • Prison Prolog
      • Integrations
        • Inventory
        • Inventory items
      • API
        • Client
        • Server
      • โ›“๏ธV1 Docs
        • Config
        • Inventory
        • API
          • Client
          • Server
        • Locales system
        • Interiors presets
        • Camera prolog
        • Outfits
    • ๐Ÿ“ปrcore_radiocar
      • API
        • Radio item
        • Marker for buying radio
    • ๐Ÿ“‹rcore_report
      • Installation
      • API
      • Ace Permissions
      • Config
      • UI Config
      • Features
      • Console Logs
      • Custom Data
      • Responsivity
    • ๐Ÿชrcore_shops
      • Add new shop
      • How to add weapon
      • Hide blip on minimap / map
      • Restrict shop to certain job
    • ๐Ÿ” rcore_shortcuts
      • API
      • Commands and Hotkeys
      • Permissions
      • Notifications
      • Limits
      • Styles
    • โœจrcore_spray
      • ESX instalation
      • QBCore instalation
      • OX Inventory instalation
      • How to add a new image
      • How to add a new font
      • Gang integration
      • Anticheat
    • ๐Ÿ“ˆrcore_stats
      • Installation
      • Permissions
      • Configs
        • Main config
        • Performance
        • Units
        • Other
      • Translation
      • Changing Default Values
      • API
        • Integration
        • Delete
        • Other
    • ๐Ÿ‘นrcore_tattoos
      • Installation
      • Migrations
      • Add-on tattoos
      • Config
      • Custom Framework
      • Design
      • Tattoo config options
      • Tattoo permissions
      • Troubleshooting
      • API
      • Integrations
        • qb-gangs
      • Business update
        • Config
        • Simple Business
        • Business with jobs
        • Default settings
    • ๐Ÿ“บrcore_television
      • How to add a new television
    • ๐Ÿ”งrcore_tuning
      • Editing your config
      • Configuring your framework
      • Job integration
      • Item integration
      • Editing tuning prices
    • ๐Ÿ“‹rcore_whiteboard
      • Whiteboard type & data
      • Position editor
      • API
      • FAQ
    • ๐ŸŽrcore_xmas
      • Installation
      • Configuration
      • Inventory Items
      • Snowball Damage
      • API
    • ๐Ÿ“ปxradio
      • API
      • Custom menu
      • Ox inventory
  • free resources
    • rcore_arcade
      • How to add msdos games
Powered by GitBook
On this page

Was this helpful?

  1. paid resources
  2. rcore_doorlock

Keychain

PreviousInventory ItemsNextAPI

Last updated 1 month ago

Was this helpful?

When using ox_inventory, the doorlock offers a โ€œkeychainโ€ option. This allows you to insert keys and door cards into the item.

Compatibility The "keychain" function only works with ox_inventory, since it offers a container system per item. Keychain can not be opened when using an inventory other than ox_inventory.

Setup

After uploading the items according to the tutorial in Configurations section, go to ox_inventory/modules/items/containers.lua and insert the following code at the end of the file:

setContainerProperties('rd_keychain', {
    slots = 10,
    maxWeight = 1000.0,
    whitelist = { 'door_key', 'door_card' }
})

You can edit the code for maximum weight or number of slots.

It is important that we still have return containers at the end of the file!

In the final version, the end of the file should look like this:

๐Ÿ”’