From 0f7972e3ae45898180a28125f1deede94eddd8d5 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Wed, 11 Feb 2015 14:01:23 +1100 Subject: [PATCH] max_plots notice --- .../main/java/com/intellectualcrafters/plot/PlotMain.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/PlotMain.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/PlotMain.java index 4346d9e3f..8db49821d 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/PlotMain.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/PlotMain.java @@ -882,6 +882,12 @@ public class PlotMain extends JavaPlugin implements Listener { // Settings.MOB_CAP_ENABLED = config.getBoolean("perm-based-mob-cap.enabled"); // Settings.MOB_CAP = config.getInt("perm-based-mob-cap.max"); Settings.MAX_PLOTS = config.getInt("max_plots"); + if (Settings.MAX_PLOTS > 32767) { + sendConsoleSenderMessage("&c`max_plots` Is set too high! This is a per player setting and does not need to be very large."); + Settings.MAX_PLOTS = 32767; + } + + Settings.SCHEMATIC_SAVE_PATH = config.getString("schematics.save_path"); Settings.OFFLINE_MODE = config.getBoolean("UUID.offline");