Fixes + options

- Fixed plot deletion not removing denied from DB
- Fixed help not displaying all pages correctly
- Added option for plot expiry clear interval
This commit is contained in:
boy0001 2015-05-15 13:29:23 +10:00
parent e7a1e4ecf7
commit 2bbf5dba5d
7 changed files with 23 additions and 7 deletions

View file

@ -848,6 +848,7 @@ public class PlotSquared {
options.put("clear.check-disk", Settings.AUTO_CLEAR_CHECK_DISK);
options.put("clear.on.ban", false);
options.put("clear.fastmode", Settings.ENABLE_CLUSTERS);
options.put("clear.auto.clear-interval-seconds", Settings.CLEAR_INTERVAL);
// Schematics
options.put("schematics.save_path", Settings.SCHEMATIC_SAVE_PATH);
@ -925,6 +926,8 @@ public class PlotSquared {
Settings.AUTO_CLEAR_CHECK_DISK = config.getBoolean("clear.check-disk");
Settings.AUTO_CLEAR = config.getBoolean("clear.auto.enabled");
Settings.CLEAR_INTERVAL = config.getInt("clear.auto.clear-interval-seconds");
// Schematics
Settings.SCHEMATIC_SAVE_PATH = config.getString("schematics.save_path");