Change command descriptions, as well as simplify some commands

This commit is contained in:
Ivan
2020-03-30 19:43:57 -04:00
parent 925fe4a4b2
commit 372ba97bef
116 changed files with 204 additions and 353 deletions

View File

@ -74,6 +74,20 @@ public class ChatManager extends FreedomService
return;
}
if (message.contains("nigger") || message.contains("nigga"))
{
event.setCancelled(true);
player.sendMessage(ChatColor.RED + "This is racist and therefore is prohibited.");
return;
}
if (message.contains("dyke") || message.contains("fag") || message.contains("kike"))
{
event.setCancelled(true);
player.sendMessage(ChatColor.RED + "This is homophobic and therefore is prohibited.");
return;
}
// Truncate messages that are too long - 256 characters is vanilla client max
if (message.length() > 256)
{