Max Party Size Config | for Quests | Read / Write NBTs

This commit is contained in:
Kam committed 2023-11-01 00:06:41 -04:00
1 parent 6a5464155b
commit ae1bd4ba38
3 files changed
+60 -2

No files matched your search

@@ -63,6 +63,9 @@ public class ConfigMain
public static Property DatFormatProperty;
public static boolean DatFormat = false;
public static Property DefaultMaxPartySizetProperty;
public static int DefaultMaxPartySize = 4;
/**
* General NPC Properties
**/
@@ -149,6 +152,9 @@ public class ConfigMain
DatFormatProperty = config.get(GENERAL, "Dat Format for PlayerData", false, "You need to use '/kamkeel config playerdata' to convert existing playerdata to new format.");
DatFormat = DatFormatProperty.getBoolean(false);
DefaultMaxPartySizetProperty = config.get(GENERAL, "Default Max Party Size", 4, "When creating a new Quest sets the default max party size");
DefaultMaxPartySize = DefaultMaxPartySizetProperty.getInt(4);
// NPC
NpcNavRangeProperty = config.get(NPC, "NPC Navigation Range", 32, "Navigation search range for NPCs. Not recommended to increase if you have a slow pc or on a server. Minimum of 16, maximum of 96.");
NpcNavRange = NpcNavRangeProperty.getInt(32);