Slash commands

/set_auto_consume

Toggle equipped food/drink automatic consumption.

Implemented · Source comparison: October 6, 2026.

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
/set_auto_consume 152 0 Implemented

Toggle equipped food/drink automatic consumption.

Implementation: Implemented.

Syntax

/set_auto_consume <slot> <flag>

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 slot integer Equipment slot; +4 on versions <=373, +2 on versions <=561.
1 flag integer 1 requests immediate consumption; other values return after the flag change.

Behavior and restrictions

  • The character auto-consume bit is toggled rather than assigned from flag. The food slot changes food; other slots take the drink branch.
  • Consumption is attempted only for flag=1 after CheckConsumptionAllowed. The equipment update is sent.

Current argument/client/target checks (exact source excerpts; branch-dependent):

if (sep && sep->arg[0] && sep->IsNumber(0))
if (client->GetVersion() <= 373) {
else if (client->GetVersion() <= 561) {

Permissions

Local database snapshot, October 6, 2026: /set_auto_consume requires status 0 (handler 152). 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_TOGGLE_AUTOCONSUME (handler 152).

  • WorldServer/Commands/Commands.cpp:6259 — COMMAND_TOGGLE_AUTOCONSUME.
  • WorldServer/Commands/Commands.cpp:10301 — Command_Toggle_AutoConsume.

Reviewed local revision: 9efddf962ffee075d0db2059d3914c36b0acbdf3; working-tree file checksums identify the exact reviewed bytes. Reviewed dispatch/helper evidence · Reconciliation report.

No upstream Markdown file exists for this registration in the retrieved revision.

Permissions are from a read-only snapshot of the configured local world database on October 6, 2026; deployed worlds may differ. Argument and behavior evidence comes from the reviewed WorldServer checkout. Examples were checked against source and were not executed in a live world.