# Change gas price

There are two ways to change the price of gas.

***

## For state-owned gas stations (Players cannot buy these stations)

To change the price for state-owned gas stations, go to `rcore_fuel/config/shop_config.lua`.\
For each gas station where you want to change the fuel price, edit these values:

![](https://rco.re/docs/fuel/gas_price_config.png)

After making the changes, restart the script to apply the new fuel prices in the game.

***

## For stations that can be owned by players (Even if nobody owns them yet)

Go to the gas station in the game where you want to change the gas price. Use the command `/fuelcompanydebug` in game and this will display information about the gas station you are standing at.

![](https://rco.re/docs/fuel/station_gas_debug.png)

Once you know which gas station you are dealing with, use the following server command in your live console:\
`SetGasPrice`

![](https://rco.re/docs/fuel/gas_command_price.png)

For example, by entering the command `SetGasPrice fuel_pump24 1 999`, you change the gas price to $999.

![](https://rco.re/docs/fuel/gas_finished_command.png)

The new price takes effect immediately in the game.

**Before:**

![](https://rco.re/docs/fuel/gas_price_before.png)

**After:**

![](https://rco.re/docs/fuel/gas_price_after.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.rcore.cz/paid-resources/rcore_fuel/config/change_gas_price.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
