How to Use Scoreboards D:

Hey there!

I’m trying to figure out how to use scoreboards. I keep getting an error:
java.lang.IllegalStateException: Attempting to set an objective’s display slot that does not exist on this scoreboard!

I’m trying to use the sidebar display slot, and I find it hard to imagine that Sponge doesn’t allow us to use that area, so I’m stumped :confused:

Here’s the code:

Any help is greatly appreciated!

The objective doesn’t exist, not the display slot. You’re trying to update an objective’s display slot without adding the objective to the scoreboard. You could in fact pass it in during the currently empty builder process.

That was it. Thank ya!