Setup a server on Linux (Pterodactyl)
1. Download authlib-injector
Since Pterodactyl runs in a containerized environment, you need to download authlib-injector.jar
inside the server container.
Start your server in Pterodactyl.
Open the "File Manager" tab in Pterodactyl.
Upload the
authlib-injector.jar
file.Ensure the file is in the root directory of your Minecraft server (same folder as
server.jar
).
2. Modify the Startup Command
Pterodactyl does not allow direct modification of the startup command from the panel unless you have admin permissions. If you don't have administrative privileges on the instance, you'll need to contact your hosting provider to request the startup command. BUT GIVE IT A TRY! Some hosting providers may be willing to assist with this.
Example Startup Commands:
For Paper/Spigot/Purpur/Old Forge:
For Fabric:
For Modern Forge:
TIP:
For modern Forge, you can copy the
run.sh
file, modify it with the necessaryauthlib
parameters (like the one in the example), and then place the modified script in the startup command field.
Last updated