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
imported>Nethonos
de-interwiki
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 5: Line 5:
| name = debugconfig
| name = debugconfig
| oplevel = 3
| oplevel = 3
| others = Dedicated server and <br /><code>-DMC_DEBUG_DEV_COMMANDS</code> [[Minecraft:debug property]]
| others = Dedicated server and <br /><code>-DMC_DEBUG_DEV_COMMANDS</code> debug property
}}
}}


'''/debugconfig''' is a command that can be enabled with the [[Minecraft:debug property]] <code>-DMC_DEBUG_DEV_COMMANDS</code>. It allows sending a player back to [[Minecraft:Java_Edition_protocol/Packets#Configuration|configuration phase]].
'''/debugconfig''' is a command that can be enabled with the debug property <code>-DMC_DEBUG_DEV_COMMANDS</code>. It allows sending a player back to configuration phase.


== Syntax ==
== Syntax ==
Line 29: Line 29:
: 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., {{code|custom:my_dialog}} or {{code|minecraft:server_links}}). These are stored in the {{cd|minecraft:dialog}} registry.
:* An inline [[Minecraft: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.


== Result ==
== Result ==
Line 47: Line 47:
{{HistoryTable
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine|java}}
|{{HistoryLine||1.21.9|dev=Pre-Release 1|Added [[Minecraft:debug property]] <code>-DMC_DEBUG_DEV_COMMANDS</code>, making the command accessible in the vanilla game.}}
|{{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.}}
}}
}}


Line 53: Line 53:
{{Navbox commands}}
{{Navbox commands}}


[[Minecraft:de:Befehl/debugconfig]]
de:Befehl/debugconfig
[[Minecraft:zh:命令/debugconfig]]
zh:命令/debugconfig

Revision as of 15:43, 9 April 2026

Template:Distinguish Template:Exclusive Template:Debug 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

Template:Argument

Only for Template:Cd. Specifies the target player to switch to the configuration phase.
Template:Arg desc

Template:Argument

Only for Template:Cd and Template:Cd. Specifies the UUID of a connected player in the configuration phase to fully connect to the server or to show a dialog to.
Template:Arg desc

Template:Argument

Specifies the dialog to show to a player in the configuration phase.
Must be either:

Result

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

Output

Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table

History

Template:HistoryTable

Navigation

Template:Navbox commands

de:Befehl/debugconfig zh:命令/debugconfig