ViewDistanceTweaks is a Paper plugin that allows for dynamic per-world simulation distance and view distance.
Install dependency NabConfiguration to maven local
git clone https://github.com/froobynooby/nab-configuration
cd nab-configuration
./gradlew clean install
Clone ViewDistanceTweaks and build
git clone https://github.com/froobynooby/ViewDistanceTweaks
cd ViewDistanceTweaks
./gradlew clean shadowJar
Find jar in ViewDistanceTweaks/build/libs