Ralms Posted March 7, 2023 Share Posted March 7, 2023 This is a simple request. Currently, the client, when it receives Packet "AccessDenied" during login, will look for the translation reason by prepending "UI_OnConnectFailed_". In order to allow java modded servers to customize with more freedom the login access denied message, please move this to the server side. Otherwise, custom messages are presented as "UI_OnConnectFailed_Whatever reason the server sent back". The code in question is located on GameClient.receiveAccessDenied(ByteBuffer, short), when doing Translator.getText(). Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now