diff --git a/docs/config.md b/docs/config.md new file mode 100644 index 0000000..d1969b9 --- /dev/null +++ b/docs/config.md @@ -0,0 +1,15 @@ +## eaglercraftXopts and search parameters + +### noInitialModGui +- `processed.html?noInitialModGui=true` +or inside eaglercraftXopts + +disables the mod gui display on startup + + +### Adding mods +Set eaglercraftXopts.Mods to an array of mod urls. + +You can also use search parameters, eg: +- `processed.html?mod=https://example.com/mod.js` +- `processed.html?mod=https://example.com/mod.js&mod=https://example.com/mod2.js` \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index 7ef3dcc..94e63a4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -10,4 +10,6 @@ EaglerForge Injector is a tool that uses regular expressions to attach itself to [Modding API documentation](apidoc/index.md) -[Compiling the client for EaglerForgeInjector](compiling_client.md) \ No newline at end of file +[Compiling the client for EaglerForgeInjector](compiling_client.md) + +[eaglercraftXopts and search parameters](config.md) \ No newline at end of file diff --git a/injector.js b/injector.js index 542b126..6237f1c 100644 --- a/injector.js +++ b/injector.js @@ -296,11 +296,11 @@ var main;(function(){` ` id="game_frame"> \