3.1 Config Refactor

This commit is contained in:
AconiteGodOfSWG
2021-03-28 16:44:33 -04:00
parent 694a499356
commit 355796dd48
148 changed files with 900 additions and 6277 deletions
@@ -166,11 +166,11 @@ public class npe extends script.base_script
}
public static int getMinInstancePopulation() throws InterruptedException
{
return utils.stringToInt(getConfigSetting("GameServer", "npeMinInstancePopulation"));
return utils.stringToInt(getConfigSetting("GameServer", "npeMinInstancePopulation")); // src set value, default is 20
}
public static int getMaxInstancePopulation() throws InterruptedException
{
return utils.stringToInt(getConfigSetting("GameServer", "npeMaxInstancePopulation"));
return utils.stringToInt(getConfigSetting("GameServer", "npeMaxInstancePopulation")); // src set value, default is 50
}
public static int getBestStationInstanceIndex(obj_id player, dictionary[] stations) throws InterruptedException
{