Dynamically create scoreboards for each player

Discussion in 'Plugin Development' started by CreeperShift, Jan 8, 2014.

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


    Hi :)

    Basically I'm trying to create a scoreboard for each player dynamically. Player logs in, scoreboard gets created and filled with info & displayed for him only.

    Now I know how to create Scoreboards and it's all working, however I don't know how to create a scoreboard dynmically, as in create a new scoreboard as soon as he logs in.

    I've done this before but using packets and I really want to stay away from them this time :/

    Any help?
  2. Offline


    Use the PlayerJoinEvent

    1. public void onPlayerJoin(PlayerJoinEvent event){
    2. //Code to create scoreboard goes here
    3. }
Thread Status:
Not open for further replies.

Share This Page