Skip to content

Streamer.bot

MoSadie edited this page Sep 4, 2024 · 1 revision

(or other stream automation tools)

EffectMC can be triggered by tools like Streamer.bot using HTTP requests. (Or may be labeled as "Fetch URL" or something similar)

This is a step by step guide on how to set up Streamer.bot to trigger effects.

Step 1: Get the URL to fetch.

If you're confident in figuring out the URL yourself, you can use the details on the Send HTTP Request to build out the URL.

Otherwise here is an easy way to generate it manually:

  1. Open your browser of choice. For this example I will be using Edge but the same general steps should work for other browsers.
  2. Open up Minecraft with the EffectMC mod installed.
  3. If the computer is the same one running Minecraft, go to http://localhost:3000 in your browser. (Otherwise go to http://<your computer's local IP>:3000)
  4. Click on the effect you want to trigger.
  5. Fill out the details on the page.
  6. Open the developer tools by pressing F12 or right clicking and selecting Inspect. You will want the network tab open.
  7. Click the button to trigger the effect.
  8. Look for the request to appear in the network tab. It should be a request to a resource with the name of the effect (ex. sendchat)
  9. Right click on the request and select Copy -> Copy URL.
  10. Paste the URL into a text editor for later use. The only part you may want to change is device=browser to device=streamerbot (makes it easier to identify in logs, though you will need to run /effectmc trust after changing this the first time)

Step 2: Set up an Action in Streamer.bot

  1. Open Streamer.bot and go to the Actions tab.
  2. Right click in the Actions list and select Add
  3. Fill out details and select OK
  4. Select the Action by left clicking on it in the list.
  5. Right click in the Sub Actions list and select Core -> Network -> Fetch URL
  6. Paste the URL you copied earlier into the URL field.
  7. (Optional) Add one or more triggers to the action. (ex a command or on a sub)
  8. (Optional) Use one or more %variables% in the URL. (ex. http://localhost:3000/sendchat?device=streamerbot&message=%message%, though be careful letting chat input directly into a URL)