-
Notifications
You must be signed in to change notification settings - Fork 0
PlaceholderAPI
joogiebear edited this page Jul 15, 2026
·
1 revision
If PlaceholderAPI is installed, RoyalBazaar registers an expansion so live prices are usable anywhere placeholders are — holograms, scoreboards, chat plugins, other menus.
The expansion registers automatically on startup; no /papi ecloud download is needed (it ships inside RoyalBazaar).
%royalbazaar_<type>_<itemId>%
<type> |
Returns |
|---|---|
buy |
The current buy price of the item (what a player pays) |
sell |
The current sell price of the item (what a player receives) |
mid |
The item's mid price (fair value between buy and sell) |
<itemId> is the item's id, keeping its namespace for custom items.
%royalbazaar_buy_wheat%
%royalbazaar_sell_wheat%
%royalbazaar_mid_wheat%
%royalbazaar_buy_ecoitem:enchanted_cobblestone%
Prices are formatted through Vault, so they match your economy's currency formatting.
- An unknown item id returns an empty string (not an error), so a placeholder for an item you later remove just goes blank.
- Prices are the live in-memory values — they update as players trade and as the market reverts, exactly like the product menu shows.
- See the Pricing Model for what buy / sell / mid actually mean.
RoyalBazaar · part of the eco suite (RoyalBank · RoyalAuctions · EconGuard) · Source on GitHub
Getting started
Using it
Help