Log in
Configuring your client
Using Drasl on the client requires a third-party launcher that supports custom API servers. PollyMC, a fork of Prism Launcher (and not to be confused with PolyMC) is recommended, but HMCL also works. Both are free/libre.
PollyMC
- Click your account in the top right and select "Manage Accounts...".
- Click "Add authlib-injector" in the right-hand sidebar.
- Enter your username and password, and use https://drasl.pleb.moe/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.pleb.moe/authlib-injector. Click "Next" and then "Finish".
- 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.pleb.moe/authlib-injector.
Or, if your launcher supports custom API servers but not via authlib-injector, use the following URLs:
Authentication Server: | https://drasl.pleb.moe/auth |
Account Server: | https://drasl.pleb.moe/account |
Session Server: | https://drasl.pleb.moe/session |
Services Server: | https://drasl.pleb.moe/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.pleb.moe/auth -Dminecraft.api.account.host=https://drasl.pleb.moe/account -Dminecraft.api.session.host=https://drasl.pleb.moe/session -Dminecraft.api.services.host=https://drasl.pleb.moe/servicesFor 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.pleb.moe/auth \ -Dminecraft.api.account.host=https://drasl.pleb.moe/account \ -Dminecraft.api.session.host=https://drasl.pleb.moe/session \ -Dminecraft.api.services.host=https://drasl.pleb.moe/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 1.0.3. Licensed under GPLv3. Source code here.