Added a new PM regex

Added
[someone @ me] message
so that remote control could be used on more servers.

Added back Hero Chat Messages with a default config option of;
herochatmessagesenabled=false
which safely disables it for everyone and has to be explicitly enabled
for it to goof anything up.
How this happened was me downloading the "source" from minecraft forums
and modifying that source then trying to merge it back to the main
github fork of mine.
This commit is contained in:
BuildTools 2015-09-02 23:01:01 -04:00
parent 3e2622fbb7
commit 88c9605e94
3 changed files with 25 additions and 0 deletions

View file

@ -89,6 +89,7 @@ namespace MinecraftClient
public static bool RemoteCtrl_Enabled = false;
public static bool RemoteCtrl_AutoTpaccept = true;
public static bool RemoteCtrl_AutoTpaccept_Everyone = false;
public static bool Hero_Chat_Messages_Enabled = false;
//Auto Respond
public static bool AutoRespond_Enabled = false;
@ -282,6 +283,7 @@ namespace MinecraftClient
case "enabled": RemoteCtrl_Enabled = str2bool(argValue); break;
case "autotpaccept": RemoteCtrl_AutoTpaccept = str2bool(argValue); break;
case "tpaccepteveryone": RemoteCtrl_AutoTpaccept_Everyone = str2bool(argValue); break;
case "herochatmessagesenabled": Hero_Chat_Messages_Enabled = str2bool(argValue); break;
}
break;
@ -422,6 +424,7 @@ namespace MinecraftClient
+ "enabled=false\r\n"
+ "autotpaccept=true\r\n"
+ "tpaccepteveryone=false\r\n"
+ "herochatmessagesenabled=false\r\n"
+ "\r\n"
+ "[AutoRespond]\r\n"
+ "enabled=false\r\n"