Create New Player
Creates a player on the XGENIA RGS platform and gives them a starting play-money balance.
This is how a game hands out a float: the balance is set on the player as they are created, rather than paid in as a deposit.
The player is created with the Initial Demo Balance you give it. That balance is play money — the node never touches a real-money balance, and it writes no transaction, because it is not a cashier operation.
Amounts are in minor units: 1000 is 10.00.
Use the returned Player Id for everything downstream — Get Player, Update Player, the session nodes — and to identify rounds in the platform's Bet History.
Inputs
Actions
| Signal | Description |
|---|---|
| Do | Runs the node. |
General
| Data | Description |
|---|---|
| Player Name (string) | Display name for the new player. Must not collide with an existing named player. |
| Initial Demo Balance (number) | Starting play-money balance, in minor units. |
Outputs
Result
| Data | Description |
|---|---|
| Player Id (string) | Id of the player that was created. Pass this to the other player and session nodes. |
| Is Successful (boolean) | True when the call succeeded. |
| Error (string) | The failure message when the call did not succeed. |
Events
| Signal | Description |
|---|---|
| Done | Sent when the node has finished, on success and on failure alike. |
Player names on the platform are unique among named players. Anonymous guest players — the ones the platform provisions automatically for a browser with no player node in the graph — are excluded from that rule, so asking for a name can never adopt somebody's guest session. See Round tracking.