Get sandbox settings
pz_get_sandboxRead Project Zomboid sandbox tuning from SandboxVars.lua, searchable by 'zombie', 'loot', or 'day', to get exact setting names and enum values before changing them.
Instructions
Read the sandbox tuning (SandboxVars.lua): zombie population and speed, loot rarity, day length, XP rates, erosion and so on. Roughly 270 settings, so pass search to narrow it — 'zombie', 'loot', 'day' — which also returns the in-file documentation explaining what each numeric value means. Call this before pz_set_sandbox so you use real setting names and the right enum numbers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Only return settings whose name or documentation mentions this term, together with that documentation. Omit for the full name/value list without help text. | |
| service_id | No | Nitrado service id. Defaults to NITRADO_SERVICE_ID when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |