Reviewed October 6, 2026. This page covers the root, registered subcommands and documented internal actions.
Registration permissions
| Registration | Handler | Required status (local DB, Oct 6) | Implementation |
|---|---|---|---|
/distance |
249 | 200 | Implemented |
Report distance to your current target.
Implementation: Implemented.
Syntax
/distance
Arguments
No manual arguments are used by this operation.
Behavior and restrictions
- Requires a selected spawn.
Handler failure/help feedback (sent to the player or logged; % fields are formatted at runtime):
You must have a spawn targeted to use /distance
Permissions
Local database snapshot, October 6, 2026: /distance requires status 200 (handler 249). Other worlds may configure different values.
The dispatcher checks the resolved registration status before invoking the handler. In-handler guild, group, ownership, client-version and target checks still apply.
Examples
The syntax forms above are the source-based invocation examples. Replace identifiers with values valid for your world; client callback fields are supplied by the game client.
Source evidence
Dispatch: COMMAND_DISTANCE (handler 249).
WorldServer/Commands/Commands.cpp:6224—COMMAND_DISTANCE.WorldServer/Commands/Commands.cpp:6729—Command_Distance.
Reviewed local revision: 9efddf962ffee075d0db2059d3914c36b0acbdf3; working-tree file checksums identify the exact reviewed bytes. Reviewed dispatch/helper evidence · Reconciliation report.
Original upstream Markdown · Archived original. The original text is historical evidence; the corrected contract above takes precedence.