From a829799b369109519cb120605b5ddf26cdcf6815 Mon Sep 17 00:00:00 2001 From: N0tMyFaultOG Date: Sat, 25 Apr 2020 23:53:46 +0200 Subject: [PATCH 1/2] Update scripting message --- Core/src/main/java/com/plotsquared/core/command/DebugExec.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/DebugExec.java b/Core/src/main/java/com/plotsquared/core/command/DebugExec.java index 4091862e5..aef2bc8c0 100644 --- a/Core/src/main/java/com/plotsquared/core/command/DebugExec.java +++ b/Core/src/main/java/com/plotsquared/core/command/DebugExec.java @@ -128,7 +128,7 @@ public class DebugExec extends SubCommand { //create nashorn engine this.engine = scriptEngineManager.getEngineByName("nashorn"); try { - engine.eval("print('PlotSquared Scripting Test');"); + engine.eval("print('PlotSquared scripting engine started');"); } catch (ScriptException e) { e.printStackTrace(); } From 51b6f41eff69aefea7e59685a7837d717e9b1542 Mon Sep 17 00:00:00 2001 From: N0tMyFaultOG Date: Sat, 25 Apr 2020 23:54:30 +0200 Subject: [PATCH 2/2] Update papi hook message --- Bukkit/src/main/java/com/plotsquared/bukkit/BukkitMain.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitMain.java b/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitMain.java index d253bc07b..0778ba8c2 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitMain.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitMain.java @@ -204,9 +204,9 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain if (Settings.Enabled_Components.EXTERNAL_PLACEHOLDERS) { ChatFormatter.formatters.add(new PlaceholderFormatter()); } - PlotSquared.log(Captions.PREFIX + "&6PlaceholderAPI found! Hook activated."); + PlotSquared.log(Captions.PREFIX + "&6PlotSquared hooked into PlaceholderAPI"); } else { - PlotSquared.log(Captions.PREFIX + "&6PlaceholderAPI is not in use. Hook deactivated."); + PlotSquared.debug(Captions.PREFIX + "&6PlaceholderAPI is not in use. Hook deactivated."); } this.startMetrics();