CheckLags is a server side Paper/Purpur/Folia plugin that shows where lag occurs and why at that location.