Setup a server on Linux
Last updated
Last updated
authlib-injector
Download the latest version from the official github repo: đ
Move the downloaded authlib-injector
JAR file to a dedicated directory.
For example, store it in /opt/authlib-injector/
:
To use authlib-injector
, modify the startup command for your Minecraft server.
-Xmx4G
: Sets the maximum memory allocation (adjust as needed).
-Xms2G
: Sets the minimum memory allocation (adjust as needed).
-javaagent:/opt/authlib-injector/authlib-injector.jar=https://authserver.visoftware.dev/authlib-injector
: Loads the authlib-injector
as a Java agent and redirects authentication requests.
-jar paper.jar
: Starts the Minecraft server (replace with your actual server JAR file).
nogui
: Runs the server without the graphical user interface.
To automate the startup process, you can create a startup script:
Create a new script file:
Add the following content:
Save the file (CTRL + X
, then Y
, then Enter
).
Give it execute permissions:
Start your server using:
authlib-injector
Check the server logs (authlib-injector.log or console output) for messages related to authlib-injector. If it's working correctly, you should see output confirming that the authentication system is redirected.
authlib-injector
to authenticate via VI Software's Auth Server