
View Distance Control
PaperMC plugin for per-player view distance control via LuckPerms permission nodes.
21
0
Список изменений
overview
This release improves robustness around view distance clamping and fixes two bugs in the LuckPerms listener. A new debug config option makes it easier to diagnose when and why listeners fire without having to add temporary logging.
Added
- New
debugconfig option (default:false) logs when each listener fires, so misfiring or missing events can be diagnosed without touching the code.
Changed
- Config defaults (
default-view-distance,default-afk-view-distance) and permission-node-granted distances are now clamped to the server'sview-distancesetting, with a warning logged when clamping occurs.
Fixed
- Race condition in
LuckPermsListenerdebounce logic: concurrent asyncUserDataRecalculateEventfirings could both see an empty pending map and schedule duplicate tasks. The remove→cancel→schedule→put sequence is now synchronized. LuckPermsListenerno longer applies view distance if the player disconnects between when the event fires and when the scheduled task runs.
Файлы
ViewDistanceControl-0.0.5.jar(19.59 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
0.0.5
Загрузчики
Paper
Версии игры
1.21–1.21.11
Загрузок
9
Дата публикации
1 нед. назад
