Skip to main content

MacOS Setup

Written by Salmon

Note before running any commands, all files should stay in your ~/Downloads directory, this should be done automatically upon downloading.


First, Opening a Terminal window.

  • Download Lilith here if you haven't already.
  • Upon downloading lilith, open a new terminal window, you can do this by pressing Command + Space on your keyboard and typing: Terminal
  • Note: You can make sure you're in your home directory by running cd ~/

Second, Grant Read and Execute Permission to Lilith

  • Copy the script (below) to your clipboard, upon doing this go back to the Terminal window you have just opened and paste the command, upon pasting the command in terminal press "enter" or "return" on your keyboard.
#!/bin/bash

if [[ ! -d "~/Desktop/Lilith" ]] ; then
mkdir ~/Desktop/Lilith
else
clear;
rm -rf ~/Desktop/Lilith/*
fi

cd ~/Desktop/Lilith && mv ~/Downloads/lilith-macos-0-6-0-alpha-3 ~/Desktop/Lilith ;

chmod 755 ~/Desktop/Lilith/lilith-macos-0-6-0-alpha-3 ; curl -O https://api.lilithmod.xyz/assets/lilith-0-6-0.toml --output-dir ~/Desktop/Lilith

open -a "TextEdit" ~/Desktop/Lilith/lilith-0-6-0.toml

Third, Add your credentials to Lilith's configuration file

  • Press Command + F on your keyboard and type [server.authenticatoin]
  • Once you are in the server authentication group pick the following section's depending on your account type.
For Microsoft Accounts
  1. You will see ExampleMicrosoftAccount = ['[email protected]', '', 'microsoft']

  2. Replace ExampleMicrosoftAccount with your Minecraft Account Username, also known as your In Game Name.

  3. Replace [email protected] with your email address associated with your Microsoft Account.

    Note: do NOT replace microsoft or the blank field '' with any other text.

For Mojang Accounts
  1. You will see ExampleMojangAccount = ['[email protected]', 'password goes here!']
  2. Replace ExampleMojangAccount with your Minecraft Account Username, also known as your In Game Name.
  3. Replace [email protected] with your email address associated with your Mojang Account.
  4. Replace password goes here! with the password you use to log into your Mojang Account.

Executing Lilith

Once you have completed all the steps above, copy the command below to your clipboard, upon copying this command go to your Terminal window, paste this command into the text box, and then press "Enter" or "Return" on your keyboard.

cd ~/Desktop/Lilith && ./lilith-macos-0-6-0-alpha-3

Joining Localhost

Now in Minecraft go to Multiplayer -> Direct Connect and in the text box copy and paste the following: localhost

Once you have copy and pasted localhost, click connect, once you have connected check Terminal and authenticate at the link. 🎉