Change a startup setting
set_startup_variableSet one Minecraft server startup variable, such as JARFILE, to take effect on the next restart. Back up first because incompatible changes can prevent startup or alter the world.
Instructions
DESTRUCTIVE: changing the server jar, Minecraft version, or Java version can stop the server from starting or upgrade the world irreversibly; plugins such as EaglercraftXServer and ViaVersion only support some versions. Take a backup first. Sets one startup variable from get_startup_settings; it takes effect on the next restart.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"key": "<key>",
"value": "<value>"
},
"name": "set_startup_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Variable key from get_startup_settings, such as "JARFILE". | |
| value | Yes | New value; must satisfy the variable's rules and options. | |
| server | No | Server identifier or UUID. Omit to use the configured server (PEBBLEHOST_SERVER_ID); other servers are refused unless PEBBLEHOST_ALLOW_ALL_SERVERS is set. |