Add auto repsawn if player was dead

This commit is contained in:
ReinforceZwei 2020-04-01 18:28:00 +08:00 committed by ORelio
parent ddcc9ee8e6
commit e93f03bd4e
6 changed files with 37 additions and 0 deletions

View file

@ -96,6 +96,7 @@ namespace MinecraftClient
public static bool ResolveSrvRecords = true;
public static bool ResolveSrvRecordsShortTimeout = true;
public static bool EntityHandling = false;
public static bool AutoRespawn = false;
//AntiAFK Settings
public static bool AntiAFK_Enabled = false;
@ -240,6 +241,7 @@ namespace MinecraftClient
case "botmessagedelay": botMessageDelay = TimeSpan.FromSeconds(str2int(argValue)); break;
case "debugmessages": DebugMessages = str2bool(argValue); break;
case "enableentityhandling": EntityHandling = str2bool(argValue); break;
case "autorespawn": AutoRespawn = str2bool(argValue); break;
case "botowners":
Bots_Owners.Clear();
@ -583,6 +585,7 @@ namespace MinecraftClient
+ "scriptcache=true # Cache compiled scripts for faster load on low-end devices\r\n"
+ "timestamps=false # Prepend timestamps to chat messages\r\n"
+ "enableentityhandling=false # Toggle entities handling\r\n"
+ "autorespawn=false # Toggle auto respawn if client player was dead (make sure your spawn point is safe)\r\n"
+ "\r\n"
+ "[AppVars]\r\n"
+ "# yourvar=yourvalue\r\n"