Getting Started
- Create a new Lua file in
no-camera/integrations/folder - Use the available events and exports to hook into camera functionality
- Reference existing integrations like
lb-phone.luafor examples
Integration files run on both client and server. Use the
_IS_SERVER global to
determine the current environment.Available Hooks
Client Events
Use client events to react to camera state changes, photo captures, and UI interactions. See the full list in Client Events.Server Events
Use server events to react to gallery changes like photo creation, deletion, and sharing. See the full list in Server Events.Exports
Use exports to programmatically control camera functionality. See Client Exports and Server Exports.Tips
- Look at existing third-party integrations in the
integrationsfolder for reference - Keep your integration modular and self-contained
- Use the configuration pattern from other integrations (
Config.Integrations.YourIntegration.enabled) - Check if required resources exist before initializing your integration

