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

Vvisibility "NEARBY" Settings don't works. #226

Open
PanetiX opened this issue Jul 29, 2021 · 7 comments
Open

Vvisibility "NEARBY" Settings don't works. #226

PanetiX opened this issue Jul 29, 2021 · 7 comments

Comments

@PanetiX
Copy link

PanetiX commented Jul 29, 2021

Hello, I set up the "NEARBY" option in the display-name section but it don't work for me and my users on the server.
The Tag will only be showing when a player hovers their crosshair on the entity. I already made a reload and a restart from the Server.

display-name:
  # The formatting of the name tag which is shown when the stack size is above the threshold.
  # Both legacy and RGB hex color codes are supported, these need to be prefixed by the '&' symbol.
  # Placeholders:
  # %type% - the entity's type
  # %size% - the size of the stack
  format: '&a%type% &d(%size%)'
  # Whether the display tag can only be seen when the player targets the entity.
  # Mode:
  # ALWAYS - The tag will always be visible as long as the entity is loaded.
  # HOVER - The tag will only be visible when the player hovers their crosshair on the entity.
  # NEARBY - The tag will only be visible when the player is in range of the entity. (more resource intensive, requires ProtocolLib on 1.16 servers)
  visibility: NEARBY
  # Options for when 'NEARBY' is used above. (*)
  nearby:
    # The range from which the tag should be visible.
    # Format: [(x cord),(y cord),(z cord)]
    range: [10,10,10]
    # How often (in ticks) the tag visibility status of an entity should be updated. (20 ticks = 1 second)
    interval: 20
  # Don't show the tag if the stack size of this entity if it is equal to or below the value specified.
  threshold: 1
@ploppyperson
Copy link
Owner

1.17 or 1.16?

@PanetiX
Copy link
Author

PanetiX commented Jul 29, 2021

1.17 or 1.16?

[23:12:38 INFO]: Server Version: git-Paper-779 (MC: 1.16.5)
[23:12:38 INFO]: NMS: PAPER v1_16_R3
[23:12:38 INFO]: Operating System: Linux
[23:12:38 INFO]: Allocated Memory: 24576Mb
[23:12:38 INFO]: Online Players: 6
[23:12:38 INFO]: TPS from last 1m, 5m, 15m: 20, 20, 20

StackMob Version 5.6.2

@ploppyperson
Copy link
Owner

Do you have the ProtocolLib plugin?

@PanetiX
Copy link
Author

PanetiX commented Jul 29, 2021

Do you have the ProtocolLib plugin?

Yes

[23:19:13 INFO]: ProtocolLib v4.6.1-SNAPSHOT-b505
[23:19:13 INFO]: Authors: dmulloy2 and Comphenix
[23:19:13 INFO]: Issues: https://github.com/dmulloy2/ProtocolLib/issues

@ploppyperson
Copy link
Owner

Download build from https://ci.codemc.io/job/Nathat23/job/StackMob-5/ and that may fix it.

@PanetiX
Copy link
Author

PanetiX commented Jul 29, 2021

Download build from https://ci.codemc.io/job/Nathat23/job/StackMob-5/ and that may fix it.

Thank you, I have tried. But it is still not a solution. Players need to be 2 blocks near the mob and hovers their crosshair on the entity. to see the name. I set up 10x10x10 Blocks.

  visibility: NEARBY
  # Options for when 'NEARBY' is used above. (*)
  nearby:
    # The range from which the tag should be visible.
    # Format: [(x cord),(y cord),(z cord)]
    range: [10,10,10]

@ploppyperson
Copy link
Owner

you can download the the latest build from that link again, and it will fix the issue.

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