Show Toast - MoSadie/EffectMC GitHub Wiki
Description
Display a toast popup on screen with a customizable title and subtitle. Formatting codes using the ยง
character are supported.
To have a blank title or subtitle, place a space in the corresponding text box when configuring the action.
Note that there is a maximum number of toasts that can be on-screen at any given time. If this limit is exceeded, the toasts will queue up and automatically show when space is available. Toasts will also queue up if the HUD is hidden via F1.
Toasts do work on other screens like the main menu. (NOTE: Quitting to menu while in F1 mode disables toasts on other screens as well, they will queue up in the background until F1 mode is disabled or the game is closed.)
Configuration Options
- Title (optional): An optional title to display on the key. Customize location and font using the T icon to the right of the text box.
- Minecraft IP (required): The address that the EffectMC mod is running on. (Example:
http://localhost:3000
) - Title (required): The title to display. To not show a title, place a space in this text box.
- Subtitle (required): The subtitle to display. To not show a subtitle, place a space in this text box.
Example Configuration
In-Game Experience
Advanced: HTTP Request Information
- Method: GET
- Endpoint:
/showtoast
- Parameters:
device
: Device ID (String)title
: The title to display. (String)subtitle
: The subtitle to display. (String)