I think the server operator needs a command that is used to control the respawn of a player, which makes it easier for the operator or the command block to select the target player when executing the command, and also meets some other requirements, because some operations require the target player to be alive, but we may encounter some unexpected situations, in the server that does not open the gamerule of "doImmediateRespawn", players may not respawn for some reason, so we need a command to control the respawn of them.
For example of this command:
/respawn <TimeToRespawn> [true|false] <targets>
*If the value of the "[true|false]" is false, the target player cannot respawn on his own until the specified time ("<TimeToRespawn>", the unit is tick) is reached, and the target player will respawn immediately when the specified time is reached.
*If the value of the "[true|false]" is true, the target player can respawn on his own before the specified time ("<TimeToRespawn>", the unit is tick) is reached, and the target player will respawn immediately when the specified time is reached.
*If the value of the "<TimeToRespawn>" is "0", the specified time is immediately. And the value of the "[true|false]" is omitted.
*If the value of the "<TimeToRespawn>" is "-1", the specified time is infinite.
*This command does not take effect when the gamerule "doImmediateRespawn" is true.
*If the "<TimeToRespawn>" is not "0", the "[true|false]" is a must.
*This command is only valid for dead players.
Please sign in to leave a comment.
0 Comments