Add a few more dumps to TShock, to facilitate keeping the documentation up to date.
This commit is contained in:
parent
bccf2924ef
commit
b7019b6166
2 changed files with 158 additions and 1 deletions
|
|
@ -633,11 +633,18 @@ namespace TShockAPI
|
|||
break;
|
||||
}
|
||||
case "-dump":
|
||||
{
|
||||
{
|
||||
Utils.PrepareLangForDump();
|
||||
Lang.setLang(true);
|
||||
ConfigFile.DumpDescriptions();
|
||||
Permissions.DumpDescriptions();
|
||||
ServerSideConfig.DumpDescriptions();
|
||||
RestManager.DumpDescriptions();
|
||||
Utils.DumpBuffs("BuffList.txt");
|
||||
Utils.DumpItems("Items.txt");
|
||||
Utils.DumpNPCs("NPCs.txt");
|
||||
Utils.DumpProjectiles("Projectiles.txt");
|
||||
Utils.DumpPrefixes("Prefixes.txt");
|
||||
Environment.Exit(1);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue