Skip to content

ScoreFactory v3.1.0

Tayyab R edited this page Feb 18, 2022 · 2 revisions

ScoreFactory v3.1.0 brings a lot more to the table as compared to its previous versions.

There are different methods available and all have been documented well enough and so here are the steps to get a scoreboard going.

  1. Set the objective to the player via the ScoreFactory::setObjective() method.
  2. Send the objective using the ScoreFactory::sendObjective() method.
  3. Set score lines via the ScoreFactory::setScoreLine() method.
  4. Send the score lines to the player via the ScoreFactory::sendScoreLines() method.

And that is basically it. You can also send a single line update to the player using the ScoreFactory::sendScoreLine() method.

Experiment away!!

Clone this wiki locally