diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/util/JavaVersionCheck.java b/Bukkit/src/main/java/com/plotsquared/bukkit/util/JavaVersionCheck.java index 1b4d76cf2..403f1d7a6 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/util/JavaVersionCheck.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/util/JavaVersionCheck.java @@ -68,6 +68,14 @@ public class JavaVersionCheck { if (javaVersionNumber < 11) { JavaVersionCheck.notify(javaVersion, logger); } + if (javaVersionNumber >= 11) { + logger.error("************************************************************"); + logger.error("* PlotSquared uses Nashorn for the internal scripting engine."); + logger.error("* Within Java 15, Nashorn has been removed from Java."); + logger.error("* Until we add a suitable workaround, you should stick to Java 11"); + logger.error("* to use all features of PlotSquared."); + logger.error("************************************************************"); + } } public static void notify(final String version, final Logger logger) {