> For the complete documentation index, see [llms.txt](https://minecraft.card2k.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minecraft.card2k.com/modules-mo-rong/lich-su-giao-dich.md).

# Lịch sử giao dịch

{% hint style="warning" %}
Lệnh chỉ có admin mới có thể sử dụng !!
{% endhint %}

> Cú pháp: `/card2k lichsu [tùy_chọn_thời_gian] [tùy_chọn_người_chơi]`&#x20;

Bạn có thể dùng một hoặc nhiều tùy chọn cùng lúc.

<table><thead><tr><th width="198">Tham số</th><th width="308">Ý nghĩa</th><th>Ví dụ</th></tr></thead><tbody><tr><td><code>-d &#x3C;ngày</code></td><td>Xem theo <strong>ngày cụ thể</strong> (dd/mm/yyyy)</td><td><code>-d 01/02/2026</code></td></tr><tr><td><code>-m &#x3C;tháng></code></td><td>Xem theo <strong>tháng</strong> (mm/yyyy)</td><td><code>-m 02/2026</code></td></tr><tr><td><code>-y &#x3C;năm></code></td><td>Xem theo <strong>năm</strong></td><td><code>-y 2026</code></td></tr><tr><td><code>-p &#x3C;tên_player></code></td><td>Xem lịch sử của <strong>một người chơi cụ thể</strong></td><td><code>-p test_mc</code></td></tr></tbody></table>

📌 Nếu **không nhập thời gian**, hệ thống có thể mặc định là **toàn bộ thời gian** (tùy cách bạn code).

📌 Nếu **không có `-p`,** hệ thống sẽ tính **tất cả người chơi**.

Ví dụ: xem tổng nạp của tất cả người chơi trong 1 ngày

```yml
/card2k lichsu -d 01/02/2026
```

Ví dụ: xem tổng nạp của 1 người chơi trong 1 ngày

```yml
/card2k lichsu -d 01/02/2026 -p test_mc
```

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://minecraft.card2k.com/modules-mo-rong/lich-su-giao-dich.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.
