Change statistic
Add to a player's count for a game statistic, or take from it. It refuses if that would go below 0.
A Minecraft element (a step) in Players. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player completes a quest → Change statistic minecraft:fish_caught by 1.
Also called
add statistic, increment stat, decrement stat, count up, stat change
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Player
- Add
What it gives back
- Value