To begin, create a new class in your plugin with the following code:
import org.bukkit.entity.Player;