[SUGGESTION] Provide the owner/membership status of a private island. #31
TGWaffles
started this conversation in
Ideas and Feedback
Replies: 2 comments 2 replies
-
Imo it shouldn't (and maybe isn't possible to) be in ClientboundLocationPacket. Skyblock events are a whole other can of worms, there could be a packet for anything and everything. Though island info would be a good starting point. |
Beta Was this translation helpful? Give feedback.
0 replies
-
best way i have found to combat this is to check the next scoreboard title update after the ClientboundLocationPacket. If the title has "GUEST", then you are on another person's island. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, as it was in locraw, the ClientboundLocationPacket simply shows "Private Island" when on a player's island, whether that is an island that the player is a part of, or someone else's island. Ideally I would like to write some behaviour that changes based on whether the island is the player's or someone else's, but the owner isn't trivial to detect, especially as longer names can be cut off in the tab list. At the moment, the best workaround is to detect the scoreboard text for "Your Island", but that doesn't provide the ownership information for other players' islands, nor does it work on garden - all gardens show as "The Garden".
The ideal solution would be, for example, a list of all of the coop members on the current private island, but as I'm unsure where that would fit best, a field denoting the profile id or whether the player is a part of the island would be a great substitute. The same field would also apply to the garden.
Beta Was this translation helpful? Give feedback.
All reactions