Installation

Step-by-step guide to install the language module and set up the necessary environment to start using it.

The D Language Module can be installed in two ways: manually downloading the release or using the Plugify package manager. This guide explains both methods and provides step-by-step instructions.

Method 1: Manual Installation

Download the Release

  1. Go to the D Language Module repository.
  2. Navigate to the Releases section.
  3. Download the latest release package (e.g., plugify-module-dlang.zip).

Extract the Package

  1. Extract the downloaded package to a temporary directory.

Place the Module in the Modules Folder

  1. Locate the envs folder in your Plugify installation directory.
  2. Copy the extracted module files into the envs folder.

Verify Installation

  1. Start Plugify.
  2. The D Language Module should now be available for use.

Method 2: Installation via Package Manager

Open the Server Console

The mamba command is built into the server console, so nothing has to be installed first. Package operations run while Plugify is unloaded: plg unload before them and plg load after. See Commands.

Install the Module

  1. Run the following commands in the server console:
    plg unload
    mamba install -n modules -c "https://untrustedmodders.github.io/plugify-module-dlang/" plugify-module-dlang
    plg load
    

Verify Installation

  1. Start Plugify.
  2. The D Language Module should now be installed and ready for use.

Folder Structure

After installation, the D Language Module should have the following folder structure:

Explanation

  • addons/plugify/envs/modules: The root folder for the D Language Module.
  • bin: Contains the compiled module binaries (.dll for Windows, .so for Linux and .dylib for macOS).
  • plugify-module-dlang.pmodule: The module manifest file that describes the module and its language.

Troubleshooting

Module Not Found

  • Ensure the repository URL is correct and accessible.

Installation Fails

  • Check your internet connection.
  • Ensure you have the latest version of Plugify installed.