payphone
Public payphones using VCORE Phone calls, Core prompts/menus/notifications and inventory cash. Configure supported world models, interaction range, cash item, call price and billing interval in config.lua. Calls are charged once answered and then once per configured interval. Saved contacts are offered when the player has a VCORE phone number; manually dialling does not require owning a phone. Start after core, inventory and vcorephone.
Introduction
Public payphones using VCORE Phone calls, Core prompts/menus/notifications and inventory cash. Configure supported world models, interaction range, cash item, call price and billing interval in config.lua. Calls are charged once answered and then once per configured interval. Saved contacts are offered when the player has a VCORE phone number; manually dialling does not require owning a phone. Start after core, inventory and vcorephone.
No manifest UI page detected.
Dependencies & References
| Resource | Detected as | Package status |
|---|---|---|
core | Manifest dependency | Included in Base |
inventory | Manifest dependency | Included in Base |
vcore_phone | Manifest dependency | Included in Base |
logs | Referenced by source | Included in Base |
Cross-resource export calls
| Resource | Functions called |
|---|---|
core | getCoreObject |
inventory | GetItemAmount, RemoveItem |
logs | Log |
vcore_phone | EndPhoneCall, GetPhoneContacts, GetPhoneNumber, StartExternalCall |
Installation / Start Order
The updated server.cfg explicitly classifies payphone under Addons and extras. It is optional and is not started by default.
ensure payphoneKeep the addon after its required framework dependencies. Global Vcore prerequisites and database setup are documented in Getting Started.
Configuration
Config files
config.lua
Top-level config keys detected
AllowContactsAllowServiceNumbersAnimationBillingIntervalSecondsCallDistanceCallerLabelCallerNumberCashItemCostPerIntervalInteractionDistanceModelsPhoneNumberFormatScanDistanceScanIntervalServerValidationDistanceSessionLifetimeEvents, Exports & Callbacks
Exports
No export definitions were detected.
Callbacks
Server callbacks2
payphone:server:preparepayphone:server:startCall
Registered network events
Client registered events3
payphone:client:answeredpayphone:client:chargedpayphone:client:ended
Server registered events1
payphone:server:hangup
Commands
No commands were detected.
Database / SQL
No resource-local SQL file was detected.
The root Base package also ships the consolidated VCORE_INSTALL.sql.
Source Layout
| Area | Detected files |
|---|---|
| Client Lua | 1 |
| Server Lua | 1 |
| Other/shared Lua | 2 |
| JavaScript | 0 |
| HTML | 0 |
| CSS | 0 |
| SQL | 0 |
Troubleshooting
- Confirm all manifest dependencies are started before
payphone. - This addon is intentionally commented out in the supplied server.cfg. Enable it only after its dependencies are installed.
- If database queries fail, import the consolidated Base SQL and any resource-local SQL listed above.
- If the UI fails, verify the resource's NUI files and
ui_pagewhen one is declared.

