# Commands & permissions Source: https://tehoclient.dev/owners/commands SDK: 1.0.0 `/tehoapi` lets you try every feature on a live player without writing code. It needs `tehoapi.admin`, which operators have by default. On proxies the same command exists with the same permission; subcommands that need a world, such as `waypoint`, only work on backends. Wherever a command takes ``, `*` means every Teho player online. ## Core | Command | What it does | |---|---| | `/tehoapi list` | Every Teho player online, with client, Minecraft version, platform, enabled capabilities and staff state. | | `/tehoapi reload` | Re-reads `config.yml` and prints the enabled features. | | `/tehoapi debug` | Logs every frame in both directions until you run it again. | ## Features | Command | What it does | |---|---| | `notify [body]` | Sends a toast. | | `waypoint <player\|*> <id> [name]` | Places a waypoint at your position. | | `unwaypoint <player\|*> <id\|*>` | Removes one waypoint, or all of them. | | `rules <player\|*> competitive <allowed…>` | Competitive mode with an allow-list. | | `rules <player\|*> disable <modules…>` | Turns modules off. | | `rules <player\|*> clear` | Lifts every rule. | | `cooldown <player\|*> <id> <seconds> [item]` | Starts a HUD cooldown. `cooldown <player\|*> clear` removes them all. | | `timer <player\|*> <id> <seconds\|stopwatch\|off> [label]` | Starts a countdown or stopwatch, or removes it. | | `title <player\|*> <title> [\| subtitle]` | An animated title. | | `bar <player\|*> <id> <0-100\|off> [text]` | A progress bar. | | `tint <player\|*> <#rrggbb\|off>` | Screen tint and vignette. | | `shake <player\|*> [intensity] [ms]` | Camera shake. | | `fade <player\|*> [#rrggbb]` | A screen fade. | | `letterbox <player\|*> <on\|off>` | Cinematic bars. | | `presence <player\|*> <game> [\| state]` | Rich presence. | | `transfer <player> <host[:port]>` | A seamless transfer to another server. | | `verify <player>` | Requests and checks a signed identity proof. | | `integrity <player>` | Requests and checks an attested-build proof. | | `info <player>` | Requests client info. | | `clip <player\|*> <title>` | Asks for a highlight clip of the last few seconds. | | `showcase <player> <slot:id…>` | Opens the cosmetics showcase. Private grant only. | ## Staff | Command | What it does | |---|---| | `staff` | Grants you every tool. | | `staff <player> all\|<tools…>\|off` | Grants tools to a player, or revokes them all. | | `alert <player> <info\|warn\|high> <title> [body]` | Sends an alert to every moderator with the alert feed. Point your anticheat at it. | | `freeze <player>` | Freezes the player and shows the freeze overlay. Run it again to unfreeze. | | `screenshot <player>` | Asks the player's client for a screenshot. Saved under `plugins/TehoAPI/screenshots/`. | | `modcheck <player>` | Asks the player's client for its mod list. | | `lagmap` | Shows you the entity and tile-entity heat map. | | `trail <player>` | Draws the player's recent movement for you. | | `spectate <player\|off>` | Starts or stops the follow camera. | | `glow <player> [label]` | Highlights a player for every moderator. | ### Anticheat alerts Most anticheats can run a command when a check flags. Point it at `alert`: ```text tehoapi alert %player% high Reach_VL_%vl% ``` Underscores in the title become spaces, so the alert reads "Reach VL 12". Every moderator with the `alerts` tool gets it in their HUD and can teleport to or spectate the player with one key. `alert`, `freeze`, `screenshot`, `modcheck`, `lagmap`, `trail`, `spectate` and `glow` come from the Bukkit staff kit, so they are available on Paper, Spigot and Folia backends. The ones that show something to you, such as `lagmap` and `trail`, must be run in game. ## NPCs Needs a [private grant](https://tehoclient.dev/modules/private). `near` picks the closest NPC to you. | Command | What it does | |---|---| | `npc <uuid\|near> look <slot:id…>` | Dresses the NPC, for example `cape:founder_cape wings:founder_wings`. | | `npc <uuid\|near> mirror` | Shows each viewer their own equipped cosmetics on the NPC. | | `npc <uuid\|near> clear` | Removes the look. | | `npc <uuid\|near> emote <id> [loop\|once]` | Plays an emote. | | `npc <uuid\|near> stop` / `reset` / `remove` | Stops the emote, resets it, or forgets the NPC. | | `npc list` | Every NPC with a look or emote. | ## Permissions | Node | Default | Grants | |---|---|---| | `tehoapi.admin` | op | `/tehoapi` | | `tehoapi.staff.xray` | false | X-Ray and storage ESP | | `tehoapi.staff.esp` | false | Player ESP, nametags, entity ESP, tracers, highlights, trails | | `tehoapi.staff.freecam` | false | Freecam and spectate | | `tehoapi.staff.moderate` | false | Inspector, action wheel, alerts, click teleport, combat overlay | | `tehoapi.staff.admin` | false | Lag map and fullbright | The staff nodes are only what the default `staff.grants` maps; rename or regroup them freely in [`config.yml`](https://tehoclient.dev/owners/configuration#staff-tools).