Use DNS for chat filter
This commit is contained in:
parent
d1e098ca13
commit
95c22a59fd
@ -55,7 +55,7 @@ public class Chat extends MiniPlugin
|
||||
private AchievementManager _achievements;
|
||||
|
||||
private String[] _hackusations = {"hack", "hax", "hacker", "hacking", "cheat", "cheater", "cheating", "forcefield", "flyhack", "flyhacking", "autoclick", "aimbot"};
|
||||
private String _filterUrl = "https://10.33.53.5:8003/content/item/moderate";
|
||||
private String _filterUrl = "https://chat.mineplex.com:8003/content/item/moderate";
|
||||
private String _appId = "34018d65-466d-4a91-8e92-29ca49f022c4";
|
||||
private String _apiKey = "oUywMpwZcIzZO5AWnfDx";
|
||||
private String _serverName;
|
||||
@ -276,7 +276,7 @@ public class Chat extends MiniPlugin
|
||||
*/
|
||||
|
||||
String filteredMsg = "";
|
||||
|
||||
|
||||
filteredMsg = ((JSONObject) JSONValue.parse(response)).get("content").toString();
|
||||
if (filteredMsg.contains("parts"))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user