Minecraft:Commands/debugconfig
From SAS Gaming Wiki
More actions
Template:Distinguish Template:Exclusive Template:Debug warning Template:Infobox command
/debugconfig is a command that can be enabled with the Minecraft: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 Minecraft: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