Added /auth <token>
This commit is contained in:
parent
32947a1a1e
commit
3422ade35f
3 changed files with 28 additions and 7 deletions
|
|
@ -32,6 +32,7 @@ namespace TShockAPI
|
|||
public static bool spawnProtect = true;
|
||||
public static int spawnProtectRadius = 5;
|
||||
public static string distributationAgent = "facepunch";
|
||||
public static int authToken = 0;
|
||||
|
||||
public enum NPCList : int
|
||||
{
|
||||
|
|
@ -79,10 +80,7 @@ namespace TShockAPI
|
|||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
FileTools.CreateFile(FileTools.SaveDir + "config.json");
|
||||
}
|
||||
|
||||
ConfigFile cfg = new ConfigFile();
|
||||
cfg.InvasionMultiplier = 50;
|
||||
cfg.DefaultMaximumSpawns = 4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue