Log in
Configuring your client
Using Drasl on the client requires a third-party launcher that supports custom API servers. Fjord Launcher, a fork of Prism Launcher, is recommended, but HMCL also works. Both are free/libre.
Fjord Launcher
- Click your account in the top right and select “Manage Accounts...”.
- Click “Add authlib-injector” in the right-hand sidebar.
- Enter your player name and your Drasl password or Minecraft Token, and use https://drasl.googleballs.com/authlib-injector for the URL. Click “OK”.
HMCL
- Go to the “Account List” view by clicking the account at the top of the sidebar.
- At the bottom left, click “New Auth Server” and enter https://drasl.googleballs.com/authlib-injector. Click “Next” and then “Finish”.
- In the sidebar, click the newly-added authentication server, labeled “Drasl”. Enter your Drasl player name and password and click “Login”.
Other launchers
Use the authlib-injector URL https://drasl.googleballs.com/authlib-injector.
Configuring your server
Minecraft 1.16 and later
On recent versions of Minecraft, you can use Drasl on an unmodified Vanilla server. To do so, add the following arguments before you specify the jar file when you start the server:
-Dminecraft.api.env=custom -Dminecraft.api.auth.host=https://drasl.googleballs.com/auth -Dminecraft.api.account.host=https://drasl.googleballs.com/account -Dminecraft.api.profiles.host=https://drasl.googleballs.com/account -Dminecraft.api.session.host=https://drasl.googleballs.com/session -Dminecraft.api.services.host=https://drasl.googleballs.com/services -Dminecraft.api.discovery.host=https://drasl.googleballs.com/discovery/minecraft/client
For example, the full command you use to start the server might be:
java -Xmx1024M -Xms1024M \
-Dminecraft.api.env=custom \
-Dminecraft.api.auth.host=https://drasl.googleballs.com/auth \
-Dminecraft.api.account.host=https://drasl.googleballs.com/account \
-Dminecraft.api.profiles.host=https://drasl.googleballs.com/account \
-Dminecraft.api.session.host=https://drasl.googleballs.com/session \
-Dminecraft.api.services.host=https://drasl.googleballs.com/services \
-Dminecraft.api.discovery.host=https://drasl.googleballs.com/discovery/minecraft/client \
-jar server.jar nogui
All other versions of Minecraft
Download the latest release of Loki. Rename it to Loki.jar and place it next to your server JAR.
Start your server with the argument -javaagent:Loki.jar=https://drasl.googleballs.com/authlib-injector. For example, the full command you use to start your server might be:
java -Xmx1024M -Xms1024M \ -javaagent:Loki.jar=https://drasl.googleballs.com/authlib-injector \ -jar server.jar nogui
Loki is configured with JVM arguments. You can have it update itself to the latest version at startup, or raise its logging level while troubleshooting an issue. See Loki's configuration for the available options and Loki's usage to learn how to set them.
Drasl version 4.0.0. Licensed as GPLv3. Source code.