
ViewDistanceTweaks
Automatically adjusts view and simulation distance per world to match what your server can handle - more distance when there is headroom, less before players notice lag.
Список изменений
ViewDistanceTweaks v2.8
Dynamic view distance and simulation distance adjustment per world, driven by what your server can actually carry at that moment.
This release adds an auto-updater and rewrites the update check that sits underneath it.
Added
-
Auto-update. The plugin now keeps itself current. It is on by default; set
auto-update.enabled: falsenear the top of config.yml if you would rather approve every update yourself.The running jar is never modified. A new release is downloaded into Bukkit's update folder (
plugins/update/) under this plugin's own file name, and your server installs it on the next start. So it is downloaded now and active after your next restart. No plugin can safely swap its own jar underneath a running server, and this one does not pretend otherwise.It only ever touches ViewDistanceTweaks. The single file it can write is named after this plugin's own jar, so it cannot replace or stage anything for another plugin.
-
Downloads are verified before they are installed. Every file is checked against the SHA-512 hash Modrinth publishes for it, and discarded on a mismatch rather than moved into place. Size limits and the declared file size are enforced too.
-
auto-update.require-matching-game-version(defaulttrue) only accepts releases that list the Minecraft version your server actually runs. -
auto-update.accepted-release-types(defaultrelease) controls which Modrinth channels may be installed. Addbetaif you want fixes early. -
/vdt update downloadstages an update immediately, even with auto-update switched off, so you can test the whole path without editing the config and restarting. -
update-checkeris now documented in config.yml. It has been read since it was introduced but appeared in no shipped config, so the only way to find it was reading the source.
Changed
-
The update check was rewritten. It used to pull the first
version_numberout of the raw JSON withindexOfand compare it to the running version withequals. That is enough to print a notice, but not to decide what to install: it ignored which Minecraft versions and loaders a release declares, treated any difference as "newer" so a rolled-back release looked like an update, and would have matched that string anywhere in a changelog.It now parses properly, filters by loader, game version and release channel, and compares versions numerically, so 2.10 correctly sorts above 2.9 instead of below it.
-
Both the check and the download run entirely off the main thread.
Dependencies
- Paper 1.21.x / 26.x — required
- PlaceholderAPI — optional
- EssentialsX — optional, only for AFK detection
Support
Join our Discord: dc.gg/paperstream
Author: LucasTHCR
