Allow configuration through a file and export images automatically

Introduce a configuration file for all settings, remove the web-based config editor, fix the grid display, and add automatic hourly PNG exports.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0385ea33-cde8-4bbd-8fce-8d192d30eb41
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/870d08ce-da3b-4822-9874-c2fe2b7628b1/0385ea33-cde8-4bbd-8fce-8d192d30eb41/Zffw2vY
This commit is contained in:
freesemar93
2025-08-18 12:20:13 +00:00
parent 7e739f216d
commit 7968b56976
10 changed files with 218 additions and 272 deletions

24
config.cfg Normal file
View File

@@ -0,0 +1,24 @@
# r/place Canvas Configuration
# Ändere diese Werte um die Canvas-Einstellungen anzupassen
# Canvas Dimensionen
CANVAS_WIDTH=100
CANVAS_HEIGHT=100
# Cooldown Einstellungen (in Sekunden)
DEFAULT_COOLDOWN=5
# Automatische Events (true/false)
# Wenn aktiviert, gibt es keine Cooldowns
ENABLE_AUTOMATIC_EVENTS=false
# Event Einstellungen
EVENT_DURATION_MINUTES=30
EVENT_INTERVAL_HOURS=6
# Grid Einstellungen
SHOW_GRID_BY_DEFAULT=true
# Export Einstellungen
AUTO_EXPORT_INTERVAL_SECONDS=60
EXPORT_PATH=./exports/