-
Notifications
You must be signed in to change notification settings - Fork 0
EconGuard Integration
EconGuard is the suite's shared economy audit ledger and anti-abuse core. When it's installed, RoyalBazaar reports every trade to it automatically.
The bazaar is usually a server's single biggest money faucet and sink — coins are created every time someone sells and destroyed every time someone buys. That makes it exactly the flow you want an audit trail over. RoyalBazaar on its own only knows about bazaar trades; EconGuard correlates them with the same players' activity across the whole suite (banking, the auction house, /pay).
With EconGuard installed:
- Every completed buy and sell is reported to the shared ledger under the
bazaarsource, with the amount and whether it was incoming (a sell) or outgoing (a buy). -
/eg history <player>shows a player's bazaar activity alongside their bank and auction activity. - EconGuard's detection (large-transaction and velocity signals) runs over the combined data — so a player quietly draining the market shows up next to whatever else they're doing.
Because a bazaar trade is between the player and the market (there's no second player), it's logged as a market movement rather than a player-to-player transfer.
There is nothing to configure. If EconGuard is installed, RoyalBazaar detects it and starts reporting automatically. If it isn't, RoyalBazaar behaves identically without it — the hook is a single optional check, genuinely zero-cost when absent.
- Install EconGuard.
- Restart the server.
- Make a trade, then run
/eg statsor/eg history <player>— the bazaar event should appear.
RoyalBazaar doesn't depend on EconGuard loading first — the reporting hook resolves lazily when EconGuard is present, so either order works. Add EconGuard later and RoyalBazaar picks it up on the next restart.
See EconGuard's own wiki for its detection signals, flag review, and tuning.
RoyalBazaar · part of the eco suite (RoyalBank · RoyalAuctions · EconGuard) · Source on GitHub
Getting started
Using it
Help