Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/debugconfig: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Remove broken links to missing pages
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
 
Line 1: Line 1:
{{distinguish|Commands/debugmobspawning|Commands/debugpath}}
{{MC/Distinguish|Commands/debugmobspawning|Commands/debugpath}}
{{exclusive|java}}
{{MC/Exclusive|java}}
{{debug warning}}
{{MC/Debug warning}}
{{Infobox command
{{Infobox command
| name = debugconfig
| name = debugconfig
Line 19: Line 19:


== Arguments ==
== Arguments ==
{{argument|target|entity}}
{{MC/Argument|target|entity}}
: Only for {{cd|debugconfig config}}. Specifies the target player to switch to the configuration phase.
: Only for {{MC/Cd|debugconfig config}}. Specifies the target player to switch to the configuration phase.
: {{arg desc|je=entity|amount=single|type=player}}
: {{MC/Arg desc|je=entity|amount=single|type=player}}
{{argument|target|uuid}}
{{MC/Argument|target|uuid}}
: Only for {{cd|debugconfig unconfig}} and {{cd|debugconfig dialog}}. Specifies the UUID of a connected player in the configuration phase to fully connect to the server or to show a dialog to.
: Only for {{MC/Cd|debugconfig unconfig}} and {{MC/Cd|debugconfig dialog}}. Specifies the UUID of a connected player in the configuration phase to fully connect to the server or to show a dialog to.
: {{arg desc|je=uuid}}
: {{MC/Arg desc|je=uuid}}
{{argument|dialog|dialog}}
{{MC/Argument|dialog|dialog}}
: Specifies the dialog to show to a player in the configuration phase.
: Specifies the dialog to show to a player in the configuration phase.
: Must be either:
: Must be either:
:* A namespaced ID of a dialog defined in a data pack (e.g., {{code|custom:my_dialog}} or {{code|minecraft:server_links}}). These are stored in the {{cd|minecraft:dialog}} registry.
:* A namespaced ID of a dialog defined in a data pack (e.g., {{MC/Code|custom:my_dialog}} or {{MC/Code|minecraft:server_links}}). These are stored in the {{MC/Cd|minecraft:dialog}} registry.
:* An inline SNBT defining the dialog structure directly in the command. See {{slink|Dialog|Dialog format}} for the structures.
:* An inline SNBT defining the dialog structure directly in the command. See {{slink|Dialog|Dialog format}} for the structures.


Line 38: Line 38:


== Output ==
== Output ==
{{Output table}}
{{MC/Output table}}
{{Output table|edition=je|cmd=/debugconfig config <target>|On success|1|1|1}}
{{MC/Output table|edition=je|cmd=/debugconfig config <target>|On success|1|1|1}}
{{Output table|cmd=/debugconfig unconfig <target>|On success|1|1|1 if a player in the configuration phase was found and fully connected, 0 otherwise}}
{{MC/Output table|cmd=/debugconfig unconfig <target>|On success|1|1|1 if a player in the configuration phase was found and fully connected, 0 otherwise}}
{{Output table|cmd=/debugconfig dialog <target> <dialog>|On success|1|1|1 if a player in the configuration phase was found and shown a dialog, 0 otherwise}}
{{MC/Output table|cmd=/debugconfig dialog <target> <dialog>|On success|1|1|1 if a player in the configuration phase was found and shown a dialog, 0 otherwise}}
{{Output table}}
{{MC/Output table}}


== History ==
== History ==
{{HistoryTable
{{HistoryTable
|{{HistoryLine|java}}
|{{MC/HistoryLine|java}}
|{{HistoryLine||1.21.9|dev=Pre-Release 1|Added debug property <code>-DMC_DEBUG_DEV_COMMANDS</code>, making the command accessible in the vanilla game.}}
|{{MC/HistoryLine||1.21.9|dev=Pre-Release 1|Added debug property <code>-DMC_DEBUG_DEV_COMMANDS</code>, making the command accessible in the vanilla game.}}
}}
}}


== Navigation ==
== Navigation ==
{{Navbox commands}}
{{MC/Navbox commands}}


de:Befehl/debugconfig
de:Befehl/debugconfig
zh:命令/debugconfig
zh:命令/debugconfig

Latest revision as of 20:09, 9 April 2026

Template:Hatnote Script error: No such module "Exclusive". Template:Warning Template:Infobox command

/debugconfig is a command that can be enabled with the debug property -DMC_DEBUG_DEV_COMMANDS. It allows sending a player back to configuration phase.

Syntax

debugconfig config <target>

Removes the target player's avatar from the world and switches their connection back to the configuration phase. While in this state, the player's client sees a "Reconfiguring..." screen with a "Disconnect" button that is initially grayed out, and is enabled after 20 seconds.

debugconfig unconfig <target>

Fully connects the player with the target UUID back into the server, if a player with the target UUID is connected and in the configuration phase.

debugconfig dialog <target> <dialog>

Shows the player with the target UUID the specified dialog, if a player with the target UUID is connected and in the configuration phase.

Arguments

<target>: entity

Only for
  1. REDIRECT Template:Code

Template:Redr. Specifies the target player to switch to the configuration phase.

{{#vardefine:onlyje|}}{{#vardefine:onlybe| Template:IN,}}{{#vardefine:je-arg|entity}}{{#vardefine:be-arg|}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}

<target>: uuid

Only for
  1. REDIRECT Template:Code

Template:Redr and

  1. REDIRECT Template:Code

Template:Redr. Specifies the UUID of a connected player in the configuration phase to fully connect to the server or to show a dialog to.

{{#vardefine:onlyje|}}{{#vardefine:onlybe| Template:IN,}}{{#vardefine:je-arg|uuid}}{{#vardefine:be-arg|}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}

<dialog>: dialog

Specifies the dialog to show to a player in the configuration phase.
Must be either:
  • A namespaced ID of a dialog defined in a data pack (e.g., custom:my_dialog or minecraft:server_links). These are stored in the
  1. REDIRECT Template:Code

Template:Redr registry.

  • An inline SNBT defining the dialog structure directly in the command. See Template:Slink for the structures.

Result

Template:Result table Template:Result table Template:Result table Template:Result table

Output

{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}

{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On success}}{{#vardefine:output1-{{#var:output-table-lines}}|1}}{{#vardefine:output2-{{#var:output-table-lines}}|1}}{{#vardefine:output3-{{#var:output-table-lines}}|1}}{{#vardefine:commands-num|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:command-{{#var:commands-num}}|/debugconfig config <target>}}{{#vardefine:command-row-{{#var:commands-num}}|1}}{{#vardefine:output-editions-num|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-{{#var:output-editions-num}}|je}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|1}} {{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On success}}{{#vardefine:output1-{{#var:output-table-lines}}|1}}{{#vardefine:output2-{{#var:output-table-lines}}|1}}{{#vardefine:output3-{{#var:output-table-lines}}|1 if a player in the configuration phase was found and fully connected, 0 otherwise}}{{#vardefine:commands-num|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:command-{{#var:commands-num}}|/debugconfig unconfig <target>}}{{#vardefine:command-row-{{#var:commands-num}}|1}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|Expression error: Unrecognized punctuation character "{".}} {{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On success}}{{#vardefine:output1-{{#var:output-table-lines}}|1}}{{#vardefine:output2-{{#var:output-table-lines}}|1}}{{#vardefine:output3-{{#var:output-table-lines}}|1 if a player in the configuration phase was found and shown a dialog, 0 otherwise}}{{#vardefine:commands-num|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:command-{{#var:commands-num}}|/debugconfig dialog <target> <dialog>}}{{#vardefine:command-row-{{#var:commands-num}}|1}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|Expression error: Unrecognized punctuation character "{".}}

{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}

History

Template:HistoryTable

Navigation

All editions
Removed
Template:El only
Debug
Removed
Template:Els only
Template:El only
Removed
Template:El only
Removed
Template:Els only
Removed
Joke
Related

de:Befehl/debugconfig zh:命令/debugconfig