Update README.md

This commit is contained in:
Sven authored and GitHub committed 2025-06-16 21:23:54 +02:00
1 parent be1e2a6441
commit be4ee88346
1 file changed
+4 -1
+4 -1
View File
@@ -2,4 +2,7 @@
A Java agent that listens for strings containing environment variables and substitutes them accordingly. It is intended for use with Spigot plugins to enable environment variable support in their configuration files.
## How to use
`java -javaagent:<path to SubstAgent jar> -Xbootclasspath/a:<path to SubstAgent jar> ...`
`java -javaagent:<path to SubstAgent jar> -Xbootclasspath/a:<path to SubstAgent jar> [rest of your command as normal]`\
For example:\
`java -javaagent:./SubstAgent.jar -Xbootclasspath/a:./SubstAgent.jar -jar server.jar nogui`\
In the above example the SubstAgent jar is called `SubstAgent.jar` and is in the same directory as server.jar.