RE:CORD
Server API

setMoney

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

Set the new whole-number balance. Zero is accepted; negative balances require allowNegative.

ArgumentTypeDescription
playerIdintegerConnection ID; use a positive integer unless the export explicitly accepts the console.
accountstringConfigured account name, such as cash or bank.
amountintegerAmount to add/remove, or the new balance for setMoney.
reasonstring?Change reason; omitted or empty becomes @.

A trailing ? marks an optional argument.

Returns boolean.

exports.REC_Core:setMoney(playerId, account, amount, reason)
©2026 RE:CORD Development Group. All rights reserved.