/spreadplayers has its ups and downs. It is a random teleportation command used for UHC and other events. But it is very limited. For one, it does not work underground. I intend to fix that.

[y-max] Maximum Y value. Must be at most 256. Cannot be one more than the minimum Y value (If smaller than minimum, the command will not run!).

[Circular/Square] Select a square radius or a circular radius. Square radius is the current mode (If wrong, please tell me).

Note: The new syntax is completely optional.

The new additions would allow for a circular selection and a specific range of Y values. Like the original command, it will TP a player to a random location at the highest possible Y value, but this time in a range. If a block is at a middle part in the range and another block is directly above it but not in the range, you will be teleported to the block in the range.

As it stands, y-min and y-max cannot be optional due to the second half of the syntax being required. Another possibility is to tag the y-min and y-max at the end of the syntax so it doesn't have to be typed unless needed. Maybe after the shape selection, so that y-max does not have to be specified if you want it to remain default (similar to /scoreboard's 'test' function: /scoreboard players test <player> <objective> <min> [max]).

So just to clarify: if y-min is 1 and y-max is 256, it would function just as it does now? If so, then this is a sensible change to /spreadplayers.

As it stands, y-min and y-max cannot be optional due to the second half of the syntax being required. Another possibility is to tag the y-min and y-max at the end of the syntax so it doesn't have to be typed unless needed. Maybe after the shape selection, so that y-max does not have to be specified if you want it to remain default (similar to /scoreboard's 'test' function: /scoreboard players test <player> <objective> <min> [max]).

So just to clarify: if y-min is 1 and y-max is 256, it would function just as it does now? If so, then this is a sensible change to /spreadplayers.

Ah, okay. I will add the min and max to the end of the command. If the Y min is 1 and the Max is 256, it will work just the like the command now.

Rollback Post to RevisionRollBack

To post a comment, please login or register a new account.

/spreadplayers has its ups and downs. It is a random teleportation command used for UHC and other events. But it is very limited. For one, it does not work underground. I intend to fix that.

The Original Command Syntax:The New Command Syntax:[y-min] Minimum Y value. Must be at least 1.

[y-max] Maximum Y value. Must be at most 256. Cannot be one more than the minimum Y value (If smaller than minimum, the command will not run!).

[Circular/Square] Select a square radius or a circular radius. Square radius is the current mode (If wrong, please tell me).

Note: The new syntax is completely

optional.The new additions would allow for a circular selection and a specific range of Y values. Like the original command, it will TP a player to a random location at the highest possible Y value, but this time in a range. If a block is at a middle part in the range and another block is directly above it but not in the range, you will be teleported to the block in the range.

As it stands, y-min and y-max cannot be optional due to the second half of the syntax being required. Another possibility is to tag the y-min and y-max at the end of the syntax so it doesn't have to be typed unless needed. Maybe after the shape selection, so that y-max does not have to be specified if you want it to remain default (similar to /scoreboard's 'test' function: /scoreboard players test <player> <objective> <min> [max]).

So just to clarify: if y-min is 1 and y-max is 256, it would function just as it does now? If so, then this is a sensible change to /spreadplayers.

Minecraft-things: http://skylinerw.com

More Minecraft-things: https://sourceblock.net

Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides

I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ

Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/

Ah, okay. I will add the min and max to the end of the command. If the Y min is 1 and the Max is 256, it will work just the like the command now.