Text on SideBar

Discussion in 'Plugin Development' started by Elimnator, Apr 1, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Elimnator

    How can I put whatever text I want on the sidebar scoreboard like this:
    [​IMG]
    I could only find info about putting player related stuff on the board.
     
  2. Offline

    se1by

    I think you can use Bukkit.getOfflinePlayer(ChatColor.BLUE + "Blue Nexus") and set a score for that fake player, not sure though and never had to use that.
     
  3. Offline

    Maurdekye

    Elimnator Yes, se1by is correct. Just use Bukkit.getOfflinePlayer("any string here") in the place of normal online players to print anything you want to the sidebar.
     
  4. Offline

    Elimnator

    OK thanks, how do I unregister a team after I don't need it any more?
     
  5. Offline

    amhokies

  6. Offline

    Elimnator

    amhokies
    I did registerNewTeam(String name) then after the game I want to remove the team, how can I do that.
    Simply resetting the players score won't do that.
     
  7. Offline

    Maurdekye

    Elimnator You have to store the team in a variable, and then call team.unregister() when you want to remove the team.
     
  8. Offline

    Elimnator

    Is there a way to pick a teams colour? For their name tags?
     
Thread Status:
Not open for further replies.

Share This Page