Scoreboard

Discussion in 'Plugin Development' started by zKiller171, Sep 7, 2017.

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

    zKiller171

    Hello, i'm looking for a scoreboard with displayname (Name of the server in top), Kills, Deaths. How can i do that?
     
  2. Offline

    Bugz

  3. Offline

    zKiller171

    I need own player's kill and death
     
  4. Offline

    AdamDev

    @zKiller171
    What I do suggest is using a config to make the scoreboard.
    You want something like:
    - Server Name-
    - Kills: -
    - # of kills - OR - Kills: # of kills -
    - Deaths: -
    - # of deaths - OR - Deaths: # of deaths -
    Right?

    If so, first you would have to do a PlayerKillEvent and every time they get a kill you add one to the config. Same for the Deaths just using a PlayerDeathEvent.
    Then you would need a runnable that would update that scoreboard every 3 seconds or so (depending on how much ram you have), and that should complete your scoreboard.
     
Thread Status:
Not open for further replies.

Share This Page