VCORE Ecosystem StudioFrameworkServerClipr
VCORE Studio›Products›Vcore Framework›Resources
Documentation
Base Resource

Vcore-banking

Vcore-banking is part of Vcore Framework.

Resource folder: bankingv1.0.0VCore FrameworkVCORE foundation

Introduction

Vcore-banking is part of Vcore Framework.

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

UI page: ui/index.html

Dependencies & References

ResourceTypePackage status
coreManifest dependencyIncluded in Base
inventoryManifest dependencyIncluded in Base
oxmysqlManifest dependencyExternal / prerequisite
polyzoneManifest dependencyIncluded in Base
businessReferenced resourceIncluded in Base
logsReferenced resourceIncluded in Base
utilsReferenced resourceIncluded in Base

Cross-resource export calls

ResourceFunctions called
businessHasBusinessPermission
coregetCoreObject
inventoryAddItem, GetItemAmount, RemoveItem
logsLog
utilsRegisterAdminAction

Installation / Start Order

Install the resource with its required dependencies, then enable it in your resource start order.

server.cfg
ensure banking

Configuration

Config files

  • No dedicated config file is declared.

Top-level config keys

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

Vcore also includes the consolidated VCORE_INSTALL.sql.

Source Layout

AreaFiles
Client Lua1
Server Lua2
Other/shared Lua2
JavaScript1
HTML1
CSS1
SQL1

Troubleshooting

  • Confirm all manifest dependencies are started before banking.
  • Confirm the resource is enabled in the correct start order.
  • 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.