Prison 3

Prison 3

191k Downloads

Scoreboard API [API 30]

fynntimes opened this issue ยท 2 comments

commented

The Scoreboard API will allow modules to create scoreboards to show data to players. This will be especially useful in the scoreboard module (#11).

Here's an example scoreboard:
example

Platform additions:

  • DisplaySlot
  • Objective
  • Team
  • Scoreboard
  • ScoreboardManager
  • Score

Changes to the Platform package are necessary in order to give Prison access to the server's scoreboard functionality. The scoreboard API will have its own package and will use the scoreboard platform interfaces to provide functionality similar to that found in Scoreboard Lib.

commented

The scoreboard API, for now, is complete. The documentation is here. Enhancements will be made later to make the platform scoreboard API more inclusive of the underlying Spigot/Sponge methods.

commented

Platform interface definitions and Spigot implementations done, at this point it just needs testing.