max_plots notice

This commit is contained in:
boy0001 2015-02-11 14:01:23 +11:00
parent 680e54e6e1
commit 0f7972e3ae

View File

@ -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_ENABLED = config.getBoolean("perm-based-mob-cap.enabled");
// Settings.MOB_CAP = config.getInt("perm-based-mob-cap.max"); // Settings.MOB_CAP = config.getInt("perm-based-mob-cap.max");
Settings.MAX_PLOTS = config.getInt("max_plots"); 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.SCHEMATIC_SAVE_PATH = config.getString("schematics.save_path");
Settings.OFFLINE_MODE = config.getBoolean("UUID.offline"); Settings.OFFLINE_MODE = config.getBoolean("UUID.offline");