HandleCommandLinePostConfigLoad() public static method

HandleCommandLinePostConfigLoad - Handles additional command line options after the config file is read.
public static HandleCommandLinePostConfigLoad ( string parms ) : void
parms string parms - The array of arguments passed in through the command line.
return void
Ejemplo n.º 1
0
 /// <summary>
 /// Reloads all configuration settings, groups, regions and raises the reload event.
 /// </summary>
 public void Reload(TSPlayer player)
 {
     FileTools.SetupConfig();
     TShock.HandleCommandLinePostConfigLoad(Environment.GetCommandLineArgs());
     TShock.Groups.LoadPermisions();
     TShock.Regions.ReloadAllRegions();
     Hooks.GeneralHooks.OnReloadEvent(player);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Reloads all configuration settings, groups, regions and raises the reload event.
 /// </summary>
 public void Reload()
 {
     FileTools.SetupConfig();
     TShock.HandleCommandLinePostConfigLoad(Environment.GetCommandLineArgs());
     TShock.Groups.LoadPermisions();
     TShock.Regions.Reload();
     TShock.ItemBans.DataModel.UpdateItemBans();
     TShock.ProjectileBans.UpdateBans();
     TShock.TileBans.UpdateBans();
 }