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 http://149.154.71.92/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 http://149.154.71.92/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 http://149.154.71.92/authlib-injector.

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

Authentication Server: http://149.154.71.92/auth
Account Server: http://149.154.71.92/account
Session Server: http://149.154.71.92/session
Services Server: http://149.154.71.92/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=http://149.154.71.92/auth
-Dminecraft.api.account.host=http://149.154.71.92/account
-Dminecraft.api.session.host=http://149.154.71.92/session
-Dminecraft.api.services.host=http://149.154.71.92/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=http://149.154.71.92/auth \
    -Dminecraft.api.account.host=http://149.154.71.92/account \
    -Dminecraft.api.session.host=http://149.154.71.92/session \
    -Dminecraft.api.services.host=http://149.154.71.92/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.2. Licensed under GPLv3. Source code here.