RE:CORD
Server API

setValue

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

Set one value; nil deletes it. The online canSetValue handler can reject the operation.

ArgumentTypeDescription
playerIdintegerConnection ID; use a positive integer unless the export explicitly accepts the console.
namespacestringValue-store namespace.
dataKeystringKey inside the namespace.
valueanyJSON-serializable value; nil deletes the key.

Returns boolean.

exports.REC_Core:setValue(playerId, namespace, dataKey, value)
©2026 RE:CORD Development Group. All rights reserved.