Removed ability to attack players, added an option to have a whitelist or a blacklist mode.

This commit is contained in:
Milutinke 2022-09-27 14:23:19 +02:00
parent 58b171cec0
commit 932d25f125
4 changed files with 32 additions and 21 deletions

View file

@ -206,8 +206,8 @@ namespace MinecraftClient
public static InteractType AutoAttack_Interaction = InteractType.Attack;
public static bool AutoAttack_Attack_Hostile = true;
public static bool AutoAttack_Attack_Passive = false;
public static bool AutoAttack_Attack_Players = false;
public static string AutoAttack_Blacklist = "attack-blacklist.txt";
public static string AutoAttack_ListMode = "blacklist";
public static string AutoAttack_ListFile = "autoattack-list.txt";
//Auto Fishing
public static bool AutoFishing_Enabled = false;
@ -735,10 +735,10 @@ namespace MinecraftClient
AutoAttack_Attack_Hostile = str2bool(argValue); return true;
case "attackpassive":
AutoAttack_Attack_Passive = str2bool(argValue); return true;
case "attackplayers":
AutoAttack_Attack_Players = str2bool(argValue); return true;
case "listmode":
AutoAttack_ListMode = argValue; return true;
case "blacklist":
AutoAttack_Blacklist = argValue; return true;
AutoAttack_ListFile = argValue; return true;
}
break;