# HypixelUtils

OneConfig has a collection of Hypixel-orientated utilities, most notably for the locraw system that Hypixel offers. Credit to [Seraph](https://github.com/Scherso/Seraph) for allowing us to include it in OneConfig!

These utilities work by sending the `/locraw` command when the client is detected to be on the Hypixel server. This then allows you to get various information on what server, what map, and what gamemode the player is in.

### LocrawInfo <a href="#locraw" id="locraw"></a>

LocrawInfo is the name of the class given to the information gathered from the locraw message. It contains the following information:

* Server ID, e.g. mini121
* Gamemode, for example eight\_two for Doubles BedWars
* Game type, for example SKYWARS for SkyWars
* Map name, such as Shire


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.polyfrost.org/oneconfig/utils/oneconfigs-utilities/hypixelutils.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
