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 |
|---|---|---|---|
/flag |
21 | 10 | Implemented |
Refresh your administrative status or set another character’s status.
Implementation: Implemented.
Syntax
/flag
/flag <character_name> <new_status>
Arguments
Position is zero-based in sep, after a registered database subcommand has been removed. Internal action tokens remain at position 0. Angle brackets are required; square brackets are optional. Alternative forms may change field meanings.
| Position | Argument | Accepted value / type | Meaning |
|---|---|---|---|
| 0 | character_name |
text | Character whose status is changed. |
| 1 | new_status |
integer | Cannot exceed your own status. |
Behavior and restrictions
- The target’s current status must be below your own. Bare /flag refreshes your own database status.
Persistence evidence in the active path: database.UpdateAdminStatus. Each call is subject to its surrounding validation; not every branch saves.
Current argument/client/target checks (exact source excerpts; branch-dependent):
else if(tmp_status >= client->GetAdminStatus())
else if (new_status > client->GetAdminStatus())
if(status != client->GetAdminStatus())
Permissions
Local database snapshot, October 6, 2026: /flag requires status 10 (handler 21). 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_ADMINFLAG (handler 21).
WorldServer/Commands/Commands.cpp:5901—COMMAND_ADMINFLAG.
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.