Documentation
Base Resource

business

The resource uses one dedicated tablet interface with four connected modes: - Business Creator for authorised Department of Commerce staff. - Business Portal for on-duty business owners and employees. - Business Administration for Commerce ownership, metadata and physical-system editing. - Business Services for registers, licensing, hiring, warehouses and accountant workflows. The creator uses the existing business schema and creates the owner job, bank account and business record through the existing validated server event. Physical systems such as boundaries, clock-in points, registers and garages are configured inside Business Administration. Zone creation temporarily switches the tablet to a compact placement panel while keeping the existing

v1.0.0VCore FrameworkGameplay systems

Introduction

The resource uses one dedicated tablet interface with four connected modes: - Business Creator for authorised Department of Commerce staff. - Business Portal for on-duty business owners and employees. - Business Administration for Commerce ownership, metadata and physical-system editing. - Business Services for registers, licensing, hiring, warehouses and accountant workflows. The creator uses the existing business schema and creates the owner job, bank account and business record through the existing validated server event. Physical systems such as boundaries, clock-in points, registers and garages are configured inside Business Administration. Zone creation temporarily switches the tablet to a compact placement panel while keeping the existing

5Client Lua
9Server Lua
6Exports
39Events
5SQL tables

UI page: html/index.html

Dependencies & References

ResourceDetected asPackage status
bankingManifest dependencyIncluded in Base
coreManifest dependencyIncluded in Base
garagesManifest dependencyIncluded in Base
inventoryManifest dependencyIncluded in Base
logsManifest dependencyIncluded in Base
oxmysqlManifest dependencyExternal / prerequisite
polyzoneManifest dependencyIncluded in Base

Cross-resource export calls

ResourceFunctions called
bankingBankDeposit, BankTransfer, BankWithdraw, DeleteAccount, DepositToPrimaryAccount, EnsureBusinessAccount, GetAccount, WithdrawFromPrimaryAccount
coregetCoreObject
garagesRegisterGarageAccessProvider
inventoryAddItem, AddItemsToStash, DrainStash, GetPlayerItems, OpenStash, PeekStash, RegisterShop, RegisterShopAccessProvider, RemoveItemAtSlot
logsLog

Installation / Start Order

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

server.cfg
ensure business

Configuration

Config files

  • config.lua

Top-level config keys detected

AccountantAdditionalLicensesBusinessBaseSalaryBusinessCategoriesBusinessFeeAccountBusinessFeeSenderCSNBusinessGarageSlotsBusinessReadGradeBusinessWriteGradeCommerceDepartmentNameCommerceDepartmentPayablesNameCommerceJobCurrencyEmailSenderNameEmployeesReceiveCashTipsEmployeeTipsRequireCashGeneralShopGeneralShopAccessGradeLimitGradePermissionsIconCategoriesInvestmentsRequiredCommerceGradesShopsStashSizesSystemsWarehouse

Events, Exports & Callbacks

Exports

Client exports2
  • HasBusinessPermission
  • RegisterPortalExtension
Server exports3
  • CreateAccountantOrder
  • GetBusinessFeeAccount
  • HasBusinessPermission
Shared exports1
  • GetDeliveryJobs

Callbacks

Server callbacks11
  • business:server:isPublicShopAvailable
  • business:server:openStash
  • business:server:saveGrades
  • business:server:updateBusinessSettings
  • moneywashcommerce:server:beginTask
  • moneywashcommerce:server:canEnter
  • moneywashcommerce:server:finishTask
  • moneywashcommerce:server:getAccountantData
  • moneywashcommerce:server:purchaseAccountant
  • moneywashcommerce:server:reinvestAccountant
  • moneywashcommerce:server:startTasks

Registered network events

Client registered events12
  • VCORE:Client:OnPlayerLoaded
  • business:client:deliveryCollected
  • business:client:openBusLicenceMenu
  • business:client:openManagementMenu
  • business:client:openPremLicenceMenu
  • business:client:openSubmittedWarehouseOrders
  • business:client:openWarehouseMenu
  • business:client:refreshPortal
  • business:client:refreshZones
  • business:client:setActiveDelivery
  • moneywashcommerce:client:manageInvest
  • moneywashcommerce:client:openActiveOrders
Server registered events27
  • business:server:acceptWarehouseOrder
  • business:server:addNewOwner
  • business:server:cancelWarehouseOrder
  • business:server:collectWarehouseDelivery
  • business:server:completeWarehouseDelivery
  • business:server:createBusiness
  • business:server:deleteBusiness
  • business:server:getBusinessManageData
  • business:server:getSubmittedWarehouseOrders
  • business:server:hireEmployee
  • business:server:issueBusinessLicence
  • business:server:issuePremLicence
  • business:server:openDeliveredItems
  • business:server:openWarehouseMenu
  • business:server:placeWarehouseOrder
  • business:server:processRegisterPayment
  • business:server:resumeWarehouseDelivery
  • business:server:selectWarehouseDelivery
  • business:server:setSuspended
  • business:server:terminateEmployee
  • business:server:updateBusiness
  • business:server:updateEmployeeGrade
  • business:server:updateEmployeeGrades
  • business:server:updateJobPermissions
  • business:server:updateJobdata
  • business:server:updateRegisterValue
  • inventory:server:inventoryClosed

Commands

No commands were detected.

Database / SQL

FileType
sql/business.sqlResource SQL file
business_accountant_accessbusiness_accountant_ordersbusiness_licencesbusinesseswarehouse_orders

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

Source Layout

AreaDetected files
Client Lua5
Server Lua9
Other/shared Lua3
JavaScript1
HTML1
CSS1
SQL1

Troubleshooting

  • Confirm all manifest dependencies are started before business.
  • 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.