Realm: server. Every symbol on this page exists only on the server. Nothing here is
available on a client, and nothing in the adapter contract runs on one.
The entry point
Vetra.Blueprints.Adapters.HOOK
lua/autorun/server/ file, in either load
order. Blueprints fires it once, after the map has loaded.
Registration
Register(def)
def
is documented in Adapter anatomy.
Interrogating the registry
These answer with plain data. No caller outside Blueprints ever receives a table holding another adapter’s functions.Has(id)
IsAvailable(id)
Available throws is reported
unavailable, with a reason distinguishing a fault from a missing dependency.
DependencyVersion(id)
nil if there is no dependency, no Version function, or the
function did not return a string.
Describe(id)
capabilities is a sorted array of the names this adapter declared and this build
honours. Third-party text (reason, dependency.version) is truncated to 240 characters.
Returns nil if no such adapter is registered.
List()
Compatibility
STATES
Compatibility(id, recordedDataVersion)
recordedDataVersion of nil means 1.
SnapshotCompatibility(snapshot)
Constants
Capabilities()
ID_PATTERN
ID_MAX
The optional entity helper
Vetra.Blueprints.Entities.Identity(ent)
- A map-baked entity resolves through the engine’s own creation id and is
persistent. - Anything spawned at runtime gets a Blueprint-assigned id and is
session.
This is not part of the adapter contract. Nothing requires it, and Blueprints’ own DarkRP
adapter does not touch it. It exists, it is public, and it is optional.If you use it, declare
identity = { scope = "session" } on your descriptor, because that is
the weakest scope it can return.The rest of Vetra.Blueprints.Entities is Blueprints’ own helper for its built-in adapters
and is not a stable third-party surface.Capability functions you implement
These are called by Blueprints, on your descriptor, with the descriptor asself. Full
semantics in Adapter anatomy.
Result shapes
Vocabularies
The console surface
Not a Lua API. The diagnostics ship as one console command, and the command is the supported way to inspect adapters, run the contract and check compatibility.
What each mode of
test touches is in Testing your adapter.