Class SimpleScoreboard

java.lang.Object
cn.lanink.gamecore.scoreboard.theamychan.SimpleScoreboard
All Implemented Interfaces:
IScoreboard

public class SimpleScoreboard extends Object implements IScoreboard
Author:
lt_name
  • Field Details

    • scoreboards

      private final ConcurrentHashMap<cn.nukkit.Player,de.theamychan.scoreboard.network.Scoreboard> scoreboards
  • Constructor Details

    • SimpleScoreboard

      public SimpleScoreboard()
  • Method Details

    • getScoreboardName

      public String getScoreboardName()
      Specified by:
      getScoreboardName in interface IScoreboard
      Returns:
      Scoreboard API Name 格式: 作者的Github名称(包名)
    • showScoreboard

      public void showScoreboard(cn.nukkit.Player player, String title, List<String> message)
      Description copied from interface: IScoreboard
      计分板显示信息
      Specified by:
      showScoreboard in interface IScoreboard
      Parameters:
      player - 玩家
      title - 标题
      message - 信息
    • closeScoreboard

      public void closeScoreboard(cn.nukkit.Player player)
      Description copied from interface: IScoreboard
      关闭计分板显示
      Specified by:
      closeScoreboard in interface IScoreboard
      Parameters:
      player - 玩家