To configure BlockEnv, create a blockenv.config.json
file.
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>"
// ...
}
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
}
}
// ...
}
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. |
Name | Value |
---|---|
client | “client” |
server | “server” |