Commands/clearspawnpoint

Minecraft Wiki article. Categories: Bedrock_Edition, Minecraft_Education, Commands

📌 Mirrored from Minecraft Wiki

This article is reproduced from Commands/clearspawnpoint on the Minecraft Wiki. Mirrored from revision 3187527. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

This feature is exclusive to Bedrock Edition and Minecraft Education.
 
/clearspawnpoint

Used to remove players' spawn points in the world.

Syntax

clearspawnpoint [player: target]

Arguments

player: target: CommandSelector<Player>

Specifies the player whose spawn point should be removed. If not specified, defaults to the command's executor (@s).
Must be a player name or a target selector.

Result

CommandTriggerBedrock Edition
AnyThe command is incomplete, or any argument is not specified correctly. Unparseable
player: target is a target selector that is not in player type. Failed
player: target fails to resolve to one or more online players.
player: target is not specified and the command's executor is not a player.
player: target's spawn point is already cleared.
OtherwiseSuccessful

Output

CommandEditionSituationSuccess Count
AnyBedrock EditionOn fail0
On successthe number of players whose spawnpoints are removed

History

Bedrock Edition
1.16.100beta 1.16.100.57Added /clearspawnpoint.

See also

Sources