Add basic location handling

- Retrieve player location from the server
- Send back player location from the server
- Requires that a specific setting is enabled
- Should allow items to be picked up by the player
- May also trigger some anti chead plugins
This commit is contained in:
ORelio 2015-11-27 17:16:33 +01:00
parent 5654871a57
commit 72bd485e67
11 changed files with 319 additions and 17 deletions

View file

@ -54,6 +54,7 @@ namespace MinecraftClient
public static string BrandInfo = MCCBrandInfo;
public static bool DisplaySystemMessages = true;
public static bool DisplayXPBarMessages = true;
public static bool TerrainAndMovements = false;
//AntiAFK Settings
public static bool AntiAFK_Enabled = false;
@ -178,6 +179,7 @@ namespace MinecraftClient
case "scriptcache": CacheScripts = str2bool(argValue); break;
case "showsystemmessages": DisplaySystemMessages = str2bool(argValue); break;
case "showxpbarmessages": DisplayXPBarMessages = str2bool(argValue); break;
case "handleterrainandmovements": TerrainAndMovements = str2bool(argValue); break;
case "botowners":
Bots_Owners.Clear();
@ -407,6 +409,7 @@ namespace MinecraftClient
+ "chatbotlogfile= #leave empty for no logfile\r\n"
+ "showsystemmessages=true #system messages for server ops\r\n"
+ "showxpbarmessages=true #messages displayed above xp bar\r\n"
+ "handleterrainandmovements=false #requires more ram and cpu\r\n"
+ "accountlist=accounts.txt\r\n"
+ "serverlist=servers.txt\r\n"
+ "playerheadicon=true\r\n"