Minecraft:Commands/debugconfig: Difference between revisions
From SAS Gaming Wiki
More actions
imported>Nethonos de-interwiki |
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> | | others = Dedicated server and <br /><code>-DMC_DEBUG_DEV_COMMANDS</code> debug property | ||
}} | }} | ||
'''/debugconfig''' is a command that can be enabled with the | '''/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 | :* 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 | |{{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}} | ||
de:Befehl/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
- Only for Template:Cd. Specifies the target player to switch to the configuration phase.
- Template:Arg desc
- 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
- 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., Template:Code or Template:Code). These are stored in the Template:Cd 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
Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table
History
de:Befehl/debugconfig zh:命令/debugconfig