Skip to content

Show Item Toast

MoSadie edited this page Dec 9, 2023 · 1 revision

Description

Display a toast popup on screen with an item as well as a customizable title and subtitle. Formatting codes using the § character are supported.

Uses JSON to represent the item's NBT data. You can use /effectmc exportitem to get the JSON for an item in your main hand. (And get a preview of what it will look like as a toast!)

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)
  • Item Data: The NBT data of the item to display. (Example: {"id":"minecraft:stone","Count":1b})
  • 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

Screenshot of Elgato Stream Deck software with a action title, Minecraft IP, item, title, and subtitle set for the Show Item Toast action

In-Game Experience

Gif of the player staring at the ground, zoomed into the upper-right corner of the screen. Multiple toast prompts appear in the corner.

Advanced: HTTP Request Information

  • Method: GET
  • Endpoint: /showtoast
  • Parameters:
    • device: Device ID (String)
    • item: The NBT data of the item to display. (String)
    • title: The title to display. (String)
    • subtitle: The subtitle to display. (String)