StromDocs

Economy

The economy module gives your server its own coin system. Members earn coins, save them in an interest-earning bank, spend them in a server shop, and compete on a leaderboard. Every movement is tracked on a server-side ledger so balances stay accurate.

Features

  • Wallet and bank balances with bank interest.
  • Daily and weekly rewards with claim streaks.
  • Coinflip gambling with configurable odds and caps.
  • Server shop with stock, sell refunds, and role items.
  • Transfers between members with a configurable tax.
  • Leaderboard and milestone role rewards.
  • Optional activity micro-reward.
  • Full audit ledger of every coin movement.

Commands

Every command works as both a slash command (/balance) and a prefix command (!balance).

CommandDescriptionAccess
/balance [user]Show a member’s wallet, bank, and inventory.Everyone
/richest [page]Show the server economy leaderboard.Everyone
/dailyClaim the daily reward; consecutive claims build a streak bonus.Everyone
/weeklyClaim the weekly reward.Everyone
/deposit <amount>Move coins from your wallet into the bank.Everyone
/withdraw <amount>Move coins from the bank back to your wallet.Everyone
/pay <user> <amount>Transfer coins to another member.Everyone
/gamble <amount> [game]Bet coins on a coinflip.Everyone
/shopBrowse the server shop.Everyone
/buy <item>Buy an item by its id or name.Everyone
/sell <item> [quantity]Sell items you own at the refund rate.Everyone
/inventoryView the items you own.Everyone
/setcoins <user> <amount>Set a member’s wallet to an exact amount.Manage Server
/addcoins <user> <amount>Add coins to a member’s wallet.Manage Server
/removecoins <user> <amount>Remove coins from a member’s wallet.Manage Server
/resetcoins <user>Reset a member’s economy entirely.Manage Server
/economyShow the module summary and whether it is enabled.Everyone

The command list may vary by build. Discord autocomplete is the source of truth for your server.

Setup

  1. Open the dashboard.
  2. Select your server.
  3. Go to Economy.
  4. Enable the module and configure the currency name, starting coins, daily/weekly amounts, bank interest, transfer tax, and gamble settings.
  5. Add items to the server shop under Shop if you want members to spend coins.
  6. Add milestone rewards under Rewards to grant roles at wallet balance thresholds.

The module ships with sane defaults, so it works out of the box without configuration.

Anti-manipulation

Economy systems need safeguards, and Strom enforces them in the service layer:

  • Atomic payments — money is subtracted in the same operation as the charge is validated, so double-spending is impossible.
  • Bots excluded — bot accounts never earn or claim coins while Ignore Bots is enabled.
  • Cooldowns and caps — gamble has a per-user cooldown and daily cap; claims are blocked once per cycle.
  • Coin sinks — transfer tax and the gamble house edge remove coins from circulation, which protects the server’s economy from inflation.

Milestone rewards

Milestone rewards assign roles when a member’s wallet crosses configured balance thresholds — for example a rich role at 50,000 coins. For this to work:

  • Strom needs Manage Roles.
  • The Strom Bot role must be above every reward role.
  • Reward roles should not include dangerous permissions unless intentionally granted.

Troubleshooting

Members are not earning coins

Check that the economy module is enabled in the dashboard and on the server’s plan, and that bot accounts are not being used to test. Daily and weekly claims only pay once per cycle.

A shop item does not grant its role

Move the Strom Bot role above the reward role and confirm Manage Roles is granted.

Balances do not add up

Coins never go negative and every movement is written to the audit ledger. Use Audit tab in the dashboard (or contact staff) to review the exact movements for a member.

Members have different starting balances

Starting coins apply when a member is first claimed by the economy. Changing the starting amount only affects members who join after the change.