# Usage

## Player Flow

{% stepper %}
{% step %}

### Open Stand

Open Stand at a placed location (via `ox_target`).
{% endstep %}

{% step %}

### Buy if Unowned

If **Unowned** → buy the stand (requires `Config.ShopPrice` cash).
{% endstep %}

{% step %}

### Owner — Manage

If **Owner** → use the **Manage** tab to:

* Add items from your inventory to stand stock
* Set **price** and **quantity**
* **Withdraw** stand balance
* **Sell** the stand back to the city
  {% endstep %}

{% step %}

### Anyone — Shop

Any player can use the **Shop** tab to purchase available items (cash).
{% endstep %}

{% step %}

### Persistence

Stock and balance update immediately; all changes are saved to `standovi.json`.
{% endstep %}
{% endstepper %}

## Owner Tips

{% hint style="info" %}

* Keep prices reasonable; there’s no global tax in this version.
* Withdraw often to avoid leaving large balances in the stand.
* Use blacklist and weapon blocking to keep your market clean.
  {% endhint %}

## Admin Tips

{% hint style="warning" %}

* To wipe or migrate data, back up and edit `standovi/standovi.json` while the server is stopped.
* Stands are defined in `config.lua` (`Config.Stands`); restart after changes.
* If you remove a stand from the config, consider clearing it from JSON too.
  {% endhint %}

## Localization

{% hint style="info" %}
Change `Config.Locale` to `hr` for Croatian or add your own in `locales/`.
{% endhint %}
