-
-
Notifications
You must be signed in to change notification settings - Fork 1
Streamer.bot
MoSadie edited this page Sep 4, 2024
·
1 revision
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.
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:
- Open your browser of choice. For this example I will be using Edge but the same general steps should work for other browsers.
- Open up Minecraft with the EffectMC mod installed.
- If the computer is the same one running Minecraft, go to
http://localhost:3000
in your browser. (Otherwise go tohttp://<your computer's local IP>:3000
) - Click on the effect you want to trigger.
- Fill out the details on the page.
- Open the developer tools by pressing
F12
or right clicking and selectingInspect
. You will want the network tab open. - Click the button to trigger the effect.
- 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
) - Right click on the request and select
Copy
->Copy URL
. - Paste the URL into a text editor for later use. The only part you may want to change is
device=browser
todevice=streamerbot
(makes it easier to identify in logs, though you will need to run/effectmc trust
after changing this the first time)
- Open Streamer.bot and go to the
Actions
tab. - Right click in the Actions list and select
Add
- Fill out details and select
OK
- Select the Action by left clicking on it in the list.
- Right click in the Sub Actions list and select
Core
->Network
->Fetch URL
- Paste the URL you copied earlier into the
URL
field. - (Optional) Add one or more triggers to the action. (ex a command or on a sub)
- (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)
- Join Server
- Show Title
- Show Action Message
- Set Skin Layer
- Sent Chat Message
- Receive Chat Message
- Trigger Disconnect
- Play Sound
- Stop Sound
- Show Toast
- Open Book
- Narrate
- Load World
- Set Skin
- Open Screen
- Set FOV
- Show Chat
- Set POV
- Set GUI Scale
- Set Brightness/Gamma
- Set Gamemode
- Set Render Distance
- Rejoin
- Show Item Toast
- Set Volume