# Copy this file to .env and fill in your values # Discord bot token and channel DISCORD_TOKEN=MTA3MTEwMzcwMDAyMzY0ODMyMA.GIlFkn.o10LKcpjlaLDvVsgF_WKZhz5ykPYf1KEds_g3I DISCORD_CHANNEL_ID=1247178901004877916 # Optional if using webhooks WEBHOOK_URL= # Display name and avatar for server-origin messages when using webhooks SERVER_NAME=TFMC # Optional image URL to use as the avatar for server messages # SERVER_IMAGE=https://example.com/server-icon.png # If logs are mounted, keep true; set to false to use remote webhook mode IS_LOCAL_FILE=true # Path on host to the Minecraft server logs directory containing latest.log MC_LOGS_DIR=./data/logs # Optionally override the log path inside the container # LOCAL_FILE_PATH_OVERRIDE=/minecraft/logs/latest.log # RCON connection to send Discord -> Minecraft messages # Ensure server.properties has enable-rcon=true and set password/port # Set IP to the Minecraft server host or container name on the Docker network MINECRAFT_SERVER_RCON_IP=mc MINECRAFT_SERVER_RCON_PORT=25575 MINECRAFT_SERVER_RCON_PASSWORD=509dbd71b996df2bd575d43b