View Distance Control
0.0.6PaperMC plugin for per-player view distance control via LuckPerms permission nodes.
0.0.6latestViewDistanceControl 0.0.6May 3, 2026 overview
Compatibility update for Paper 26.1.2, the first stable release under Minecraft's new year-based versioning scheme (formerly 1.21.x). No behaviour changes.Changed
- Built and tested against Paper 26.1.2 (requires Java 25 server runtime).0.0.5ViewDistanceControl 0.0.5Apr 30, 2026 overview
This release improves robustness around view distance clamping and fixes two bugs in the LuckPerms listener. A newdebugconfig option makes it easier to diagnose when and why listeners fire without having to add temporary logging.Added
- Newdebugconfig 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 inLuckPermsListenerdebounce 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.0.0.4ViewDistanceControl 0.0.4Apr 30, 2026 Added
- Newafk-distance-delayconfig option (default:5) delays AFK view distance reduction by a configurable number of seconds after a player goes AFK. Set to0for the previous immediate behaviour. - Newconsole-logconfig option (default:false) logs view distance changes to the server console. - New/vdc listcommand shows every online player's current view distance at once.Changed
-/vdc check <player>renamed to/vdc get <player>; the associated permission node is renamed fromviewdistancecontrol.checktoviewdistancecontrol.get. -/vdc get(and/vdc list) now show(pending AFK)while the AFK delay is counting down, so the real AFK state is visible immediately even before the view distance switches. - View distance is now only set on the player when the value actually changes; notifications and console logs are suppressed for no-op updates.0.0.3ViewDistanceControl 0.0.3Apr 28, 2026 What's new
Bug fix: view distance applied multiple times per permission change
LuckPerms firesUserDataRecalculateEventseveral times for a single permission mutation (due to internal cache invalidation steps). This caused the view distance notification message to appear multiple times simultaneously. The handler is now debounced so only the final event in each burst takes effect.View distance cap (
You can now cap a player's view distance from above without touching their existing group permissions. Assignviewdistancecontrol.max.<N>)viewdistancecontrol.max.<N>to a group and the resolved distance (fromdefault.<N>/afk.<N>nodes and config defaults) will be clamped to at mostN. If a player has multiplemaxnodes the lowest value wins (most restrictive). The cap applies in both normal and AFK states. Example — limit a restricted group to at most 6 chunks regardless of other groups:lp group restricted permission set viewdistancecontrol.max.6 true0.0.2ViewDistanceControl 0.0.2Apr 23, 2026 UsessetSendViewDistanceinstead ofsetViewDistance, so AFK view distance reduction no longer unloads chunks on the server side.0.0.1ViewDIstanceControl 0.0.1Apr 23, 2026 initial release
Similar projects
Plugin →VeinMiner
Mine the whole vein on mining a single ore/block. Make the tedious mining experience to something satisfying and fun! FTB Ultimine alternative
99.3MSueta
Simple Voice Chat
A working voice chat in Minecraft!
76.8MSueta
Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
Chunky
Pre-generates chunks, quickly and efficiently
18.4MSueta
VeinMiner Enchantment
Veinminer Addon - Adds vineminer enchantment to enchanting tables. Only tools with the enchantment can veinmine
18MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta