We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ea3c22 commit 4ff3b90Copy full SHA for 4ff3b90
1 file changed
docs/eggs/creating-a-custom-egg.mdx
@@ -165,8 +165,11 @@ java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}
165
}
166
```
167
168
-:::Note
169
-The double curly bracket `{{VAR_NAME}}` is only used in the Startup variables, everywhere else it is `${VAR_NAME}`.
+:::note
+Variable syntax depends on the context:
170
+**Startup commands**: Use `{{VAR_NAME}}` (e.g., `{{SERVER_MEMORY}}`)
171
+**Configuration file parsers**: Use `{{server.environment.VAR_NAME}}` or `{{server.allocations.default.port}}`
172
+**Install scripts and shell environments**: Use `${VAR_NAME}`
173
:::
174
175
**In Install Scripts:**
0 commit comments