minecraft-commands: Multiple commands on one line? [duplicate]
//ads -- adsterra.com -- native banner
?>
Is there a way to put multiple commands on one line?
I would like to be able to have a command that will make the nearest player run MULTIPLE commands, something like this:
/sudo @p command1; sudo @p command2
(Note: I'm on a Bukkit server using Essentials, that's why I have the command sudo.)
That way, the semicolon will signal a line break, but the first slash indicated that the player is running a command, so another slash is not needed.
This would be used for chat commands, command blocks and more.
Pictures about "minecraft-commands: Multiple commands on one line? [duplicate]"
![minecraft-commands: Multiple commands on one line? [duplicate] - Free stock photo of blueberry, breakfast, cutlery minecraft-commands: Multiple commands on one line? [duplicate] - Free stock photo of blueberry, breakfast, cutlery](/assets/images/minecraftcommands_multiple_commands_on_one_line_duplicate_1.jpeg)
![minecraft-commands: Multiple commands on one line? [duplicate] - Bike Chain Number One minecraft-commands: Multiple commands on one line? [duplicate] - Bike Chain Number One](/assets/images/minecraftcommands_multiple_commands_on_one_line_duplicate_2.jpeg)
![minecraft-commands: Multiple commands on one line? [duplicate] - Unrecognizable woman holding paw of dog minecraft-commands: Multiple commands on one line? [duplicate] - Unrecognizable woman holding paw of dog](/assets/images/minecraftcommands_multiple_commands_on_one_line_duplicate_3.jpeg)
How do you put multiple commands in one line in Minecraft?
To make your command block run multiple commands, you will need to summon FallingSand or falling_block (depending on your version of Minecraft) with command blocks and redstone blocks for each command. The command blocks will be stacked one on top of the other and contain the individual command.How do you repeat commands in Minecraft?
With repeating command blocks, one can perform commands that other players can not perform. To get a repeating command block, players must use the /give command like so: /give @p minecraft:repeating_command_block <amount> .Can you run multiple commands in execute?
/execute is not what you are looking for. Even in Java Edition, you can only run one command with it. You can consider creating a command chain. Please consider visiting this post for info on how you can create a command chain.Run multiple commands with one command block! | *ALL VERSIONS*
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: shutter_speed, Zacharias Korsalka, Miguel Á. Padriñán, Ivan Babydov
