We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, there is already a setting to read the original IP header of the player from the WaterdogPE
As well as this, I would like to see support for proxy protocols added so that the original IP of the player can be retrieved via proxy as well
Here, execute this.racknet.useProxyProtocol(); https://github.com/PowerNukkitX/PowerNukkitX/blob/master/src/main/java/cn/nukkit/network/RakNetInterface.java#L55
this.racknet.useProxyProtocol();
And can access the real IP with RakNetSession#getRealAddress();
RakNetSession#getRealAddress();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, there is already a setting to read the original IP header of the player from the WaterdogPE
As well as this, I would like to see support for proxy protocols added so that the original IP of the player can be retrieved via proxy as well
Here, execute
this.racknet.useProxyProtocol();
https://github.com/PowerNukkitX/PowerNukkitX/blob/master/src/main/java/cn/nukkit/network/RakNetInterface.java#L55
And can access the real IP with
RakNetSession#getRealAddress();
The text was updated successfully, but these errors were encountered: