Skip to content

Commit

Permalink
Added note about proxy online mode
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphiMC committed Nov 30, 2024
1 parent 4bb38cf commit c11bf65
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ The modification has been confirmed to work on Vanilla, Spigot, Paper, Fabric, F
1. Download the latest version from [GitHub Actions](https://github.com/ViaVersionAddons/ViaProxyAuthHook/actions).
2. Put the jar file into the plugins folder of ViaProxy
3. Run ViaProxy once to generate the config file
4. Copy the secret key from the AuthHook config file (You will need it later for the server)
5. Download the latest version of the AuthHook agent (Same link as step 1)
6. Put the AuthHook agent into the same folder as the server jar
7. 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)
8. Start the server once to generate the config file
9. 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
10. Start both the server and ViaProxy. You can now switch the authentication mode to AuthHook (Use `AUTH_HOOK` for CLI or 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
Expand Down

0 comments on commit c11bf65

Please sign in to comment.