Set server settings
pz_set_settingsUpdate individual settings such as PublicName, MaxPlayers, or PVP in the Project Zomboid config, preserving comments and ordering while appending missing keys.
Instructions
Update individual keys in the main .ini while preserving comments, ordering and every other option; missing keys are appended. Call this for any change to server settings such as PublicName, Password, MaxPlayers or PVP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settings | Yes | Key/value pairs to set, e.g. {"PublicName": "Retrox", "MaxPlayers": 16, "PVP": false}. Keys are case-sensitive and must match PZ's ini names. | |
| service_id | No | Nitrado service id. Defaults to NITRADO_SERVICE_ID when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |