Skip to content

Minecraft Server modification to allow ViaProxy clients to join online mode servers

License

Notifications You must be signed in to change notification settings

ViaVersionAddons/ViaProxyAuthHook

Repository files navigation

ViaProxyAuthHook

Minecraft Server modification to allow ViaProxy clients to join online mode servers.

How it works

This plugin works by redirecting the authentication requests from the server to the ViaProxy instance. ViaProxy then checks if the client is authenticated with ViaProxy and sends the result back to the server. Clients which are not authenticated with ViaProxy will be authenticated with the official Mojang authentication servers.

The server modification has been confirmed to work on Vanilla, Fabric, Forge, Bukkit, Spigot, Paper, BungeeCord and Sponge

Installation

  1. Download the latest stable release from GitHub Releases or the latest dev build from GitHub Actions.
  2. Put the jar file into the plugins folder of ViaProxy
  3. Run ViaProxy once to generate the config file
  4. Make sure to enable "Proxy Online Mode" in the ViaProxy CLI or config file
  5. Copy the secret key from the AuthHook config file (You will need it later for the server)
  6. Download the latest version of the AuthHook agent (Same link as step 1)
  7. Put the AuthHook agent into the same folder as the server jar
  8. Add the following JVM argument to the server start command: -javaagent:ViaProxyAuthHook-x.x.x.jar (Replace x.x.x with the version of the AuthHook agent you downloaded)
  9. Start the server once to generate the config file
  10. Open the config file (It's in the same folder as the server jar) and set the secret key to the key you copied in step 4
  11. Start both the server and ViaProxy. You can now switch the authentication mode to AuthHook (Use AUTH_HOOK for CLI or config file).

Contact

If you encounter any issues, please report them on the issue tracker.
If you just want to talk or need help using ViaProxyAuthHook feel free to join my Discord.

About

Minecraft Server modification to allow ViaProxy clients to join online mode servers

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages