spigot get player by name code example Example: get Player by name spigot String playerName = "Name" Player player = Bukkit.getPlayer(playerName);