Lorenzo0111's Plugins
Discord
Lorenzo0111's Plugins
Lorenzo0111's Plugins
  • Home
  • RocketJoin
    • Starting
    • Configure
    • Conditions
      • Permission
      • First Join
    • Join Commands
    • Bungeecord
  • RocketPlaceholders
    • Starting
    • Configure
      • Custom Conditions
        • JavaScript Condition
        • Money Condition
        • Item Condition
        • Permission Condition
        • Group Condition
      • Custom Permissions
    • MySQL
      • MySQL F.A.Q
    • API
    • Dev Builds
  • MultiLang
    • Starting
    • Configuration
    • Translating
    • Messages
    • Gui
    • RealTime
Powered by GitBook
On this page
  • Material
  • [Optional] Name
  • [Optional] Lore
  • [Optional] Colors

Was this helpful?

Edit on GitHub
Export as PDF
  1. RocketPlaceholders
  2. Configure
  3. Custom Conditions

Item Condition

PreviousMoney ConditionNextPermission Condition

Last updated 3 years ago

Was this helpful?

With this condition you can check if the player has an item in his inventory.

Set the type to .

Now you have some options to set.

Material

Material of the item. You can view a list .

[Optional] Name

Name of the item.

[Optional] Lore

Lore of the item as string list. Example:

lore:
    - "First line"
    - "Second line"

[Optional] Colors

If set to true color codes like &a are translated and they are coloured.

Default: false

Here is a full example:

conditions:
    itemExample:
        type: ITEM
        material: STONE
        name: "&cExample"
        lore:
            - "&aExample line"
        colors: true
        text: "Example condition text"

ITEM
here