Messages Troubleshooting
Common Mistakes
- First-join detection trick:
{statistic_PLAY_ONE_MINUTE} == 0— misleading statistic name. It actually counts TICKS played, not minutes. Value 0 = never played before - Entity names changed in MC 1.20.5+ —
LIGHTNING_BOLT,TNT,END_CRYSTAL(wasLIGHTNING,PRIMED_TNT,ENDER_CRYSTAL). Death messagerequire causepatterns must match the current MC version's names {killer}is null for environmental deaths — userequire killercondition to guard against null. Commands with{killer}silently skip when nullStop_On_First_Matchordering matters — first matching message group stops all further groups. Place most specific groups (first-join, VIP) ABOVE default groups- Duplicate messages with permission-based groups (fallback path bug) — when using
require sender permto create per-rank groups (premium, vip, default) and a player has inherited permissions matching multiple groups,Stop_On_First_Matchcorrectly skips that player in subsequent groups' main loop. However, the sender-fallback path (if !pickedMessage && wrappedSender != null) can re-fire for later groups because it didn't checkmessageReceivers. Fixed in PR #3513 — the fallback now checksmessageReceiverswhenStop_On_First_Matchis active. If users report this on older versions, tell them to update.