Archived
This repository has been archived on 2026-11-01 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
04f64525681ef6e6c69db87afd43e607e7c48cbc
SubstAgent
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> [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.
Description
Enables Spigot plugins to use bash environment variables in their configuration files
328 KiB
0 Stars
2 Watchers
0 Forks
Languages
Java
100%