Skip to main content

Options

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
"loader": {
"name": "neoforge",
"version": "21.1.173"
},
"playerName": "Developer"
},
"server": {
"name": "Server Environment",
"type": "server", // "client" or "server"
"path": "server", // installation path
"loader": {
"name": "neoforge",
"version": "21.1.173"
}
}
}
// ...
}

Common properties​

NameTypeDescription
namestringThe name of your environment, used in logs.
typeenvironment typeThe type of environment, can be either "client" or "server".
pathstringThe path to the environment installation. This path is resolved from baseDir.
loaderloaderThe mod loader information for this environment.
argumentsenvironment arguments objectThe arguments to pass to the environment when starting it.

Client properties​

NameTypeDescription
playerNamestringThe name of the player for the environment. This is used as the Minecraft username.

Reference

Objects​

Loader​

NameTypeDescription
namestringThe name of the mod loader.
versionstringThe version of the mod loader.

Environment Arguments​

NameTypeDescription
jvmarray of stringsThe JVM arguments to pass to the environment (currently only available in environments with the "client" type).

Enums​

Environment Type​

NameValue
client"client"
server"server"