VCORE Ecosystem StudioFrameworkServerClipr
VCORE Studio›Products›Vcore Framework›Documentation
Documentation
Verified

Core Object

Both the client and server Core source expose the same getCoreObject entry point.

Accessing Vcore

lua
local VCORE = exports.core:getCoreObject()

The export is defined in both core/client/main.lua and core/server/main.lua.

Verified namespaces

NamespacePurpose observed in source
VCORE.FunctionsFramework client/server helpers, callbacks, player access, UI and utilities.
VCORE.CommonShared/common utility functions.
VCORE.SharedReference to VCOREShared data.
VCORE.ConfigReference to VCOREConfig.
VCORE.PlayersServer-side player cache.
VCORE.PlayerDataClient-side current player data.

Object event

The Core also registers VCORE:GetObject on both sides.

lua
TriggerEvent('VCORE:GetObject', function(VCORE) -- use VCORE here
end)