@EventHandler(priority = EventPriority.NORMAL)
    public void onPlayerChat(AsyncPlayerChatEvent event)
    {
        try
        {
            final Player player = event.getPlayer();
            String message = event.getMessage().trim();
            String[] args = message.split(".");

            PlayerData playerdata = PlayerData.getPlayerData(player);
            for (Player players : Bukkit.getServer().getOnlinePlayers())
            {
                PlayerData pd = PlayerData.getPlayerData(players);
                if (pd.censorIsEnabled())
                {
                    for (String word : BLOCKED_WORDS)
                    {
                        if (message.contains(word.toLowerCase()))
                        {
                            Util.censorReplaceMessage(players, message, args);
                            event.setCancelled(true);
                        }
                        else
                        {
                        }
                    }
                }
                else
                {
                    pd.setCensorEnabled(false);
                }
            }
        }
        catch (Exception ex)
        {
            Bukkit.getServer().getLogger().severe(ex.getMessage());
        }
    }