BlockEnv

Configuration

To configure BlockEnv, create a blockenv.config.json file.

baseDir

The base directory is the directory where the Minecraft clients and servers will be installed. To configure this option, write the following into your configuration file:

{
    // ...
    "baseDir": "<BASE_DIRECTORY_PATH>"
    // ...
}

environments

In environments you can specify configurations for your client and server environments.

{
    // ...
    "environments": {
        "client": {
            "name": "Client Environment",
            "type": "client", // "client" or "server"
            "path": "client" // installation path
        } 
    }
    // ...
}

Common properties

Name Type Description
name string The name of your environment, used in logs.
type environment type The type of environment, can be either “client” or “server”.
path string The path to the environment installation. This path is resolved from baseDir.

Enums

Environment Type

Name Value
client “client”
server “server”