Mods
  • Home
  • Advanced Holograms
    • Download
    • Config
    • Placeholders
    • Commands & Permissions
  • BetterDexRewards
    • Download
    • Config
    • Placeholders
    • Commands & Permissions
  • BetterPokeBroadcaster
    • Download
    • Config
    • Placeholders
    • Broadcast Types
  • Chest Shop
  • Envy AntiLag
    • Download
    • Config
  • EnvyBattleTower
    • Download
    • Config
    • Commands & Permissions
  • EnvyCrates
    • Download
    • Default Crate
    • Example Crate with Sprites
    • Commands & Permissions
  • EnvyDayCare
    • Download
    • Config
  • EnvyGTS
    • Download
    • Config
    • Placeholders
    • Webhooks
    • Commands & Permissions
  • EnvySpecs
    • Debug Spec
    • Generation Spec
    • Boss Spec
  • EnvyHunt
    • Download
    • Config
    • GUI
    • Placeholders
    • Commands & Permissions
  • EnvySTS
    • Download
    • Config
    • Placeholders
    • Commands & Permissions
  • Envy Specs
    • Download
    • Specs
  • EnvySafari
    • Download
    • Config
    • Commands & Permissions
  • EnvyVaults
    • Download
    • Config
    • GUI
    • Commands & Permissions
  • ForgeEconomies
    • Download
    • Config
  • ForgeMenus
    • Download
    • Example Menu
    • Requirements
    • Commands & Permissions
  • ForgePlaceholderAPI (FPAPI)
    • Download
    • Installation
    • Custom Placeholders
    • Commands & Permissions
  • Forge TAB
    • Config
    • Commands & Permissions
  • Pixelmon Overlays
    • Download
    • Config
    • Developer
    • Commands & Permissions
  • PokeRemoval
    • Download
    • Config
    • Commands & Permissions
  • PokeTracker
    • Download
    • Config
    • Commands & Permissions
  • ReforgedBingo
    • Download
    • Config
    • Commands & Permissions
  • UltimatePokeBuilder
    • Download
    • Config
    • GUI
    • Placeholders
    • Commands & Permissions
  • WonderTrade
    • Download
    • Config
    • GUI
    • Locale
    • Commands & Permissions
    • Webhooks
    • Placeholders
Powered by GitBook
On this page
  1. ForgeMenus

Requirements

You can add different types of requirements using the following format:

    items:
        one:
            positionX: 0
            positionY: 0
            type: 'playerhead'
            damage: 3
            amount: 1
            name: ''
            lore: []
            nbt:
                one:
                    type: String
                    key: 'UIText'
                    value: 'Example Text'
                two:
                    type: String
                    key: 'UIHoverText'
                    value: 'Example value'
            commands: ['%close%']
            requirements:
                one:
                    type: 'code'
                    code: "'%forge_name%' == 'Envyful'"
                two:
                    type: 'itemstack_in_inventory'
                    item_type: 'minecraft:stone'
                    amount: 1
                    name: 'Test'
                    damage: 0
                    lore: []
                three:
                    type: 'itemstack_in_slot'
                    slot: 1
                    item_type: 'minecraft:stone'
                    amount: 1
                    name: 'Test'
                    damage: 0
                    lore: []
                four:
                    type: 'permission'
                    permission: 'hello'
            else:
              positionX: 0
              positionY: 0
              type: 3
              amount: 1
              name: 'Item name&c!'
              lore: [§bLore line 1!, §bLore line 3!]
              commands: ['console:bc test', 'console:ban Test!']

PreviousExample MenuNextCommands & Permissions

Last updated 2 years ago