You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
handler.disconnect(Component.literal("You do not have No Chat Reports, and this server is configured to require it on client!"));
My ideas would be to either add that message to the lang files and let the server choose which one to use or to allow them to configure a custom message through the config, like plugins often do, which offers far more customization.
You could also have one config option which can be used for both:
If it is, for example, set to "en_en", the default translation is used, if no lang file with that String was found (or the format is not xx_xx), the String itself will be the message. That'll only work as long as there aren't multiple serverside messages, of course.
If it can be configured that joining the server requires installation of the mod, why is this a required feature?
They do operate differently, but ultimately achieve the same thing, unless I am missing something?
I see. The (serverside) config should still be a good and viable option, however.
@otta8634 Sorry, I missed your comment. I don't quite understand what you mean, afaik that message is shown to clients without NCR if the server does have NCR installed and requires clients to do so, too. So I'm not sure what you think is "achieving the same thing"?
I think some servers would appreciate a (serverside) config option to translate this message:
No-Chat-Reports/src/main/java/com/aizistral/nochatreports/NoChatReports.java
Line 39 in ae263f1
My ideas would be to either add that message to the lang files and let the server choose which one to use or to allow them to configure a custom message through the config, like plugins often do, which offers far more customization.
You could also have one config option which can be used for both:
If it is, for example, set to "en_en", the default translation is used, if no lang file with that String was found (or the format is not xx_xx), the String itself will be the message. That'll only work as long as there aren't multiple serverside messages, of course.
This suggestion is based on #45.
The text was updated successfully, but these errors were encountered: