Added -dump switch which dumps permissions/config options

Dumps are now alphabetical.
This commit is contained in:
high 2011-12-31 19:10:17 -05:00
parent bf238768b4
commit ab65c30ce6
3 changed files with 10 additions and 5 deletions

View file

@ -357,6 +357,11 @@ namespace TShockAPI
Log.ConsoleInfo("World path has been set to " + path);
}
}
if (parms[i].ToLower() == "-dump")
{
ConfigFile.DumpDescriptions();
Permissions.DumpDescriptions();
}
}
}