Placeholders
Placeholder | Description |
---|---|
%zshop_modifier_buy% | Returns the player’s purchase price multiplier in a double value, look PriceModifier. |
%zshop_modifier_buy_percent% | Returns the player’s purchase price multiplier in a percent value, look PriceModifier. |
%zshop_modifier_sell% | Returns the player’s sell price multiplier in a double value, look PriceModifier. |
%zshop_modifier_sell_percent% | Returns the player’s sell price multiplier in a percent value, look PriceModifier. |
%zshop_limiter_time_server_sell_<material>% | Time remaining for the sell limit of a material for the server |
%zshop_limiter_time_server_buy_<material>% | Time remaining for the purchase limit of a material for the server |
%zshop_limiter_time_player_buy_<material>% | Time remaining for the purchase limit of a material for a player |
%zshop_limiter_time_player_sell_<material>% | Time remaining for the sell limit of a material for a player |
%zshop_limiter_date_server_sell_<material>% | Date of next server sell limit reset |
%zshop_limiter_date_server_buy_<material>% | Date of next server purchase limit reset |
%zshop_limiter_date_player_sell_<material>% | Date of next player sell limit reset |
%zshop_limiter_date_player_buy_<material>% | Date of next player purchase limit reset |
For its placeholders you have several options:
You can put nothing, and it will be the cached item that will be used.
Specify the material.
Specify the material and the number.
Placeholder | Description |
---|---|
%zshop_item_max_stack_[<material>]% | Returns the maximum number of items (max Stack Size) |
%zshop_item_sell_price_format_[<material>]_[<amount>]% | Returns the selling price, with the player’s price modifier. |
%zshop_item_buy_price_format_[<material>]_[<amount>]% | Returns the purchase price, with the player’s price modifier. |
%zshop_item_real_sell_price_format_[<material>]_[<amount>]% | Returns the true selling price |
%zshop_item_real_buy_price_format_[<material>]_[<amount>]% | Returns the true purchase price |
Example:
%zshop_item_max_stack%
- Returns the number of the max stack of the cached item for the player.%zshop_item_sell_price_format_GRASS_BLOCK% - Returns the selling price with the player’s price modifiers for x1 GRASS_BLOCK
%zshop_item_sell_price_format_STONE_15% - Returns the selling price with the player’s price modifiers for x15 STONE
Last updated