forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 71
Toast Effect
JasperLorelai edited this page Apr 25, 2026
·
8 revisions
effect: toastWarning
Introduced in 4.0 Beta 13.
The advancement completion message "pops up like a toast".
Some of these options support dynamic values through numeric or string expressions.
| Option | Description | Type | Default | Supports expressions |
|---|---|---|---|---|
text |
Text of the toast. | Rich Text | true |
|
frame |
Frame | "task" |
true |
|
icon |
Since 1.20.5 it is invalid to use empty Item stacks (air) as advancement icons. If such items are used before 4.0 Beta 19, and the option defaults to such, this effect will throw an uncaught exeception (crash the plugin) instead of safely sending a plugin error. |
Magic Item String |
Before 4.0 Beta 19: "air"Since 4.0 Beta 19: "paper"
|
false |
broadcast |
Determines whether the toast should be broadcast to all players. | Boolean | false |
true |
use-viewer-as-target |
Determines whether the viewer of the toast should be used for targeted replacement. | Boolean | false |
true |
use-viewer-as-default |
Determines whether the viewer of the toast should be used for default variable replacement. | Boolean | true |
true |