Class CheckForPaper

java.lang.Object
com.petarmc.petarlib.CheckForPaper

public class CheckForPaper extends Object
  • Constructor Details

    • CheckForPaper

      public CheckForPaper()
  • Method Details

    • isPaperServer

      public static boolean isPaperServer()
      Attempts to detect if the running server is Paper. First checks for a known Paper class, then falls back to inspecting the Bukkit name/version strings for the substring "paper".