Configuration can be found in no-camera/config/shared.lua.
Inventory
Configure inventory integration for camera and photo items.
Config.Inventory = {
enabled = true, -- Whether inventory integration is enabled
camera_item = "camera", -- Item name for the camera
photo_item = "cam_photo" -- Item name for the photo
}
| Option | Type | Default | Description |
|---|
enabled | boolean | true | Whether inventory integration is enabled |
camera_item | string | "camera" | Item name for the camera |
photo_item | string | "cam_photo" | Item name for the photo |
Indicators
Configure the keybind indicators shown when the camera is first activated.
Config.Indicators = {
enabled = true, -- Whether the indicators are enabled
timeout = 5000 -- Time in milliseconds before the indicators are hidden
}
| Option | Type | Default | Description |
|---|
enabled | boolean | true | Whether the indicators are enabled |
timeout | number | 5000 | Time in milliseconds before the indicators are hidden |
Keybinds
Configure default keybinds for camera actions.
If you change these keybinds, they won’t be updated for players who already have
keybinds set. Players can change their keybinds in the settings menu.
Config.Keybinds = {
DEACTIVATE = "BACK", -- Key to deactivate the camera
VIEW = "G", -- Key to toggle camera view
PHOTO_MODE = "E", -- Key to toggle photo mode
TAKE_PHOTO = "MOUSE_LEFT", -- Key to take a photo
HOLD_HELP = "H", -- Key to hold for camera controls help
PHOTO_FOCUS = "E", -- Key to view photo in fullscreen
PHOTO_CLOSE = "BACK" -- Key to close the photo
}
| Option | Type | Default | Description |
|---|
DEACTIVATE | string | "BACK" | Key to deactivate the camera |
VIEW | string | "G" | Key to toggle camera view |
PHOTO_MODE | string | "E" | Key to toggle photo mode |
TAKE_PHOTO | string | "MOUSE_LEFT" | Key to take a photo |
HOLD_HELP | string | "H" | Key to hold for camera controls help |
PHOTO_FOCUS | string | "E" | Key to view photo in fullscreen |
PHOTO_CLOSE | string | "BACK" | Key to close the photo |
Integrations
Enable or disable third-party integrations. See Integrations for more details.
Config.Integrations = {
LBPhone = {
enabled = true
}
}
| Integration | Default | Description |
|---|
LBPhone.enabled | true | Enable LB Phone integration to add photos to player’s phone gallery |