> ## Documentation Index
> Fetch the complete documentation index at: https://help.freakhosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Configure Sandbox Variables in Project Zomboid

> Engineer your ideal apocalypse. Learn the professional technical workflow for managing SandboxVars.lua to calibrate zombie lore, loot rarity, and world rules.

## Tuning the Apocalypse: Sandbox Variables

"Sandbox Variables" represent the fundamental mechanical logic of your Project Zomboid world. These parameters dictate every technical aspect of the simulation - from the exact movement speed and auditory sensitivity of the zombie horde to the scarcity of survival resources and global experience multipliers. Because these settings are stored in a rigorous Lua table format (`SandboxVars.lua`), manual syntax errors frequently result in server initialization failures. This guide walk you through the professional "Gold Standard" method for generating and deploying a stable configuration.

<CardGroup cols={2}>
  <Card title="Difficulty" icon="gauge-low">
    Beginner
  </Card>

  <Card title="Time" icon="clock">
    6 Minutes
  </Card>
</CardGroup>

***

## The "Gold Standard" Configuration Workflow

To eliminate the risk of Lua syntax corruption, we highly recommend using the game engine's native graphical interface to generate your configuration files.

<Steps>
  <Step title="Initialize Local Preset">
    Launch Project Zomboid on your personal computer. Select **Solo** -> **Sandbox** to initialize the visual configuration menu.
  </Step>

  <Step title="Calibrate World Logic">
    use the interactive menus to define your community's ruleset (e.g., set **Loot Rarity** to "Extremely Rare" or **XP Multiplier** to `3.0`).
  </Step>

  <Step title="Export Technical Preset">
    Locate the **"Save Preset"** utility at the base of the interface. Assign a distinct identifier, such as `Freak_Global_Vars`.
  </Step>

  <Step title="Retrieve Local Asset">
    Navigate to your local Windows user directory:
    `C:\Users\[Username]\Zomboid\Sandbox Presets\Freak_Global_Vars.lua`
  </Step>

  <Step title="Deploy to Hosting">
    use [SFTP](/portals/game-panel/how-to-connect-via-sftp) to upload this file to your server's `/Zomboid/Server/` directory.
  </Step>

  <Step title="Synchronize Naming">
    Rename the uploaded file to precisely match your server's active identity (e.g., `servertest_SandboxVars.lua`).
  </Step>
</Steps>

***

## Strategic Parameter Registry

Below are the most impactful variables utilized by professional administrators to balance their environments.

| Technical Variable     | Functional Result   | Recommended Calibration                                                   |
| :--------------------- | :------------------ | :------------------------------------------------------------------------ |
| **`XpMultiplier`**     | Progression Speed   | `3.0` to `5.0` for balanced community growth.                             |
| **`ZombieLore.Speed`** | Tactical Difficulty | `1` = Sprinters, `2` = Fast Shamblers, `3` = Shamblers.                   |
| **`LootRespawn`**      | Resource Economy    | Set to `168` (Hours) for weekly replenishment of containers.              |
| **`StatsDecrease`**    | Metabolism          | Reduce to `0.7` to decrease the frequency of character hunger and thirst. |

***

<Note>
  ### Applying Configuration Updates

  Sandbox variables are initialized during the world generation and boot sequence. For modifications to take effect, you must **Restart** your server via the FREAKHOSTING dashboard. Note that certain structural variables (e.g., "Start Month") only apply to entirely new world generations.
</Note>

***

<Note>
  ### Need Extra Help?

  If you encounter any issues, our support team is ready to assist:

  * **Live Chat:** Quick assistance via our website.
  * **Support Ticket:** [Open a Ticket](https://freakhosting.com/clientarea/submitticket.php)
  * **Discord:** [Join our Community](https://discord.gg/freakhosting)
  * **Email:** [support@freakhosting.com](mailto:support@freakhosting.com)
</Note>

<Tip>
  ### Save on Your Hosting

  Ready to get a new server? Use code **KB20** at checkout for **20% off** your first month!
</Tip>

***

<div align="center">
  **Last Updated:** January 2026 | **Project Zomboid:** Sandbox configured.
</div>
