Documentation
Base Resource

banking

The supplied manifest describes this resource as “VCore - Banking”.

v1.0.0VCore FrameworkVCORE foundation

Introduction

The supplied manifest describes this resource as “VCore - Banking”.

1Client Lua
2Server Lua
18Exports
3Events
8SQL tables

UI page: ui/index.html

Dependencies & References

ResourceDetected asPackage status
coreManifest dependencyIncluded in Base
inventoryManifest dependencyIncluded in Base
oxmysqlManifest dependencyExternal / prerequisite
polyzoneManifest dependencyIncluded in Base
businessReferenced by sourceIncluded in Base
logsReferenced by sourceIncluded in Base
utilsReferenced by sourceIncluded in Base

Cross-resource export calls

ResourceFunctions called
businessHasBusinessPermission
coregetCoreObject
inventoryAddItem, GetItemAmount, RemoveItem
logsLog
utilsRegisterAdminAction

Installation / Start Order

The supplied server.cfg enables this resource in the VCORE foundation stage at enabled-resource position 18. Base installation also depends on the global prerequisites and consolidated VCORE_INSTALL.sql documented in Getting Started.

server.cfg
ensure banking

Configuration

Config files

  • No dedicated config file detected.

Top-level config keys detected

Currency

Events, Exports & Callbacks

Exports

Client exports1
  • IsNearATM
Server exports17
  • AccountExists
  • BankDeposit
  • BankIsFrozen
  • BankSet
  • BankTransfer
  • BankWithdraw
  • CreateAccount
  • DeleteAccount
  • DepositToPrimaryAccount
  • EnsureBusinessAccount
  • ExecuteUtilsAdminAction
  • GetAccount
  • GetPrimaryAccountBalance
  • GetPrimaryAccountNumber
  • SetAccountAccess
  • SetAccountOwner
  • WithdrawFromPrimaryAccount

Callbacks

Server callbacks6
  • banking:server:action
  • banking:server:exchangeCoins
  • banking:server:history
  • banking:server:loan
  • banking:server:manage
  • banking:server:open

Registered network events

Client registered events2
  • banking:client:open
  • banking:client:openAtm
Server registered events1
  • banking:server:collectPaycheck

Commands

Client commands2
  • fixbanking
  • paycheck

Database / SQL

FileType
sql/banking.sqlResource SQL file
account_accessaccount_transactionsaccountsbanking_credit_profilesbanking_loansbanking_paycheck_claimsbanking_payroll_earningsbanking_schema

The root Base package also ships the consolidated VCORE_INSTALL.sql.

Source Layout

AreaDetected files
Client Lua1
Server Lua2
Other/shared Lua2
JavaScript1
HTML1
CSS1
SQL1

Troubleshooting

  • Confirm all manifest dependencies are started before banking.
  • Check the supplied start-order note above; resources absent from server.cfg need an explicit decision before enabling.
  • 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_page when one is declared.