Commands/spawnpoint

Sets the spawn point for a player. It works in all dimensions.

Syntax

 * Java Edition


 * Bedrock Edition

Arguments

 * Specifies the player whose spawn point should be set. If not specified, defaults to the command's executor.
 * Specifies the player whose spawn point should be set. If not specified, defaults to the command's executor.


 * Specifies the coordinates of the player's new spawn point. If not specified, defaults to the position of the specified player(s) $$ or the command's execution $$.
 * Specifies the coordinates of the player's new spawn point. If not specified, defaults to the position of the specified player(s) $$ or the command's execution $$.
 * Specifies the coordinates of the player's new spawn point. If not specified, defaults to the position of the specified player(s) ⇭⇭⇭⇭⇭ or the command's execution ⇭⇭⇭⇭⇭.


 * Specifies the yaw angle to spawn with. Defaults to the direction the executor is facing.
 * Specifies the yaw angle to spawn with. Defaults to the direction the executor is facing.
 * Specifies the yaw angle to spawn with. Defaults to the direction the executor is facing.