Files
TFMC-Discord/.env.example
2025-10-02 00:29:29 +02:00

28 lines
976 B
Plaintext

# Copy this file to .env and fill in your values
# Discord bot token and channel
DISCORD_TOKEN=
DISCORD_CHANNEL_ID=
# Optional if using webhooks
WEBHOOK_URL=
# Display name and avatar for server-origin messages when using webhooks
SERVER_NAME=Shulker
# 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=127.0.0.1
MINECRAFT_SERVER_RCON_PORT=25575
MINECRAFT_SERVER_RCON_PASSWORD=