mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 05:45:03 +00:00
Profile Tab + Config Sync
This commit is contained in:
1 parent
c7c981f4a7
commit
62482c307c
5 files changed
+33
No files matched your search
@@ -17,6 +17,7 @@ public class ConfigMain
|
||||
public final static String NPC = "NPC";
|
||||
public final static String UPDATE = "Update";
|
||||
public final static String PARTY = "PARTY";
|
||||
public final static String PROFILES = "Profile";
|
||||
|
||||
/**
|
||||
* General Main Properties
|
||||
@@ -79,6 +80,8 @@ public class ConfigMain
|
||||
public static Property DefaultMaxPartySizeProperty;
|
||||
public static int DefaultMaxPartySize = 4;
|
||||
|
||||
public static boolean EnableProfiles = true;
|
||||
|
||||
/**
|
||||
* General NPC Properties
|
||||
**/
|
||||
@@ -216,6 +219,9 @@ public class ConfigMain
|
||||
TrackedQuestUpdateFrequencyProperty = config.get(UPDATE, "Tracked Quest Update Frequency", 5, "How often in seconds to update a players tracked quest. [Only applies to Item Quest currently]");
|
||||
TrackedQuestUpdateFrequency = TrackedQuestUpdateFrequencyProperty.getInt(5);
|
||||
|
||||
// PROFILES
|
||||
EnableProfiles = config.get(PROFILES, "Enable Profiles", true, "Allow the use of character Profiles").getBoolean(true);
|
||||
|
||||
// Convert to Legacy
|
||||
if(CustomNpcs.legacyExist){
|
||||
EnableUpdateChecker = LegacyConfig.EnableUpdateChecker;
|
||||
|
||||
Reference in new issue
Block a user