Check if player killed the same player multiple times

Discussion in 'Spigot Plugin Development' started by Drawethree, Jun 5, 2017.

  1. Hey guys, how to check if player killed other player multiple times, and if yes, then cancel it? Just need to know how to do that check
     
  2. Listen for the PlayerDeathEvent and, if the killer is also a player, have a counter of some sort track that (maybe in a Map<KillInfo, Integer> where KillInfo has the killer and killed UUID)
     
    • Agree Agree x 2