arc-trapphone is the Archon trap phone resource for trap phone usage, payphone interactions, and bridge-based compatibility for framework, inventory, and interaction handling. This guide covers the required dependencies, inventory item setup, image placement, and startup order.
By default,
arc-trapphone auto-detects your supported framework, notification system, UI, inventory, interaction mode, and target resource. Most supported setups do not require any configuration changes before first startup.Install (or update) dependencies
oxmysql
Download oxmysql
ox_lib
Download ox_lib
ox_inventory
Download ox_inventory
ox_target
Download ox_target
arc-trapphone auto-detects supported integrations by default.Out of the box auto-detect support includes:ESX/QBCore/Qbox/standaloneox_inventory/esx/qb/qboxox_target, text UI, or custom interaction handling- automatic notification and UI detection for supported setups
oxmysql and ox_lib should be started before arc-trapphoneAlternatively, you could add your own support within shared/bridge.lua manually.Add the required inventory item and images
Navigate to the script’s
install directory and copy the required item data and images into your inventory resource.- ox_inventory
- qb-core
Add to:
ox_inventory/data/items.luaThe trap phone item and its image must both be added correctly for the resource to function properly.Make sure the image filename matches the item name used in your inventory.
Place the resource in your resources folder
Create a dedicated subfolder such as Alternatively, you may place the script in any folder that starts after its dependencies in your server’s resource load order.
[archon], then place arc-trapphone inside it.Example:Leave the install files in place
You do not need to import the included
.sql file manually. Any included SQL setup is handled automatically where required.Optional: review configuration
No configuration changes are required for most supported setups.By default, the resource auto-detects:
- Framework
- Notifications
- UI
- Inventory
- Interaction mode
- Target resource
- Force a specific supported integration instead of using auto-detect
- Use a custom notification, UI, or interaction implementation
- Disable target usage and use another supported interaction method
- Apply optional script-specific customizations
Update server.cfg
Once all other steps are complete, open your
server.cfg and add ensure [archon] to the very bottom of your resource start list.If you are not using an
[archon] folder, make sure the resource starts only after all required dependencies.