# Commands

**Polar Command**\
Main command interface for Polar Client

* `/polar`
  * `folder` / `files` - *Opens the Polar config folder*
  * `toggle` - *Opens the macro toggle GUI*
  * `routes` - *Opens the routes manager GUI*
  * `spin` - *SPIN.*
  * `refuel` - *Refuel your main drill*
  * `autosell` / `sellall` - *Sells all items in your Inventory*
  * `disconnect` - *Disconnect from Hypixel*
  * `tps` - *Outputs server TPS (Ticks per Second)*
  * `rotate` / `look` `<x> <y> <z>` - *Test the rotations!*
  * `goto <x> <y> <z>` - *Test the pathfinding!*
  * `clearminingspeed` - *Reset the mining speed cache, in case your mining speed seems off*
  * `clip` - *Record the last 30s of gameplay! Windows only, requires Instant Replay to be enabled in the Macro QOL settings page*
  * `xray` - *Modify blocks shown by XRay*
    * `show <block>` - *Add block to XRay exclusion (see this one through walls)*
    * `hide <block>` - *Remove block from XRay exclusion (don't see this one through walls)*
    * `list` - *List blocks on the exclusion list*
    * `clear` - *Remove all blocks from the exclusion list*
    * `reset` - *Reset XRay exclusion list to the default values*
  * `proxy <type ("SOCKS", "HTTP", "OFF")> <ip> <port> <username> <password>` - *Configure your proxy*
  * `report` - *Generate a macro performance statistics report*
  * *default - open Polar config GUI*

***

**Route Command**\
Commands for modifying your route

* `/polarroutes`
  * `list` / `points` / `positions` - *List all waypoints in the route*
  * `new` / `create` `<type (tunnel, gemstone, mining)>` - *Create a new route*
  * `render <type (tunnel, gemstone, mining)> <route name>` - *Display a route for editing*
  * `unrender` - *Hide the currently rendered route*
  * `add <action (vein, etherwarp, walk) [default vein]>` - *Add a waypoint to route*
  * `move <index>` - *Move a waypoint to your location*
  * `insert [index] <action (vein, etherwarp, walk) [default vein]>` - *Insert a waypoint into route. If no index supplied, it will attempt to determine the optimal position to insert waypoint*
  * `edit <index> <action (vein, etherwarp, walk)>` - *Edit waypoint action*
  * `remove <index>` - *Remove waypoint*
  * `clear` - *Remove all waypoints*
  * `legacyimport <type (tunnel, gemstone)>` - *Import legacy (v2) routes*
  * `clipboardimport` / `import` `<type (tunnel, gemstone, mining)>` - *Import route from clipboard. Supports most route formats (Polar, Polinex, Coleweight, etc.)*
  * *default - Opens the routes manager GUI*

***

**Target Command**\
Configure custom mining targets for a route

* `/polartargets`
  * `list` / `view` - *List all mining targets*
  * `add <block> [metadata] [priority]` - *Add a mining target*
  * `remove <block> [metadata]` - *Remove a mining target*
  * `clear` - *Remove all custom mining targets*
  * *default - List all mining targets*

***

**Blacklist Player**\
Alert you when a user is in your lobby

* `/blacklistfailsafe`
  * `add <username>` *- Add a player to the blacklist*
  * `remove <username>` *- Remove a player from the blacklist*
  * `list` *- Show list of players on blacklist*
  * `clear` *- Remove all players from blacklist*
  * `toggle` *- Toggle detecting blacklisted players*
  * `autoleave` *- Toggle automatically leaving the lobby when blacklisted player is detected*
  * `sound` *- Toggle playing a sound when blacklisted player detected*
  * *default - Show list of players on blacklist*

***

**Chat Monitor**\
Alert you when certain phrases are sent in chat

* `/chatfailsafe`
  * `add <phrase>` - *Add phrase to list*
  * `remove <phrase>` - *Remove phrase from list*
  * `list` - *List trigger phrases*
  * `clear` - *Remove all phrases from list*
  * `toggle` - *Toggle phrases being detected in chat*
  * `ign` - *Toggle detection for your IGN (username) in chat*
  * `sound` - *Toggle playing a sound when phrase sent in chat*
  * `case` - *Toggle phrases being case-sensitive*
  * `help` - *list chatfailsafe commands*
  * *default - Show list of phrases*

***

**Chat Response**\
Send a chat message after Macro Checks or suspicious player activity\
Chat Response categories:

> **normal** - Regular responses\
> **playerCheck** - Responses when a malicious player is detected\
> **followUp** - Follow up messages after initial message

* `/chatresponses`
  * `usage` - *Show chatreponses command usage*
  * `add <category> <response>` - *Add a new response*
  * `remove <category> <response>` - *Remove a response*
  * `list [category]` - *Lists responses (optionally by category)*
  * `clear [category]` - *Removes all responses (optionally by category)*
  * *default - Show command usage*


---

# 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.polarclient.lol/polar/quick-start/commands.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.
