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.
@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
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.