2

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.

  • Not on vanilla there isn't; but I'm unsure about Bukkit with Essentials. – SirBenet Nov 10 '15 at 17:27
  • 3
    I'm not confident this should have been closed, since this is a broader topic (chat commands + command blocks), so I've voted to reopen. – Schism Nov 11 '15 at 22:18
0

In vanilla minecraft it is possible to have multiple commands run by having only one command block powered, but you have to at some point during the execution to split each command into their own command block/command block minecart. This is the basic concept of One-CommandBlock creations. The idea is to summon falling sand entities riding each other to place multiple blocks at the same time.

The bottom most block of this tower should be a stone block, a redstone block, the a command block to fill one side of the tower with redstone blocks. The top command will have to clear the tower.

  • Thanks but could I maybe get some sort of tutorial? – Eric Reed Nov 26 '15 at 23:08
  • Thanks for the answer, dude. Sorry I apparently never marked this as the answer lol – Eric Reed Jun 10 '19 at 21:42

Not the answer you're looking for? Browse other questions tagged or ask your own question.