TCPShield / RealIP

The Spigot, Bungee and Velocity plugin that parses client IP addresses passed from the TCPShield network.
https://tcpshield.com
MIT License
145 stars 52 forks source link

ProtocolLib dev build x TCPShield #101

Open MeowIce opened 6 months ago

MeowIce commented 6 months ago

ProtocolLib Dev build #673 broke TCPShield's functionality on Purpur 1.20.2. When the server boot up with ProtocolLib and TCPShield v2.6.1, everything works fine but players and I cant connect to the server. The MOTD wont show up, join the server returned "Disconnected" message. Unloading TCPShield fixes the issue. image

JibrilSage commented 6 months ago

Confimed I could join server by removing: only-allow-proxy-connections Seems local host will not connect unless this is turned off. Hope once I give my domain 48h for possible setup time I'll have this working with the domain name.

JibrilSage commented 6 months ago

Yeah after trying to trouble shoot for hours this is the only thing I could do: image I can ONLY join locally by turning this off: only-allow-proxy-connections Please note my version is 1.20.2 and older/new versions of minecraft does not resolve the error. I have confirmed only LIB avalible to public is one that goes up to 1.20.4 other one was taken down due to errors and failures of build I assume. Localhost explicitly gives: "cannot connect to server" when proxy connections enabled in config. There are no errors in console as far as I can see. Everything loads smoothly you just cannot connect with both plugins enabled and that option enabled.

MeowIce commented 6 months ago

Yeah after trying to trouble shoot for hours this is the only thing I could do: image I can ONLY join locally by turning this off: only-allow-proxy-connections Please note my version is 1.20.2 and older/new versions of minecraft does not resolve the error. I have confirmed only LIB avalible to public is one that goes up to 1.20.4 other one was taken down due to errors and failures of build I assume. Localhost explicitly gives: "cannot connect to server" when proxy connections enabled in config. There are no errors in console as far as I can see. Everything loads smoothly you just cannot connect with both plugins enabled and that option enabled.

Disable "prefer-protocollib" in TCPSHIELD's config will fix the issue.

JibrilSage commented 6 months ago

Yeah after trying to trouble shoot for hours this is the only thing I could do: image I can ONLY join locally by turning this off: only-allow-proxy-connections Please note my version is 1.20.2 and older/new versions of minecraft does not resolve the error. I have confirmed only LIB avalible to public is one that goes up to 1.20.4 other one was taken down due to errors and failures of build I assume. Localhost explicitly gives: "cannot connect to server" when proxy connections enabled in config. There are no errors in console as far as I can see. Everything loads smoothly you just cannot connect with both plugins enabled and that option enabled.

Disable "prefer-protocollib" in TCPSHIELD's config will fix the issue.

Tried this, only resolution on my end is disabling only-allow-proxy-connections. Turning Prefer Protocolib false did nothing. Thanks for the suggestion though.

JibrilSage commented 6 months ago

@MeowIce I fixed my error, it was as simply as inputting the wrong IP. Big Brain I know. For your issue id suggest using https://github.com/dmulloy2/ProtocolLib From the dev builds option, select the latest one and use it. It seems to be working just fine as of now. Latest one on spigot is severely outdated. 0 errors using both updated version of the applications.

smscentras commented 5 months ago

Paper server 1.20.4 can't connect, message: "Disabled Server".