mojira.dev
MC-75762

teamkill/killedByTeam statistic doesn't work for achievement command

Using (for example) the teamkill.black criteria for a scoreboard objective, everything works fine.
Though the statisting teamkill.black (or any other color) cannot be found for the achievement.
Meaning a command like:
/achievement give teamkill.black
Will give the following error:
Unknown achievement or statistic 'teamkill.black'

Same thing for the killedByTeam statistic.

Attachments

Comments 17

There are no achievements called teamkill.color or killedByTeam. The full list of achievements that use an internal ID for the /achievement command can be found here: http://minecraft.gamepedia.com/Achievements#List_of_achievements

try /achievement give stat.teamkill.black

@Sonic
I was refering to statistics, not achievements, you can find all statistics here:
http://minecraft.gamepedia.com/Scoreboard

@Kumasasa
That command too gives the error:
Unknown achievement or statistic 'stat.teamkill.black'
Meaning this bug report is valid.

According to the unreliable source, the achievement command can only accept achievement related sub-criteria; e.g. Achievements that you normally get in game.

The forum itself says you can also use statistics:

stat_name
Must be either:
• achievement.achievement_name, where achievement_name is a valid achievement identifier
• stat.statistic_name, where statistic_name is a valid statistic identifier
• * to represent all achievements

In case you still are not convinced, try it out yourself with a command like:
/achievement give stat.useItem.diamond_hoe
Note that take won't take 1 from the statistic 'counter', but instead will do nothing (give obviously will do +1)

7 more comments

@ Kumasasa: Actually you can do +1 a statistic (not score), though nothing more, try it out yourself I'd say.

My bug isn't about the scoreboard command though, as I said, the problem is that the achievement command can't find the teamkill.color statistic.
I'm not requesting different ways to get the same result, I'm reporting a bug that should get fixed.

This is still no bug. The team statistics don't show up in the "normal" statistics and the only access to those is the scoreboard.

Right, thank you, that was all I needed to hear, sorry for the trouble.

Dennis Fokker

(Unassigned)

Unconfirmed

Minecraft 1.8.1

Retrieved