RE:CORD
Server API

setMetadata

Server API for REC_Core, with configuration and implementation details.
Added
Updated
Server side

Set a metadata value; nil removes the key.

ArgumentTypeDescription
playerIdintegerConnection ID; use a positive integer unless the export explicitly accepts the console.
keystringProfile or metadata key.
valueanyJSON-serializable value; nil deletes the key.

Returns boolean.

exports.REC_Core:setMetadata(playerId, key, value)
©2026 RE:CORD Development Group. All rights reserved.