- Fix lang files resetting on server restart and reduce lang manager bloat
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v2.3.2...v2.3.3
- Only save dynamic mode
enabled
to disk and not the whole config, fixing issue #21 - Add optional player data saving configuration by @ttugrul in #22. Thank you 😁!
- Use
min
andmax
values before optimising view distance for dynamic/ ping modes instead of after - Add
send-dynamic-msgs
config option, false by default - Improve config file comments and default messages
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v2.3.1...v2.3.2
OP players now have no bypass commands by default, so you may wish to add these with your permission system.
- Add
sync-simulation-distance
option to allow for chunk ticking customisability - Use world context when considering LP nodes and recalculate view distance on world change
- Make all bypasses off for everyone by default (ops without the permission nodes will no longer have bypass perms)
- Make ~40 bug fixes and general improvements
- Add
zero-chunks-afk
config option to allow for no chunk loading when AFK (use with caution) - Significant codebase optimisations and refactoring to prepare for future API
- Make plugin more customisable with more config options
- Add migration guides to docs
- Add search functionality to docs
- Check if a player is on Bedrock edition with the Geyser API rather than using the "." prefix which could be customised
- Fix PVDC not always detecting LP changes and using them incorrectly when multiple nodes were changed
- Fix coming out of AFK setting view distance to the wrong value and maxdistance bypass being used incorrectly in the code
- Remove useless
chunksPing
config value
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v2.2.0...v2.3.0
- Add dynamic mode
- Add ping mode (the two modes can work together!)
- Create new docs (all old info and LOADS of new info has been put here)
- Add offline player support for some commands
- Add
afkOnJoin
option to restrict view distance on join - Allow ability to use "none" in language files to stop a message being sent
- Add config updating library to set new config keys in
config.yml
,ping-mode.yml
anddynamic-mode.yml
- Remove reload command as the reloaded values weren't actually used (will implement this properly in the future)
- Improve console support
- Completely overhaul README with page similar to docs info page
- Fix LOTS of bugs and change small things for user QoL
- Improve chunk calculator efficiency and refactor saving data for performance and reduce bloat, particularly where LuckPerms is involved
- Change error, player offline and placeholder messages and usages and default configs
- Improve backwards compatibility
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v2.1.2...v2.2.0
-
Add console support to all commands
-
Make reset command work properly when resetting other people
-
Make reset command logic more accurate
-
Check if permission changes contain 'pvdc' before setting view distances for players
-
Performance improvements
-
Bug fixes
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v2.1.1...v2.1.2
- Add /pvdc <chunks> shortcut subcommand
- Backend performance improvements
- Chunks set by others should be reset when setting own view distance
- Retrieve existing PlayerDataHandler instance instead of creating a new instance
- Switch HashMap to ConcurrentHashMap to ensure thread safety
- Add more defensive design for the event of config folder deletion
- Bug fixes and small changes
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v2.0.2...v2.1.0
- Merge distance calculation for LuckPerms changes and joining for efficiency and so that after LuckPerms changes are made, a message is displayed
- Make LuckPerms changes only update the player's view distance once after changes are made (great performance boost!)
- Send a different message depending on if the trigger is a LuckPerms event
- Ensure bypass permissions are always respected
- Fix display-max-join-msg has no effect
- Only send update message on join if enabled in config
- Alter default chunks too high message to be less wordy
- Fix maxdistance permission having no effect sometimes
- Add more robust error logging
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v2.0.1...v2.0.2
- Make LuckPerms pick the greatest permission assigned for maxdistance
- Make plugin pick largest LuckPerms maxdistance permission
- Check for max distance bypass permission on join
- Update documentation significantly with lots of new information
- Create zh_CN.yml by @YuanYuanOwO in https://github.com/Wyzebb/PlayerViewDistanceController/pull/11 Thanks!
- Minor optimisations
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v2.0.0...v2.0.1
YOU ARE ADVISED TO CHECK PERMISSIONS AND ALLOW THE PLUGIN TO GENERATE A NEW CONFIG FOLDER DUE TO LOTS OF BACKEND CHANGES
-
Completely revamp the system of priority for calculating max view distances of players. Graphics have been made to explain this.
-
Add PlaceholderAPI support, with an expansion for chunks and afk (see documentation)
-
Add reset command to reset a player's max view distance to the max (or the max allowed by LuckPerms permissions if installed)
-
Add update checker
-
Add more AFK customisability and functionality (when logging off, etc)
-
Add new multi-language system, with English and Russian currently shipping by default (thanks to JustCheburek on my Discord for the Russian translation)
-
Remove prefixes system (default bedrock values can be customised in config.yml and for other prefixes, just use LuckPerms)
-
Add bstats metrics (which may be put on documentation pages in the future)
-
Add Folia task scheduler support, so the AFK system works on Folia
-
Make the plugin work without LuckPerms installed (it is now a soft depend)
-
Add max-distance bypass and AFK bypass permissions
-
Make maxdistance permission be the max for setting your own view distance
-
Make plugin more performant and RAM-efficient
-
Fix LOADS of permission-based bugs present in previous versions (see full changelog)
-
Fix absolutely tonnes of bugs and broken features
-
Update Documentation
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v1.9.0...v2.0.0
-
Add AFK detection and restrict view when AFK to improve server performance (with config options)
-
Make reload config actually work
-
Fix
self
permission node should beset-self
-
Get permission nodes from groups and inherited groups in addition to user-specific nodes
-
Make max view distance the greater value out of any assigned permissions and view distances assigned with commands or in the config files
-
Fix LuckPerms not working
-
Lots of other minor changes
-
Update Documentation
-
Lots of bug fixes
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v1.8.0...v1.9.0
- Re-add Minecraft 1.20.x support
- Add
help
andget
subcommands - Update permission names to be more intuitive (check the README for the updated permission nodes!)
- Make LuckPerms optional
- Remove plugin debug messages in the console
- Fix critical bug when not using LuckPerms
- Overhaul default messages and colours
- Improve plugin documentation
- Improve code and make it more readable
- Fixed lots of bugs
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v1.7.1...v1.8.0
Top Changes
- Fix incorrect permission logic for setting your own max view distance
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v1.7.0...v1.7.1
Top Changes
THIS UPDATE CHANGES THE ROOT PERMISSION NODE FROM viewdistance
TO pvdc
: UPDATE YOUR PERMISSIONS WHEN UPDATING THE PLUGIN
- Add separate permissions for changing your own view distance and the view distance of others
- Fix broken permissions system to now take permissions into account when not op
- Add no permission message to config.yml
- Fixed bugs
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v1.6.1...v1.7.0
What's Changed
- Mark plugin as Folia compatible by @tech-6 in https://github.com/Wyzebb/PlayerViewDistanceController/pull/6
- Improve look of help message
- Update to only support 1.21+
New Contributors
- @tech-6 made their first contribution in https://github.com/Wyzebb/PlayerViewDistanceController/pull/6 - thanks!
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v1.6.0...v1.6.1
Top Changes
- Added ability to set max view distances via Luckperms permissions
- Fixed bugs
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v1.5.0...v1.6.0
Top Changes
- Ensure compatibility with mc1.21.1
- Added reload subcommand along with permissions
- Update and fix README
- Fix git workflow
- Update config and plugin.yml
- Improve codebase and ensure config messages cannot be null
- Fixed bugs
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v1.4.0...v1.5.0
Top Changes
- Added tab autocomplete
- Added new command manager, which automatically registers subcommands and registers them to a help page
- Overhauled config (improve instructions and default messages and remove separate section for console messages to avoid colour issues, which are handled now with code)
- Improved code quality and efficiency significantly
- Fixed bugs
Full Changelog: https://github.com/Wyzebb/PlayerViewDistanceController/compare/v1.3.0...v1.4.0