AlphaOrderDocs v2.0.0
AlphaOrderReferencePlaceholders

Placeholders

Show order data on scoreboards and in other plugins.

On this page

Placeholders need PlaceholderAPI. The identifier is alphaorder, so every placeholder looks like %alphaorder_<name>%.

Server

PlaceholderReturns
%alphaorder_orders_total%How many orders exist.

One order

PlaceholderReturns
%alphaorder_order_<id>_material%The ordered item.
%alphaorder_order_<id>_amount%The ordered amount.
%alphaorder_order_<id>_price%The price per item.
%alphaorder_order_<id>_buyer%The player who posted it.
%alphaorder_order_<id>_status%The order status.
%alphaorder_order_<id>_createDate%When it was posted.
%alphaorder_order_<id>_expirationDate%When it expires.

Player statistics

These work for the player viewing them, or for a named player with %alphaorder_player_<name>_<stat>%.

StatReturns
totalOrdersOrders the player has posted.
totalEarningsMoney earned by filling orders.
totalDeliveredItems the player delivered to others.
totalCollectedItems delivered to the player orders.
currentOrderCurrent order count.
activeOrderActive order count.
availableleftOrderHow many more orders the player may post.
limitOrderThe player order limit.

For example, %alphaorder_player_totalEarnings% and %alphaorder_player_Steve_totalOrders%.