Skip to content

How Tos

kay edited this page Oct 23, 2024 · 4 revisions

Where does Lodestone store its data?

Lodestone checks for the existence of an environmental variable LODESTONE_PATH upon startup. If said env var exists it will use that path. If not, it will default to your home directory.

On *nix: ~/.lodestone

On Windows: %userprofile%/.lodestone

How do I change where Lodestone stores all its data?

Lodestone checks for the existence of an environmental variable LODESTONE_PATH upon startup. If said env var is found it will create that directory and use that as the storage location. If the env var is not found it will default to .lodestone directory under the user's home directory.

If you are on *nix: export LODESTONE_PATH=[replace this with your desired path]

If you are on Windows:

search for "env" in your search bar, open "Edit environmental variables for your account"

image

Click on "new"

image

Put LODESTONE_PATH as the name, and the absolute path to your directory as the value

image

Configuring SSL/HTTPS with Lodestone Core

To configure SSL/HTTPS with Lodestone Core, you'll need to place your SSL certificate and key files in a specific location and format. Here's the detailed step-by-step guide:

  1. Create a directory named tls under the main Lodestone directory (LODESTONE_PATH).

  2. Store your SSL certificate and key files within this newly created tls directory. They should be named as cert.pem and key.pem respectively.

    Note: If you have a fullchain.pem or another certificate file, you can simply rename it to cert.pem.

  3. Once the certificate and key files are in place, start Lodestone Core. During the boot-up sequence, you should observe a message indicating either "TLS enabled" or "Invalid TLS config".

    • "TLS enabled" confirms that the SSL/HTTPS setup was successful.
    • "Invalid TLS config" signifies that there was a problem with the configuration. If you encounter this, double-check the certificate and key files, their names, and their location.
  4. Depending on your SSL certificate source, you may need to do the following:

    • Self-signed certificate: If you're using a self-signed certificate, you'll need to manually add it to your browser's trust store to avoid security warnings.

    • Publicly trusted certificate (e.g., Let's Encrypt): If your certificate comes from a publicly trusted Certificate Authority (CA) such as Let's Encrypt, you should remove the existing Lodestone Core instance from your dashboard and re-add it using its domain name.

How do i install a modpack?

  1. Create your Lodestone instance
    1. Get the Minecraft version of the modpack
    2. Get the modloader of the modpack such as fabric or forge
    3. Create an instance for that modloader and that Minecraft version
  2. Run the Lodestone instance
  3. Once running, Stop the Lodestone instance
  4. Delete the mods folder from the instance if it exists
  5. Download the modpack
    • If they have a version that is specifically for servers, download that one, otherwise download the latest version for your modloader and Minecraft version
  6. If you downloaded the modpack from Modrinth, add .zip on the end of the downloaded file name
  7. Unzip the file
  8. Open the unzipped file and go into the overrides folder
  9. Select the mods folder and the config folder and zip them
  10. Upload the resulting zip file to lodestone
  11. Left click the zip file and press Unzip here Done. If you are getting errors feel free to ask in the support forum on the lodestone discord server