Sources and uses
Withdrawable balance
Only part of the balance can be withdrawn to community energy:- Counts as withdrawable: deposits, winnings from matches against real players, and shares of ticket table prize pools.
- Does not count: daily free energy, relief grants, winnings from bot seats, and platform bonuses.
- Spending uses the non-withdrawable part first.
Stake tables
- Before sitting down, call
nl.energy.confirmStake({base, cap, table}). The host shows the amount to hold and today’s remaining allowance. If the user declines, it returnsUSER_CANCELLED. - The game service holds
base × capwhen the player sits down (per-match cap 2,000 by default). - After the match, the game service settles: wins and losses are zero-sum, a loser never loses more than the hold, and 5% of the winner’s gain is raked and burned. Holds for matches that never started are returned in full.
nl.system.getInfo().capabilities contains energy.stake. Otherwise, hide stake tables.
In-game payments
Only the game service can create orders, on the server. The client cannot create orders itself. The game service sends the order token to the client, the client callsnl.energy.requestPayment(orderToken), and after the user confirms in the host panel, the server completes settlement. Orders not confirmed within 10 minutes expire.
User protection
- Daily stakes (including tickets), net losses, and deposits each have a cap. Net loss is counted at the worst case, so several simultaneous matches cannot exceed it.
- Users can lower their caps in game settings (effective immediately) or pause stake tables for 1, 7, or 30 days. Raising a cap takes effect after 24 hours.
- The platform reconciles daily. If the books do not match, staking and settlement pause until staff resolve it. Refunds, deposits, and claims continue as normal.
Platform rules
All numbers above are defaults. Each one is set by platform policy and may change. Do not hard-code limits in the game; when displaying them, readlimits and remaining from nl.energy.getWallet().
