UltimateShop Wiki
  • 🎉Welcome
  • 🌏Other Language Wiki
  • 📦Info
    • ✅Requirements
    • ⚙️Install
    • 🔗Compatibility
    • 🛠️Configuration files
    • ⌨️Commands
    • 📊Data
    • 🚀Performance
    • ❓FAQ
    • 🆚Compare
  • 📋Format
    • 🛒Info of ItemFormat™
    • 📝ItemFormat™
    • 💹EconomyFormat™
    • 🖼️Display Item Format
    • 🎬Action Format
    • ⚖️Condition Format
    • ➗Math Calculate Format
  • 🔌Menus
    • 🔲General Menus
    • 🔽Buy More Menus
    • 🛏️Bedrock Menus - Premium
    • 🥉Display Item Add Lore
  • 🛍️Shops
    • 📂Shops
    • 🛒Products
    • 💰Products Config: Single Thing
    • ♻️Product Config: Buy/Sell Times Reset
    • 📚Common Examples
    • 🌱Example: Stock (like in life)
    • 📅Example: Daily Shops
    • 🏆Example: Daily Rewards
  • 📍Placeholders
    • 🔧Built-in Placeholder
    • 🔀Random Placeholder - Premium
    • ⛓️Conditional Placeholder - Premium
    • 🔖Example: Discount
  • 💰Dynamic Prices
    • 🔄Dynamic Price
    • 🔴Dynamic Price Status - Premium
  • ✨Features
    • 🎨Color Code
    • 💴Easy Prices
    • 🪄Sell Stick - Premium
    • 💾Saved Item
    • 🌍Localized Item Name - Premium
    • 🌐Multi Server Sync - Premium
    • 🔢Number Format
    • ✏️In-game Editor - Premium
    • 🎮Custom Click Event - Premium
    • 🔍Custom Item Match Method
    • 🔑Give Item Method
    • 💳Log Transaction - Premium
  • 💻Develop
    • Develop Guide
    • Events
    • Hook into UltimateShop
    • Can't do things
Powered by GitBook
On this page
  • General Setting
  • Per Product Setting
  • Prefix - Conditional Symbol
  • Suffix
  • New Line Symbol
  1. 🔌Menus

🥉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{buy-click}'
    - '@b{sell-click}'
    - '@k&#FFFACDRight-Shift click to pick amount!'
    - '@b&#FFFACDDrop (Q key) to sell all!'

Per Product Setting

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.

@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 - Similar to @c, but it's sell.

@f - Similar to @d, but it's sell.

@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 - Player is not opening buy more menu and this product has enabled buy more feature.

@l - This product is in buying cooldown.

@m - This product is in selling cooldown.

@n - Buy/sell price (corresponding to the Click type) is valid. For example, buy click type require buy price is valid.

Suffix

-b - This line will only display for Java players.

-m - This line will only display in buy more menu.

-i - The condition symbol in this line will work as negation.

If you want to use multi suffix, you need follow those order: -i-m-b.

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"
Previous🛏️Bedrock Menus - PremiumNext📂Shops

Last updated 4 months ago

You can set different add lore format for different product, add the add-lore arg in the product config. Check page product B to find the example.

shops