Files
sftrading/.env.example
jbergner f78274ed84
All checks were successful
release-tag / release-image (push) Successful in 2m18s
Dasdhboard und Abrechnung
2026-05-30 15:33:35 +02:00

54 lines
2.3 KiB
Plaintext

# Discord Developer Portal / Bot
DISCORD_TOKEN=BotTokenHere
DISCORD_APP_ID=ApplicationIDHere
# Optional: set for fast slash-command registration during development.
# Empty = global commands, can take longer to propagate.
DISCORD_GUILD_ID=OptionalTestGuildIDForFastCommandRegistration
# Public channel for sanitized order overview. Leave empty if only the internal team should see order posts.
DISCORD_PUBLIC_ORDER_CHANNEL_ID=PublicOrderChannelIDOptional
# Private/internal channel for team operations. The bot posts buttons and warehouse checks here.
DISCORD_INTERNAL_ORDER_CHANNEL_ID=PrivateTeamOrderChannelIDRequired
# Optional audit/log channel for admin traceability.
DISCORD_AUDIT_CHANNEL_ID=AuditLogChannelIDOptional
# Comma-separated role IDs. Admin role can modify inventory and force status changes.
DISCORD_ADMIN_ROLE_IDS=123456789012345678,234567890123456789
# Comma-separated role IDs. Team role can see internal orders, accept/decline, check warehouse.
DISCORD_TEAM_ROLE_IDS=345678901234567890
DATABASE_PATH=orders.db
# After this many hours, internal threads for archived orders are deleted.
# Applies to: abgeschlossen, abgelehnt, abgebrochen. Set 0 to disable cleanup.
THREAD_DELETE_AFTER_HOURS=72
# Trading module
# Members with one of these roles may create Trading-Runs. Team/Admin can also use the module.
DISCORD_TRADING_ROLE_IDS=456789012345678901
# Channel where /trading_report posts monthly results. Falls back to audit/internal channel when empty.
DISCORD_TRADING_REPORT_CHANNEL_ID=TradingReportChannelIDOptional
# Comma-separated autocomplete lists.
TRADING_SHIPS=Caterpillar,C2 Hercules,Freelancer MAX,Hull A,Hull C,Taurus
TRADING_COMMODITIES=Gold,Beryl,Diamond,Laranite,Agricium,Quantanium,Processed Food,Medical Supplies
# Organization share per purpose. Supports either 10 or 0.10 for 10%.
TRADING_SHARE_TRADE=10
TRADING_SHARE_HAULING=5
TRADING_SHARE_EVENT=0
TRADING_SHARE_INTERN=0
# Trading settlement DMs tell members where to transfer their org share.
TRADING_PAYOUT_RECIPIENT=B1tK1ll3r
# Optional internal web dashboard. Leave DASHBOARD_ADDR empty to disable.
# Example local: 127.0.0.1:8080. Example Docker: 0.0.0.0:8080
DASHBOARD_ADDR=0.0.0.0:8080
# Optional shared token. Dashboard URL then needs ?token=YourSecretToken or Authorization: Bearer YourSecretToken
DASHBOARD_TOKEN=ChangeMePlease