I am having an issue with the scoreboard type killedbyteam. It doesn't add a point to a player when they are killed by the other team. I am able to manually add the point with commands and the CB system works fine with that so I know it's not a typo.
Here is the code though maybe it is just user error.
Here is the code though maybe it is just user error.
/scoreboard objectives add KILLEDBYGREEN killedByTeam.green Killed_by_Green
/scoreboard objectives add KILLEDBYBLUE killedByTeam.blue Killed_by_Blue
/scoreboard teams add green
/scoreboard teams add blue
/scoreboard teams join green @p
/scoreboard teams join blue @p
If you see an error here or know of a bug with the command then please let me know, thanks.