Klasse NickScoreboard
java.lang.Object
xyz.haoshoku.nick.api.NickScoreboard
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic void
This method is here if you want to remove the nicked name from teamstatic void
Updates the scoreboard of all the playersstatic void
updateScoreboard
(String nickedName) If you want to update the scoreboard only for the specific nicked name, you should use this methodstatic void
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
If you want a nicked name has a prefix and suffix, you should work with this method.
-
Konstruktordetails
-
NickScoreboard
public NickScoreboard()
-
-
Methodendetails
-
write
If you want a nicked name has a prefix and suffix, you should work with this method.- Parameter:
nickedName
- The nicked player nameteamName
- The team name the nicked player should be inprefix
- The prefix the team should havesuffix
- 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 nameteamName
- The team name the nicked player should be inprefix
- The prefix the team should havesuffix
- The suffix the team should havenewScoreboard
- If you don't want to use the main scoreboard, set it to truecolor
- 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 nameteamName
- The team name the nicked player should be inprefix
- The prefix the team should havesuffix
- The suffix the team should havecolor
- The color (needed only for 1.13+ servers)
-
delete
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
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
-