SpongeAPI icon indicating copy to clipboard operation
SpongeAPI copied to clipboard

Make Scoreboard & Team implement DataHolder

Open ItsDoot opened this issue 5 years ago • 1 comments

Bringing the discussion from Discord to GitHub to keep track of it.

Scoreboard and Team would be much more useful for minigame-style plugins if they implemented DataHolder. This would in general remove the need for plugins to introduce their own replacements that practically clone their behavior.

This should be doable in API 8 as well as API 7, and discussion with gabizou makes it seem that they can be persisted too.

ItsDoot avatar Jun 12 '19 04:06 ItsDoot

Persistence will only work for scoreboards that are tied to a World. Unless we also start persisting per player scoreboards.

Cybermaxke avatar Jun 12 '19 10:06 Cybermaxke