Project Zomboid servers can modify fuel availability by adjusting various settings related to gas station pumps. Users can set the pumps to have infinite fuel, a higher minimum amount, or fewer chances to be empty. This can allow players to use vehicles much more often and power generators, providing a much more convenient way to obtain fuel. These settings can also be adjusted to make fuel scarcer, forcing players to travel on foot and find other means to traverse the map.
How to Change the Gas Pump Settings on a Project Zomboid Server (Panel)
1. Log in to the BisectHosting Starbase panel.
2. Stop the server.
3. Go to the Files tab.
4. Find the following directory: /home/container/.cache/server
5. Open the [SaveName]_SandboxVars.lua file.
6. Navigate to the FuelStationGasInfinite line, and adjust any of the settings listed below.
| Setting | Description |
|---|---|
FuelStationGasInfinite = [true/false] | If set to true, gas pumps will never run out of fuel. |
FuelStationGasMin = [0-1] | The minimum amount of gasoline that can spawn in gas pumps. Min: 0.00 Max: 1.00 |
FuelStationGasMax = [0-1] | The maximum amount of gasoline that can spawn in gas pumps. Min: 0.00 Max: 1.00 |
FuelStationGasEmptyChance = [0-100] | The chance, as a percentage, that individual gas pumps will initially have no fuel. Min: 0 Max: 100 |
7. Press the Save button.
8. Start the server.
How to Change the Gas Pump Settings on a Project Zomboid Server (Admin Menu)
1. Join the server as an admin.
2. Click the Admin icon.
3. Select Sandbox Options.
4. Open the World menu.
5. Adjust the Fuel Station settings as desired. Descriptions for each setting can be found below.
| Setting | Description |
|---|---|
| Infinite Gas Pumps | If enabled, gas pumps will never run out of fuel. |
| Initial Minimum Gas Pump Amount | The minimum amount of gasoline that can spawn in gas pumps. Min: 0.00 Max: 1.00 |
| Initial Maximum Gas Pump Amount | The maximum amount of gasoline that can spawn in gas pumps. Min: 0.00 Max: 1.00 |
| Initial Gas Pump Empty Chance | The chance, as a percentage, that individual gas pumps will initially have no fuel. Min: 0 Max: 100 |
6. Click Apply Changes.