Anti kill boost

Discussion in 'Plugin Development' started by ILoveCode, May 22, 2016.

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

    ILoveCode

    How would I stop 2 players from continiously killing each other? So if player one killed player two 3 times in a row it will tell them.
     
  2. @ILoveCode
    1) Listen for player death event.
    2) Make a hashmap storing player with current killstreak.
    3) Listen to entity damage by entity event, when called check player's killstreak. if >= 3 then cancel event and send message
     
  3. Offline

    ILoveCode

    Not what I want. Let's say I have Jimmy and Bob logged in to my server. If Jimmy kills Bob 3 times in a row, it will return and send Jimmy a warning message.
     
  4. Offline

    WolfMage1

    then just do what he said but dont cancel it?
     
Thread Status:
Not open for further replies.

Share This Page