-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More accurate server safety status #177
Comments
I am already taking steps in this direction. As of the next release plugin developers will be able to directly mark server as blocking chat reports in the eyes of NCR: https://github.com/Aizistral-Studios/No-Chat-Reports/wiki/How-to-Get-Safe-Server-Status Heuristic approach is something I consider implementing later. |
I previously had an idea of using heuristics, but Aizistral was afraid of
the metrics I suggested included
Related: #123 and https://discord.com/channels/757941072449241128/992979156767883375/998639633216843786 (in the mod's Discord) |
#183 I'd be happy to add compability to my plugin, but I see no way of doing so right now, at least not for plugins. Edit: I figured out a way, it'll be added in new version of my plugin |
In terms of heuristics, I've got another idea - would it be possible to check the validity or properties of a chat chain? As in, somehow observe the difference between an emulated chat chain from ViaVersion or similar and a real one from a 1.19.1+ server. Maybe that could be used as one criterion for marking the server as ✅... |
As far as I know, emulated chat from ViaVersion is just conversion of everything to system messages. There's no special characteristic that would distinguish that from other mods and plugins that employ such conversion. |
For the 1.19.3 implementation, I thought of another heuristic that may help: after typing a chat message (and it actually goes through), check whether the message the user just entered is shown as a chat message or system message. The message would be cached and waited for up to a predefined period, e.g. half a second. If the latency is bigger, just don't use that heuristic. |
Some servers prevent chat reports by stripping the signature, they are still player messages. This like Leaves. So player messages do not mean the server does not prevent chat reports. |
Suggestion
As documented, on servers with the FreedomChat or No Chat Reports plugin, "Users who have No Chat Reports on the client will get a icon near chat input box."
However, the text shown from the icon is not accurate in this scenario - the server does block chat reports; vanilla clients won't display unsigned messages as "Not Secure" and will show them regardless of "Only Show Secure Chat".
My proposal is to determine if the server blocks chat reports and display the appropriate server safety status. If yet to be determined, then a [?] icon can be displayed.
Possible ways to check
Watch for chat messages
Check server plugins
Communicate with plugins
Alternative suggestions
Manually
Instead of checking, a way can be added to manually mark the server as 'blocking chat reports'.
Change the text
For example (additions in italic; removals in strikethrough):
"This server
does not prevent chat reports, butallows you to send unsigned messages which cannot be reported to Mojang. If the server is not preventing chat reports, vanilla clients will stillsend signed messagesbe vulnerable from their signed messages, display unsigned messages as "Not Secure" and not show them if "Only Show Secure Chat" is enabled in chat options."Reason for suggesting
I would like to recommend to others/ distribute this mod to my players (on a server with FreedomChat plugin), but
Apart from that, I think the mod would just be overall better for its users if the information displayed by it was accurate.
The text was updated successfully, but these errors were encountered: