From d0beb4fe83dd731ffbfb9e624db46cdf665b7af1 Mon Sep 17 00:00:00 2001 From: Material Foundry <68693756+CDeenen@users.noreply.github.com> Date: Thu, 10 Jun 2021 17:04:31 +0200 Subject: [PATCH] Updated Module Setup (markdown) --- Module-Setup.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Module-Setup.md b/Module-Setup.md index 8da8a08..0bd5fd2 100644 --- a/Module-Setup.md +++ b/Module-Setup.md @@ -10,6 +10,22 @@ These will be explained in the relevant wiki pages for the specific actions: [Pl Below that, you will find the following settings: * **Enable module**: Ticking this box enables the module * **Stream Deck Model**: Select the model of your stream deck. This is optional, all it does is change the amount of macros and sounds that you can assign in the macro and soundboard configuration screens. If you have a smaller Stream Deck, you might not want to have a screen filled with 64 macros, since you probably won't use that many (you can, if you want to, though) -* **Material Server Address**: Fill in the address of Material Server (usually if you run it on the same computer as you're using for Foundry, this can be localhost:3001). This is not necessarily the IP address of Foundry! It is the IP address of the computer that's running Material Server, if you're unsure, start Material Server, and its IP address will be printed at the start. More info on the server can be found [here](https://github.com/CDeenen/MaterialServer) +* **Material Server Address**: Fill in the address of Material Server. See below. + +### Material Server Address +Finding the correct Material Server address can be a bit confusing. The important thing is that you distinguish between the Foundry server and your Foundry client. When you use Foundry, there is a single server, and multiple clients (one for each player). The client is usually a web browser, but this can also be the Foundry app if you use that to access the game.
+For setting the address, the location of the Foundry server does not matter. It can be on your pc, on the Forge, or anywhere you want.
+For most people, the Foundry client (either a browser or the Foundry application), the Stream Deck and Material Server are on the same computer. In this case, you can (usually) set the address to 'localhost:3001'.
+Only if you have the Stream Deck and Material Server on a different computer, do you need to change the address to something else. In this case, when you start Material Server, it will print the IP, simply input that as the Material Server Address. I do not recommend this setup, but it can work if you really want it.
+**Even if you think you need to set the address to anything different than 'localhost:3001', I suggest you first give 'localhost:3001' a try.**
+
+If the address is 'localhost:3001', the Foundry server can be either secure or insecure.
+If the address is different (because Material Server and the Stream Deck are on a different computer), you will have issues if the Foundry server is secure.
+
+If, for some reason, you still have issues with a secured Foundry server, you could try the following (you will need to have Material Server and the Stream Deck on the same computer as your Foundry client):
+*Chrome: Navigate to `chrome://flags/#allow-insecure-localhost`, and enable it
+*Firefox: Navitage to `about:config`, search for `network.websocket.allowInsecureFromHTTPS` and set it to `true`
+
+More info on the server can be found [here](https://github.com/CDeenen/MaterialServer)
![](https://github.com/CDeenen/MaterialDeck/blob/Master/wiki/img/ModuleSettings.png) \ No newline at end of file