▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/TwitchRandomizer
TwitchRandomizer

TwitchRandomizer

a minecraft randomizer challenge controlled by your twitch chat

83
3
Все версииTwitchRandomizer 1.5.1

TwitchRandomizer 1.5.1

Release2 нед. назад

Список изменений

Update Notes — v1.5.1

🐛 Bugfix: Tipeeestream — Donor Name Not Displayed Correctly

Problem

When a Tipeeestream donation was received, the displayed username in the queue and logs was the streamer's channel name instead of the actual donor's name.

This affected both the in-game queue display and the server log output.

Cause

The Tipeeestream WebSocket event payload contains multiple "username" fields. The first occurrence refers to the streamer's channel, while the actual donor name is nested deeper in the "parameters" block of the JSON. The parser was always picking up the first match — which was the wrong one.

Fix

The username extraction now follows a prioritized fallback chain:

  1. Primary: Reads "username" from within the "parameters" block → the actual donor
  2. Fallback: Takes the second occurrence of "username" in the payload if the parameters block is missing
  3. Last resort: Falls back to a generic placeholder if both lookups fail

Two helper methods were added to support this logic (extractJsonStringAfter, extractJsonStringNth). No other behavior was changed.

Impact

  • Donor names are now correctly shown in the in-game queue and server logs
  • No configuration changes required
  • Fully backwards-compatible

Файлы

TwitchRandomizer-1.5.1.jar(15.81 MiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.5.1

Загрузчики

Paper

Версии игры

1.21–1.21.11

Загрузок

5

Дата публикации

2 нед. назад

Загрузил

ID версии

Главная