Closed Mrredstone5230 closed 2 years ago
Well, it looks like BungeeGuard forwarding is design-compatible with normal IP forwarding, so you should be able to login to a VanillaCord server just fine as-is. That said, some changes will be needed to actually check for and make use of the provided token.
As of that commit, it should now be possible to specify BungeeGuard tokens for VanillaCord to validate using seecret.txt
.
seecret.txt
isn't new to those using modern IP forwarding, but it is new to those using "legacy" IP forwarding. You can learn more about it by clicking the relevant link in the last sentence.
Do you have to directly execute Pather.class ? I don't understand how seecret.txt is supposed to be generated.
As "BungeeCord" and "BungeeGuard" use the same method for forwarding information, no additional patches are required – so the patch process remained the same as it was before. seecret.txt
is a config file that appears after joining a VanillaCord server.
Unfortunately, it didn't quite work. If you but an invalid token from bungee, the player will still be able to connect. Made a quick patch for it.
Everything's in the title. (I said "instead" but having both option available when patching the jar would be nice) Would it be possible?