Skip to content

Conversation

@itsneufox
Copy link
Contributor

@itsneufox itsneufox commented Nov 14, 2025

Implements ${VAR_NAME} and ${VAR_NAME:-default} syntax for environment variable expansion. Supports $$ escape sequence for literal $ characters.

Examples:

  • Normal:
    "rcon": {
        "password": "${RCON_PASSWORD}"
    }
  • With fallback default:
    "rcon": {
        "password": "${RCON_PASSWORD:-changeme1}"
    }

edit: this closes #1015

@AmyrAhmady AmyrAhmady merged commit 8a97bd4 into openmultiplayer:master Nov 26, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add environment variables to config.json

2 participants