Solved trying to use BukkitPlayerExact

Discussion in 'Plugin Development' started by Sorceresofminecraft, Nov 9, 2015.

Thread Status:
Not open for further replies.
  1. so im making scoreboard and one of the objectives im trying to make it so. If the owner or certain player is on it "Owner Online" wouls be green and if offline it would be red.

    I have spent 5 hours trying to figure this out im getting soooo pissed i might be over thinking ir but please help please.
     
  2. Offline

    JABBZxLILJAY320

    Make a PlayerJoinEvent, check if it's a name or UUID you want then update scoreboard.
     
    Sorceresofminecraft likes this.
  3. I know that part but once if updates and realizes oh this person is online change score board color objective from red to green. How can i do that?
     
  4. Offline

    CoolDude53

    @Sorceresofminecraft you have to get the scoreboard, then get the objective, reset the scores, then re-add the score with the correct color, and then set the scoreboard to the now updated scoreboard.
     
    Sorceresofminecraft likes this.
  5. ok thank you very much much thanks
     
  6. Offline

    mcdorli

    Please mark as solved if solved.
     
  7. Um how im on moblile version using tapatalk app
     
  8. Offline

    timtower Administrator Administrator Moderator

    You can do that on a PC or in a regular browser.
    Marked as solved
     
  9. Offline

    mcdorli

    I don't know, I don't use that one too often, mainly because I don't like the interface and the colors, and I don't see if there are unread messages in a thread. You need to login into bukkit.org from your mobile

    @timtower thanks
     
Thread Status:
Not open for further replies.

Share This Page