# 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%*
