# 💳Log Transaction - Premium

Open `config.yml` and find below contents:

```yaml
log-transaction:
  enabled: true
  # If set to empty value, we will just print the log into console.
  file: ''
  format: '{player} | {shop} | {buy-or-sell} | {item-name}x{amount} | {price}'
```

* If you set `file` option to empty, we will just print the log into console. Otherwise, we will log into the file you put here. The file must be a txt file.

## Format available placeholders:

* {player}
* {player-uuid}
* {item} - Product ID
* {item-name} - Product Display Name
* {shop} - Shop ID
* {shop-name} - Shop Display Name
* {buy-or-sell}
* {price}
* {time} - Display the log time
* {multiplier} - The result value of [Sell Multiplier](/shops/sell-multiplier-premium.md).

## Showcase

<figure><img src="/files/nJOpcOGJXCuFzOYIxiNv" alt=""><figcaption></figcaption></figure>


---

# 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://ultimateshop.superiormc.cn/features/log-transaction-premium.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.
