1.8.8 How do I make a player attack another player?

Discussion in 'Spigot Plugin Development' started by DJCowGaming, Jun 15, 2021.

  1. I'm trying to make a player attack another player, and I'm not sure how. There is the damage method that takes a double for the damage, and the entity that is attacking the player. How do you get the damage that an item does to a player, or is there a better way to make a player attack another player?