Skip to content

Add /locraw support #19

@TGWaffles

Description

@TGWaffles

The most reliable way to tell whether we're in Skyblock or not is via /locraw. We have been advised to use it by Hypixel admins, and no one has any qualms as long as it is implemented properly.

This issue details an implementation of /locraw handling, sending, parsing, and storing.

Tasks

  • Implement listener for /locraw responses (and hide from user chat if we sent /locraw in the last few seconds and haven't received a response).
  • Parse & set variables from locraw responses (whether we're in skyblock and possibly island type).
  • Create trigger that runs /locraw when switching lobbies (worlds).
  • Add channel listener that blocks sending /locraw if another mod (or this mod) sent it recently (open for consideration on how long this window should be, I'm thinking 500ms).

Considerations for discussion

  • Maximum threshold (ms) for hiding a locraw response from user chat? (balance possible lag vs accidentally showing locraw)
  • Maximum threshold (ms) for re-sending /locraw if another mod sent it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions