diff --git a/com/gamingmesh/jobs/config/GeneralConfigManager.java b/com/gamingmesh/jobs/config/GeneralConfigManager.java index 044f00db..8278bd9b 100644 --- a/com/gamingmesh/jobs/config/GeneralConfigManager.java +++ b/com/gamingmesh/jobs/config/GeneralConfigManager.java @@ -141,6 +141,7 @@ public class GeneralConfigManager { public Parser maxPointEquation; public boolean DisabledWorldsUse; + public boolean PreLoadUse; public List DisabledWorldsList = new ArrayList(); public List BoostSchedule = new ArrayList(); @@ -440,6 +441,13 @@ public class GeneralConfigManager { "Only commands can be performed from disabled worlds with jobs.disabledworld.commands permission node"); DisabledWorldsUse = c.get("Optimizations.DisabledWorlds.Use", false); DisabledWorldsList = c.getStringList("Optimizations.DisabledWorlds.List", Arrays.asList(Bukkit.getWorlds().get(0).getName())); + + + c.getW().addComment("Optimizations.PreLoad.Use", "By setting this to true, Jobs plugin will preload some of recent players data to be used instead of loading them from data base on players join"); + PreLoadUse = c.get("Optimizations.PreLoad.Use", false); + +// c.getW().addComment("Optimizations.Purge.Use", "By setting this to true, Jobs plugin will clean data base on startup from all jobs with level 1 and at 0 exp"); +// PurgeUse = c.get("Optimizations.Purge.Use", false); c.getW().addComment("Logging.Use", "With this set to true all players jobs actions will be logged to database for easy to see statistics", "This is still in development and in feature it will expand");