🥉Display Item Add Lore
General Setting
You can set it at config.yml file.
Default example:
add-lore:
- '@n '
- '@a&ePurchase: {buy-price}'
- '@b&eSell: {sell-price}'
- '@c&#FF7777Player Buy Stock: {buy-times-player}/{buy-limit-player}'
- '@d&#FF7777Server Buy Stock: {buy-times-server}/{buy-limit-server}'
- '@e&#FF7777Player Sell Limit: {sell-times-player}/{sell-limit-player}'
- '@f&#FF7777Server Sell Limit: {sell-times-server}/{sell-limit-server}'
- '@g '
- '@g&#ff3300cCan not buy more!'
- '@g&8Refresh Time: {buy-refresh-player}'
- '@i '
- '@i&#ff3300Sold Out!'
- '@i&8Refresh Time: {buy-refresh-server}'
- '@h '
- '@h&#ff3300Can not sell more!'
- '@h&8Refresh Time: {sell-refresh-player}'
- '@j'
- '@j&#ff3300Can not sell more for server!'
- '@j&8Refresh Time: {sell-refresh-server}'
- '@n '
- '@a@u@y{buy-click}'
- '@b@v@y{sell-click}'
- '@k@q@y&#FFFACDRight-Shift click to pick amount!'
- '@m@v@y&#FFFACDDrop (Q key) to sell all!'
- '(@n)&c&l:( Can not do this'
- '(@a)@u@p&cThis item can not be purchased'
- '(@b)@v@p&cThis item can not be sold'Per Product Setting
You can set different add lore format for different product, add the add-lore arg in the product config. Check shops page product B to find the example.
Prefix - Conditional Symbol
Each line start with @+lower case will be consider as conditional line. We will only display this line when this condition is meet. Starting from version 4.0.0, multiple conditional symbols can be set for each line.
@a - This product has buy price. (Means has buy-prices section)
@b - This product has sell price. (Means has sell-prices section)
@c - This product has player buy limit. (Means has buy-limits.player option)
@d - This product has server buy limit. (Means has buy-limits.global option)
@e - This product has player sell limit. (Means has sell-limits.player option)
@f - This product has server sell limit. (Means has sell-limits.global option)
@g - This product has reached player buy limit.
@h - This product has reached player sell limit.
@i - This product has reached server buy limit.
@j - This product has reached server sell limit.
@k - This product has enabled buy more feature.
@m - This product can use sell all feature.
@n - Buy/sell price (corresponding to the Click type) is valid. For example, buy click type require buy price is valid.
@p - Player is opening buy more menu.
@q - Player is not opening buy more menu.
@x - Player is from bedrock version. Require using Bedrock Menus feature.
@y - Player is not from bedrock version. Require using Bedrock Menus feature.
@u - This button can buy product.
@v - This button can sell product.
Negation
You can reverse the conditional symbol by adding English parentheses before and after it. For example: (@a) represents the reversal of @a. (means this product does not has buy price)
Suffix has been removed in display item add lore from 4.0.0.
New Line Symbol
Use ;; symbol if you want to start a new line, this is very useful for some people want to display price in multi lines.
placeholder:
price:
split-symbol-any: ';;' # <--- Changed this in config.yml
split-symbol-all: ';;' # <--- Changed this in config.yml
unknown: "Unknown"Last updated