WaterdogPE icon indicating copy to clipboard operation
WaterdogPE copied to clipboard

Modify disconnection screen message

Open BrandPVP opened this issue 1 year ago • 1 comments

We should add an ability to modify the screen text when a proxy server kicks with an error message for example.

The reason for that is the proxy can sometimes leak an IP of a downstream server. We could hide this sensitive information by using regular expression or whatever in plugins.

Maybe add a new method “setReason()” in the PlayerDisconnectedEvent?

BrandPVP avatar Feb 18 '24 09:02 BrandPVP