I need help with a specific minecraft testfor command

I need help with a specific minecraft testfor command - High angle of crop person holding hands with ethnic boy stuck in dirty puddle in poor village

Im trying to use commands blocks, scoreboards, and redstone to give all my moderators effects when they run out. I already have the system to reapply the effects if you are in the team working but now I need to test for both being on the team moderators and not having the effect in one command block.

I tried this initially:

/testfor @a {ActiveEffects:[{Id:21b,Amplifier:20b}],Team=Moderators}

But I got an error in the output of the command block:

[17:45:02] Data tag parsing failed: Unable to locate name/value separator for string: Team=Moderators

Now please keep in mind I am not in 1.9 on my server yet meaning I do not have access to any commands related to that version. I believe this concept could be used on other servers that don't want to create their own new plugins for this and may rather use command blocks such as I have.






Pictures about "I need help with a specific minecraft testfor command"

I need help with a specific minecraft testfor command - Frustrated female driver in white t shirt and jeans sitting on ground near damaged car with hands on head during car travel in sunny summer day
I need help with a specific minecraft testfor command - Homeless people in night shelter for homeless
I need help with a specific minecraft testfor command - Black and white of homeless man lying on floor and reading book in night shelter for homeless



How do you do the Testfor command in Minecraft?

2. Type the Command
  • Test if Players are within 10 blocks. In this example, we will test to see if there are any players within a 10 block radius with the following command: /testfor @a[r=10] ...
  • Test if Mooshrooms are within 50 blocks. ...
  • Test if Nearest Player is at Level 20 experience.


  • What replaced the Testfor command?

    The /testfor command became obsolete in Minecraft 1.13, and has been replaced by the /execute command*. It will do the same as typing /testfor @e {SelectedItem:{id:"<item>"}} and then putting a comparator to the command block with the command, and then running the command which you wanna run.

    How do you test a specific item in Minecraft?

    You can test whether there is a certain block at a specific location in the game using the /testforblock command in Minecraft....TestForBlock Command in Minecraft Java Edition (PC/Mac)
  • x y z is the coordinate to test. ...
  • block is name of the block to test for. ( ...
  • dataValue is optional. ...
  • dataTag is optional.




  • Minecraft Redstone Tutorial | How to use testfor commands in MCPE!




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Ahmed akacha, Gustavo Fring, Plato Terentev, Plato Terentev