1

I'm not very knowledgeable in mc commands but I had been trying to write a system that would announce if a player had entered the nether using execute and scoreboard, unfortunately the outcome was either it didn't work or it spammed chat, I eventually scrapped the whole thing out of frustration, is this even possible to do? If so what would you do?

  • Can you show some things you tried? – Schism May 5 '19 at 17:58
1

You can execute your command based on a dimension check like this:

/execute in the_nether run <command> @a[distance=0..,tag=!inNether]

And in a chain command block behind that, put this tag command so that the first command only gets executed once:

/execute in the_nether run tag @a[distance=0..,tag=!inNether] add inNether
  • Thanks for the advice, I tried using the first command to check the dimension, but it seems that @a[distance=0..,tag=!inNether] is included as part of the run which I assume it should not be, i.imgur.com/cJag7rC.png , I'm probably doing something wrong here but i'm to naive to know what. – nobelknocker May 5 '19 at 20:58
  • Why do you enter something completely different than I wrote? Just copy-paste and write the command after run yourself, with the selector in the appropriate location. – Fabian Röling May 5 '19 at 21:34
  • Sorry I was messing around with the command because I couldn't get it to work initially, so what I should do is replace the <command> i.imgur.com/zWmNWFx.png with any regular command right? e.g. title? – nobelknocker May 5 '19 at 22:25
  • 1
    Yes, <command> is just any command you want to apply to those players. – Fabian Röling May 5 '19 at 22:52
  • Alright, I got that, so I tried replacing <command> with tellraw but I seem to have trouble with the selector i.imgur.com/tZLcmzL.png – nobelknocker May 5 '19 at 23:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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