Configuration
Debug
If you have any issue with our script, set Debug = true
in configuration file ([rcore_doorlock]/rcore_doorlock/config.lua
) to see additional informations in client console (F8) and server console. Screenshots will help our support to solve faster and better your problem in ticket.
Bridge
All bridge resources should be auto detectable without editing config. If there is any unexpectable issue in console with bridge, go to [rcore_doorlock]/rcore_doorlock/config.lua
and edit bridge properties by your server specifications.
Standalone (None) Bridge If you want to make your own integration, you can implement your own API methods in [rcore_doorlock]/rcore_doorlock/server/modules/bridge/<bridge>/sv-standalone.lua
.
There is no option to have few features without having one of the bridge resources on your server. You are going to loose those features:
Anything job related
Players won't be able to open doors with jobs
Locksmith jobs won't work properly
Anything money related
Locksmith crafting will be free
Locales
You can choose one of our translations in [rcore_doorlock]/rcore_doorlock/locales
or translate english one by yourself. Every single text is located in there.
Admin groups
Defines the admin groups for each framework. Admins in these groups can use commands like /doors and /doorsadmin.
Presets
File of preset to load on script initialization. Each preset file can be loaded only once and you won't be able to load it again after ensuring script.
Presets contains preconfigured doors for base GTA 5 maps, custom maps or any community presets.
Gangs
Whether use rcore_gangs
or qb-core
gangs.
UsableInventoryItems
This setting allows the use of item in inventory, such as keys or cards, to interact with doors. If set to false, these items will not be usable when pressing use in your inventory.
Commands
Defines the commands for doors UI and toggling admin mode.
DrawText
Enables or disables the display of text when interacting with doors.
Cooldown
Sets the cooldown time (in milliseconds) between interactions.
Keybind
Defines the key used to interact with doors. Default is 'e' on the keyboard.
Target
Sets the target interaction distance and icon for door interaction.
Items
Defines the items used to open doors, such as keys and access cards, along with the animations.
CardReader
Defines the configuration for card readers, including models, animations, interaction distances, and visual feedback textures.
Lockpicking
Configures the lockpicking system, including required items, minigame settings, and alert chances for the police.
Hacking
Defines the hacking system configuration, including the minigame, item required, and alert chance for police intervention.
Last updated