From 33e2194419e4fa6176a937bd012265d713c9506d Mon Sep 17 00:00:00 2001 From: Apehum <36326454+Apehum@users.noreply.github.com> Date: Mon, 30 Sep 2024 15:09:28 +0800 Subject: [PATCH] clarify forwarding secret folder location and add documentation for PLASMO_VOICE_FORWARDING_SECRET_FILE env --- docs/server/proxy/index.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/server/proxy/index.md b/docs/server/proxy/index.md index 3a5c205..2d334a2 100644 --- a/docs/server/proxy/index.md +++ b/docs/server/proxy/index.md @@ -96,9 +96,14 @@ IP and ports usually match too, but they can be different if you configured it t In the `~/plugins/plasmovoice` folder of the **Proxy** a file called `forwarding-secret` will appear. -Copy this file into the `~/plugins/plasmovoice/` folders for each of the **Servers** behind the proxy. +Copy this file into the `~/plugins/plasmovoice/` (or `~/config/plasmovoice/server/` for Fabric/Forge/NeoForge) +folders for each of the **Servers** behind the proxy. -You can also use the `PLASMO_VOICE_FORWARDING_SECRET` environment variable. The environment variable has a higher priority than the file. +You can change `forwarding-secret` file location using +`PLASMO_VOICE_FORWARDING_SECRET_FILE` environment variable. + +You can also use the `PLASMO_VOICE_FORWARDING_SECRET` environment variable. +The environment variable has a higher priority than the file. Restart each **Server** after specifying the **Forwarding Secret**.