RE:CORD
Server API

setOfflineValue

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

Write a value directly for an unloaded character. This bypasses the online handler and events.

ArgumentTypeDescription
citizenIdstringPersistent character ID.
namespacestringValue-store namespace.
dataKeystringKey inside the namespace.
valueanyJSON-serializable value; nil deletes the key.

Returns boolean.

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