Placeholders
With PlaceholderAPI installed, dRotatingShop registers the drotatingshop expansion. Use it anywhere PAPI is supported β scoreboards, tab, chat, holograms.
| Placeholder | Returns |
|---|---|
%drotatingshop_next_rotation% |
Time until the next rotation, formatted compactly β e.g. 1h 5m 3s. |
%drotatingshop_open% |
true while the market is open, false while closed. (Always true when open-duration is 0.) |
%drotatingshop_next_open% |
Countdown to the next opening β 0s while already open. |
Example
Section titled βExampleβMarket: %drotatingshop_open%Next refresh: %drotatingshop_next_rotation%Opens in: %drotatingshop_next_open%renders as e.g.:
Market: trueNext refresh: 1h 5m 3sOpens in: 0sThe expansion is only registered when PlaceholderAPI is present at startup; it is a soft dependency, so dRotatingShop runs fine without it.
%drotatingshop_next_rotation%is also the value shown on the countdown clock in the shop menu.