Package com.petarmc.petarlib
Class CheckForPaper
java.lang.Object
com.petarmc.petarlib.CheckForPaper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanAttempts to detect if the running server is Paper.
-
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".
-