mirror of
https://github.com/Such-Software/wownerogue.git
synced 2026-10-17 22:31:26 +02:00
update .env.example with balance stuff
This commit is contained in:
+31
-3
@@ -317,9 +317,37 @@ PORT=3000
|
||||
# Default: alerts@monerogue.app
|
||||
# ALERT_FROM_EMAIL=noreply@yourdomain.com
|
||||
|
||||
# Low balance threshold in atomic units (triggers email alert)
|
||||
# Default: 100000000000 (0.1 XMR/WOW)
|
||||
LOW_BALANCE_THRESHOLD=100000000000
|
||||
# -------------------------
|
||||
# BALANCE THRESHOLDS
|
||||
# -------------------------
|
||||
# Two-tier alert system for wallet balance monitoring:
|
||||
#
|
||||
# BALANCE_WARN: Sends email alert when balance drops below this level
|
||||
# You should top up the wallet soon.
|
||||
#
|
||||
# BALANCE_CRITICAL: Sends email AND HALTS NEW GAMES when balance drops below
|
||||
# Users will see a modal: "Sorry, the house balance is too low..."
|
||||
# Games resume automatically when balance is restored above this threshold.
|
||||
#
|
||||
# All values in atomic units:
|
||||
# WOW: 1 WOW = 100000000000 (10^11)
|
||||
# XMR: 1 XMR = 1000000000000 (10^12)
|
||||
|
||||
# Warning threshold - sends email alert (default: 0.1 WOW/XMR)
|
||||
BALANCE_WARN=100000000000
|
||||
|
||||
# Critical threshold - halts new games (default: 0.01 WOW/XMR)
|
||||
BALANCE_CRITICAL=10000000000
|
||||
|
||||
# Legacy alias (superseded by BALANCE_WARN, kept for backwards compatibility)
|
||||
# LOW_BALANCE_THRESHOLD=100000000000
|
||||
|
||||
# -------------------------
|
||||
# OTHER ALERT SETTINGS
|
||||
# -------------------------
|
||||
|
||||
# Alert when pending/failed payouts exceed this count
|
||||
HIGH_PENDING_THRESHOLD=10
|
||||
|
||||
# Alert cooldown in milliseconds (avoid spam)
|
||||
# Default: 3600000 (1 hour)
|
||||
|
||||
Reference in New Issue
Block a user