Список изменений
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:
- Primary: Reads
"username"from within the"parameters"block → the actual donor - Fallback: Takes the second occurrence of
"username"in the payload if the parameters block is missing - 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 нед. назад

