Получите игрока по имени Spigot
String playerName = "Name"
Player player = Bukkit.getPlayer(playerName);
Modern Moth
String playerName = "Name"
Player player = Bukkit.getPlayer(playerName);