-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Set entity's glowing color on existing team #13
Comments
The color is tied to the team. Either you use the pre-made color system of GlowingEntities, which overrides the player's team, either you modify the pre-existing player's team to change its color. |
To confirm, there's no way GlowingEntities could override the color of the pre-existing team? GlowingEntities' packet based solution is definitely preferable to the workaround we came up with, which modifies the team's color directly on the server. |
If the pre-existing team is shared between X players and the viewers are Y, then all Y players will see the X players with the new color. |
That'd be fine. We only have one player on each team. It's just that when we pass in both the color and the team ID to It might help if I elaborate further: I hope that helps clarify what I'm asking. |
Oh thank you that's very clear! |
Got it. Thanks for making GlowingEntites :) |
Has this feature been added yet? Just wondering because I'm trying to accomplish the same with our own team system, and we're running into the same problems. |
Unfortunately that is quite complex and I do not have time to dive into this (I do not even have time to update to 1.21 :/) |
All good, if we do add it ourselves, we'll make sure to make a PR. |
Hi. We'd like to set a entity as glowing with a specific color. Initially, we tried using
GlowingEntities#setGlowing
, which partially worked and was the right color, but the team created by the library conflicted with the per-player teams we're creating in our own plugin. We then tried passing the team ID into thesetGlowing
method, which prevented the conflict, but the color was not used for the glowing effect, instead using the existing team's color. Our workaround is to set the color for the team in our plugin, which has the disadvantage of being visible to other players. Is there a better way to accomplish this using your library, or is this the best option given the limitations of the team system?Let me know if I can elaborate. Thanks.
(cc @Molten57)
The text was updated successfully, but these errors were encountered: