Skip to main content

Update Player

Changes an existing player's name or play-money balance on the XGENIA RGS platform.

Identify the player by Player ID or by Player Name — one of the two is required.

Only the fields you actually connect are changed. An untouched Demo Balance port means "leave the balance alone", which is what leaves 0 free to mean "set the balance to zero". Connect the port and send zero to empty a player's float; leave it alone to keep it.

Amounts are in minor units: 1000 is 10.00.

Inputs

Actions

SignalDescription
DoRuns the node.

Identify

DataDescription
Player ID (string)The player to update, by id. Takes precedence over Player Name.
Player Name (string)The player to update, by name. Use when you do not hold an id.

Update

DataDescription
New Player Name (string)New display name. Leave unconnected to keep the current one.
Demo Balance (number)New play-money balance, in minor units. Leave unconnected to keep the current balance — connecting it and sending 0 sets the balance to zero.

Outputs

Result

DataDescription
Player Id (string)Id of the player that was updated.
Player Name (string)The player’s name after the update.
Demo Balance (number)The player’s play-money balance after the update, in minor units.
Is Successful (boolean)True when the call succeeded.
Error (string)The failure message when the call did not succeed.

Events

SignalDescription
DoneSent when the node has finished, on success and on failure alike.