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

  1. Click your account in the top right and select "Manage Accounts...".
  2. Click "Add authlib-injector" in the right-hand sidebar.
  3. Enter your username and password, and use https://drasl.unmojang.org/authlib-injector for the URL. Click "OK".

HMCL

  1. Go to the "Account List" view by clicking the account at the top of the sidebar.
  2. At the bottom left, click "New Auth Server" and enter https://drasl.unmojang.org/authlib-injector. Click "Next" and then "Finish".
  3. In the sidebar, click the newly-added authentication server, labeled "Drasl". Enter your Drasl username and password and click "Login".

Other Launchers

Use the authlib-injector URL https://drasl.unmojang.org/authlib-injector.

Or, if your launcher supports custom API servers but not via authlib-injector, use the following URLs:

Authentication Server: https://drasl.unmojang.org/auth
Account Server: https://drasl.unmojang.org/account
Session Server: https://drasl.unmojang.org/session
Services Server: https://drasl.unmojang.org/services

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.unmojang.org/auth
-Dminecraft.api.account.host=https://drasl.unmojang.org/account
-Dminecraft.api.session.host=https://drasl.unmojang.org/session
-Dminecraft.api.services.host=https://drasl.unmojang.org/services
  
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.unmojang.org/auth \
    -Dminecraft.api.account.host=https://drasl.unmojang.org/account \
    -Dminecraft.api.session.host=https://drasl.unmojang.org/session \
    -Dminecraft.api.services.host=https://drasl.unmojang.org/services \
    -jar server.jar nogui

Minecraft 1.15.2 and earlier

Refer to the authlib-injector documentation on setting up a server: https://github.com/yushijinhun/authlib-injector/blob/develop/README.en.md#deploy.

Alternatively, you can patch your server to use a newer version of Mojang's authlib that supports custom API servers. See https://github.com/tinytengu/minecraft-authlib.


Drasl version 2.0.0. Licensed under GPLv3. Source code here.