
StaffModeration
A premium moderation plugin that has all of your needs on discord and in game
Оцените первым
696
0
Список изменений
v1.3.0
Fixed
- ConfigUpdater root cause fix — Fixed
appendKey()/emitSectionHeaders(), which previously always inserted missing keys at the end of the entire file, even when the key was nested under a real parent section (e.g.ai.server-info). Previously, whenai.server-infowas detected as missing, it would get appended right after theautomod:block, and the YAML parser would then read it as a child ofautomodinstead — causing the config mismatch. - Replaced with
insertKey()+findSectionBlockRange()— this now locates the actual parent section (ai:) in the file first, then splices the missing key in at the correct indent, at the end of the correct block — no longer at the end of the whole file. - Fixed formatting preservation for multi-line block-scalar values (like
server-info's prose text) when spliced in — no longer mangled into a single quoted line.
Notes
- Full explanation of this bug is now documented in the class doc comment of
ConfigUpdateras v6 fix #4 for future reference.
Файлы
StaffModeration-1.6.10.jar(33.93 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.6.10
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.21–1.21.11
Загрузок
2
Дата публикации
12.07.2026
