Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The viewing distance of the player, depends on the viewing distance of the server. #2609

Closed
Levakiv opened this issue Nov 1, 2021 · 1 comment

Comments

@Levakiv
Copy link

Levakiv commented Nov 1, 2021

Describe the bug

Player view distance depends on the view distance set on the server, not the client's settings.

To Reproduce

  1. chnage "view-distance" in server.properties.
  2. Join server with any render distance
  3. after login use spigot Player#getClientViewDistance()
  4. See that getClientViewDistance returned a value that does not match the player's viewing distance.
  5. Change the viewing distance on the client side
  6. after login use spigot [Player#getClientViewDistance()]
  7. See that getClientViewDistance returned the same value as in step 3
  8. Change the value in "view-distance" in server.properties to another
  9. Restart server
  10. Join server with any render distance
  11. after login use spigot Player#getClientViewDistance()
  12. See what value to change with the change in viewing distance on the server

Expected behaviour

The viewing distance depends on the player's viewing distance setting.

Screenshots / Videos

view-distance=6 in server.properties.

Bedrock with render distance 8: Minecraft Screenshot 2021 11 01 - 18 23 04 94
Bedrock with render distance 64: Minecraft Screenshot 2021 11 01 - 18 25 02 35

Java with render distance 8: 2021-11-01_18 08 52
Java with render distance 64: 2021-11-01_18 09 44

Server Version and Plugins

3272-Spigot-3892929-747a73e
Plugins:
floodgate-spigot Build #41
Geyser-Spigot Build #921
info-1.0 https://www.dropbox.com/s/9lygod4f2kijk39/info-1.0.jar

Geyser Dump

https://dump.geysermc.org/lLram8HvH6rxSXLUzT3Z4p1QwCMdxbl2

Geyser Version

1.4.3-SNAPSHOT (git-master-96cbc54)

Minecraft: Bedrock Edition Version

1.17.41

Additional Context

If server.properties viewing distance in view-distance is set to 8, it will be 13. If 7, it will be 12.

@Camotoy
Copy link
Member

Camotoy commented Nov 1, 2021

Duplicate of #1860. Thanks for reporting anyway!

@Camotoy Camotoy closed this as completed Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants