TrMenu
PurchaseGithubLicense
English
English
  • Home
  • Start
    • Install
    • Setup
  • Migrate
  • MENU
    • Structure
      • Title
      • Layout
      • Options
      • Bindings
      • Events
      • Buttons
      • Built-in Scripts
      • Tasks
    • Icons
      • Update
      • Refresh
      • Display
        • Material
        • Name
        • Lore
        • Amount
        • Glow
        • Flags
        • NBT
      • Actions
      • Priority
      • Condition
      • Inherit
  • ACTIONS
    • Types
      • Command (as Player)
      • Command (as OP)
      • Command (as CONSOLE)
      • Player's chat
      • Message
      • Tellraw
      • ActionBar
      • Title/SubTitle
      • Sound
      • Bungee Server
      • JavaScript
      • Input Catcher
        • Re-Enter
      • Useful
        • Delay
        • Break
      • Items
        • Take-Items
        • Give-Item
        • Enchant-Item
        • Repair-Item
      • Economy
        • Give-Money
        • Take-Money
        • Set-Money
        • Give-Points
        • Take-Points
        • Set-Points
      • Menu
        • Close
        • Close (Silent)
        • Open
        • Page
        • Set-Args
        • Set-Title
        • Refresh
      • Datas
        • Set-Meta
        • Rem-Meta
        • Set-Data
        • Rem-Data
    • Options
      • Delay
      • Condition
      • Chance
      • All Players
    • Action
  • SCRIPT
    • Expressions
      • stringEquals
      • stringEqualsIgnoreCase
      • isNumber
      • isOperator
      • isPlayerOperator
      • hasPermission
      • hasLevel
      • hasMoney
      • hasPoints
      • hasItem
    • Scripts
  • FUNCTIONS
    • Arguments
    • Item Identifiers
    • Script Placeholder
    • Register Commands
    • Shortcuts
    • Commands
  • HOOK
    • PlaceholderAPI
    • Cronus
    • Vault
    • PlayerPoints
    • HeadDatabase
    • Oraxen
    • SkinsRestorer
  • API
    • TrMenuAPI
    • Events
      • MenuOpenEvent
      • MenuCloseEvent
      • MenuClickEvent
    • MenuFactory
Powered by GitBook
On this page
  • Usage
  • Examples
  • Conditions
  • Tips

Was this helpful?

  1. MENU
  2. Icons
  3. Display

Lore

Lore of the item

Usage

(display)?(-)?lore(s)?

Examples

# Multiples groups of lore lines -> Dynamic effect
lore:
  - - ' '
    - '&7Thanks &f:> &7for using!'
  - - ' '
    - '&7Thanks &f:) &7for using!'

# Simple static lore lines
lore:
  - 'Hello There'
  - 'Hello TrMenu!'

Conditions

Conditions are checked each time the lore is updated, which may impact performances

lore:
  - 'Line 1'
  - 'Line 2'
  # Displays the line if the player has the permission `vip.user`
  - 'You are a VIP User<condition: hasPerm.vip.user>'
  - 'Line 3'

Tips

  • The lore supports \n for line breaks (works with placeholders too)

  • The default color of lore lines can be configured in the setting.yml file

PreviousNameNextAmount

Last updated 4 years ago

Was this helpful?