ocelotpotpie / FreedomChat

Liberate your server from the chat-reporting bourgeoisie! Disable chat signing server-side
https://modrinth.com/plugin/freedomchat
GNU General Public License v3.0
207 stars 24 forks source link

How does it work? #1

Closed Madis0 closed 2 years ago

Madis0 commented 2 years ago

The readme says this plugin is better than others because of x, y and z but how? How does this one work then?

e-im commented 2 years ago

I've added some clarification to the README, and also sent a pr to the open-source NoChatReports mod (so, for fabric, not bukkit) fixing one of its issues.

This plugin just disables player (signed) chat fully and replaces it with system (unsigned) messages. For all players everything still works the exact same, they will just have a small grey bar to the left of all messages. This is unavoidable.

the NoEncryption plugin strips the signature from player chat, which doesn't really make sense when system messages exist. This will cause a visible and very strongly worded warning in the client.

the NoChatReports plugin cancels all chat and resends it manually. This breaks every plugin that ever attempts to change or read chat. It fires its own NonReportableChatEvent, which other plugins would need to manually add compatibility for. No plugins will ever really do this. FreedomChat does not mess with chat events and retains compatibility with the vast majority of plugins interacting with chat.

Hope this answers your question, let me know if you have any others.

it's also important to note that CraftBukkit (and thus Spigot/Paper) already do exactly what this plugin does. However, this will be removed in the (ideally near) future and chat signing will be enabled. Oharass made this plugin exclusively as a precaution, for use once chat signing support is added to Paper. I've added a note about this in the README.