SpongeAPI icon indicating copy to clipboard operation
SpongeAPI copied to clipboard

Add Scoreboard / Objective change events

Open randombyte-developer opened this issue 7 years ago • 2 comments

Just realized and confirmed by @Aaron1011 that there is no event for scoreboard changes.

randombyte-developer avatar Jul 03 '18 19:07 randombyte-developer

Are you interested in an event when the actual, real backing data gets changed? When the 'main' scoreboard that is persisted to a world, is changed.

Or an event when any scoreboard is modified?

Edit: I guess what I'm really asking for is usecases, so you don't get stuck in a loop of scoreboard updates.

ryantheleach avatar Jul 04 '18 07:07 ryantheleach

I don't know my way around scoreboards really. I was asking for someone else. It is about a mod which displays stats to the players on the scoreboard. We were looking for a way to get notified for changes of these stats. In the end we found a work around (or rather the proper way of doing it): the mod fires an event for these kind of data changes.

So I don't have a use-case anymore.

randombyte-developer avatar Jul 04 '18 08:07 randombyte-developer