# Placeholders

**Valid Time Frames**

These are used to lookup statistics between the current date and x amount of time prior.

* s (seconds)
* m (minutes)
* h (hours)
* d (days)
* w (weeks)

**Valid Statistic Options**

* createdauctions
* createdbin
* soldauctions
* soldbin
* moneyspent
* moneyearned

**Placeholder List**

**All** placeholders are prefixed with auctionhouse *and start and end with %. Example: %auctionhouse\_test%*

* active\_auctions (Gets the total listings a player currently has active)
* expired\_auctions (Gets total expired listings a player has)
* server\_active\_auctions (Gets the total listing count for the entire server)

For the following placeholders **gstat** refers to global statistics, while **pstat** refers to player statistics.

* gstat\_\<valid statistic option> (to get the lifetime total)
* gstat\_*\<valid statistic option>\_\<duration>\<valid time frame/unit>* (to get the statistic for x duration in the past until the current date).&#x20;
* pstat\_*\<valid statistic option>*\_\<player name>  (to get the lifetime total)
* pstat\_*\<valid statistic option>*\_\<player name>*\_\<duration>\<valid time frame/unit>* (to get the statistic for x duration in the past until the current date).&#x20;

Examples:&#x20;

* *%auctionhouse*\_*gstat\_createdauctions%*&#x20;
* *%auctionhouse*\_*gstat\_createdauctions\_3d%*&#x20;
* *%auctionhouse*\_p*stat\_moneyearned\_itsmekiran%*&#x20;
* *%auctionhouse*\_p*stat\_moneyearned\_itsmekiran\_1w%*


---

# 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://docs.tweetzy.ca/official-plugins/auction-house/placeholders.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.
