How to add an Entity to a team?

Discussion in 'Plugin Development' started by SmokyMiner, Nov 5, 2017.

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

    SmokyMiner

    I'm trying to adjust the glow color of a snowball by adding it to a team that is registered to a custom Scoreboard. I tried adding the snowball by using Team.addEntry(snowball.getName()) without any luck. Anyone have any suggestions?
     
  2. Offline

    ipodtouch0218

    The scoreboard uses an Entity's UUID as its name, and for Players it uses their username, iirc. Try adding the snowball's UUID to the Team instead.
     
  3. Offline

    SmokyMiner

    Yea I tried that already, no luck. Here is some more info from the other thread I made on spigot:

     
Thread Status:
Not open for further replies.

Share This Page