Klasse NickScoreboard

java.lang.Object
xyz.haoshoku.nick.api.NickScoreboard

public class NickScoreboard extends Object
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    static void
    delete(String nickedName)
    This method is here if you want to remove the nicked name from team
    static void
    Updates the scoreboard of all the players
    static void
    If you want to update the scoreboard only for the specific nicked name, you should use this method
    static void
    write(String nickedName, String teamName, String prefix, String suffix)
    If you want a nicked name has a prefix and suffix, you should work with this method.
    static void
    write(String nickedName, String teamName, String prefix, String suffix, boolean newScoreboard, org.bukkit.ChatColor color)
    If you want a nicked name has a prefix and suffix, you should work with this method.
    static void
    write(String nickedName, String teamName, String prefix, String suffix, org.bukkit.ChatColor color)
    If you want a nicked name has a prefix and suffix, you should work with this method.

    Von Klasse geerbte Methoden java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • NickScoreboard

      public NickScoreboard()
  • Methodendetails

    • write

      public static void write(String nickedName, String teamName, String prefix, String suffix)
      If you want a nicked name has a prefix and suffix, you should work with this method.
      Parameter:
      nickedName - The nicked player name
      teamName - The team name the nicked player should be in
      prefix - The prefix the team should have
      suffix - The suffix the team should have
    • write

      public static void write(String nickedName, String teamName, String prefix, String suffix, boolean newScoreboard, org.bukkit.ChatColor color)
      If you want a nicked name has a prefix and suffix, you should work with this method.
      Parameter:
      nickedName - The nicked player name
      teamName - The team name the nicked player should be in
      prefix - The prefix the team should have
      suffix - The suffix the team should have
      newScoreboard - If you don't want to use the main scoreboard, set it to true
      color - The color (needed only for 1.13+ servers)
    • write

      public static void write(String nickedName, String teamName, String prefix, String suffix, org.bukkit.ChatColor color)
      If you want a nicked name has a prefix and suffix, you should work with this method.
      Parameter:
      nickedName - The nicked player name
      teamName - The team name the nicked player should be in
      prefix - The prefix the team should have
      suffix - The suffix the team should have
      color - The color (needed only for 1.13+ servers)
    • delete

      public static void delete(String nickedName)
      This method is here if you want to remove the nicked name from team
      Parameter:
      nickedName - The nicked name that should be removed from the team
    • updateAllScoreboard

      public static void updateAllScoreboard()
      Updates the scoreboard of all the players
    • updateScoreboard

      public static void updateScoreboard(String nickedName)
      If you want to update the scoreboard only for the specific nicked name, you should use this method
      Parameter:
      nickedName - The nicked name that should've been updated through all players