Enabling/Disabling it won't work in this instance as it's only filtering your own text so it'll end up like this:
PlayerA has censoring disabled.
PlayerB has censoring enabled.
PlayerA says <expletive>, but because he doesn't have censoring onPlayerChat() doesn't change his curse.
PlayerB DOES have it enabled, but because it's not his chat, he still sees the player cursing.
This is where onRemotePlayerChats() is needed.