Skip to content
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

[FEATURE REQUEST] Real IP of players #5

Open
AlphaCraft9658 opened this issue Mar 9, 2024 · 1 comment
Open

[FEATURE REQUEST] Real IP of players #5

AlphaCraft9658 opened this issue Mar 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@AlphaCraft9658
Copy link

Does this display the actual client IP in the console, instead of the Playit IP, like the official Plugin does?

@AlphaCraft9658 AlphaCraft9658 changed the title Does this display the actual client IP in the console Does this display the actual client IP in the console? Mar 9, 2024
@maxomatic458
Copy link
Owner

@AlphaCraft9658
i think it doesnt

this is the part that would set it

public boolean setRemoteAddress(Channel channel, SocketAddress address) {
try {
Field field = AbstractChannel.class.getDeclaredField("remoteAddress");
field.setAccessible(true);
field.set(channel, address);
return true;
} catch (Exception error) {
log.warning("failed to set remoteAddress, error: " + error);
return false;
}
}

but its made for bukkit
so probably wont do anything for forge/fabric

i will update the mod when the plugin gets an update
then i will add probably add it

@maxomatic458 maxomatic458 changed the title Does this display the actual client IP in the console? [FEATURE REQUEST] Real IP of players Mar 10, 2024
@maxomatic458 maxomatic458 added the enhancement New feature or request label Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants