Do I have to use a datapack to show the scoreboard objectives? #97
Answered
by
Dantevg
x0tester0x
asked this question in
Q&A
-
|
Do I have to use a datapack to show the scoreboard objectives? |
Beta Was this translation helpful? Give feedback.
Answered by
Dantevg
Jun 11, 2024
Replies: 1 comment 18 replies
-
|
If you already have existing scoreboard objectives, you don't need anything else to show them on WebStats. You can just list them in the config file, but by default it should already display all scoreboard objectives it can find. |
Beta Was this translation helpful? Give feedback.
18 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Scoreboard objectives are server-side and can hold any (numeric) value. They can be updated automatically (for some criteria) but also manually by commands (includes datapacks) and plugins. They are indexed by name, which can be a player's name but doesn't need to be (datapacks often use an objective called "constants" which holds the value 100 for the entry with name "100" and so on).
The statistics are client-side and are thus per player. They only store the statistics that are defined in the Minecraft code and as such cannot hold other values and the values cannot be changed by commands.
The scoreboard is meant to store any data that a datapack author or anyone might want to store, whi…