Rice Plugins Rice Plugins
🏡 Home
  • Paid Plugins

    • PlayerGuild
    • RandomShop
    • PlayerAuction
    • CompanionsPlus
    • AfDianPay
    • PlayerTop
  • Partial Paid

    • PlayerTitle
    • PlayerTask
    • PlayerWarp
  • Open Source (Paid)

    • PlayerMenu
    • PlayerChat
    • ip2region
    • PlayerReturn
    • OfflinePapi
  • Free Plugins

    • PlayerIntensify
    • PlayerCurrency
    • DeepSeek
    • MonsterPlus
    • RiceMotd
    • RiceNotice
    • PlayerRace
    • PlayerRewards
    • PlayerFatigue
    • LoginExpansion
    • PlayerSignIn
    • OauthLogin
    • Fair-DanTiao
    • McMmoView
    • ResidenceEnhance
discord (opens new window)
  • 中文 (opens new window)
  • English (opens new window)
🏡 Home
  • Paid Plugins

    • PlayerGuild
    • RandomShop
    • PlayerAuction
    • CompanionsPlus
    • AfDianPay
    • PlayerTop
  • Partial Paid

    • PlayerTitle
    • PlayerTask
    • PlayerWarp
  • Open Source (Paid)

    • PlayerMenu
    • PlayerChat
    • ip2region
    • PlayerReturn
    • OfflinePapi
  • Free Plugins

    • PlayerIntensify
    • PlayerCurrency
    • DeepSeek
    • MonsterPlus
    • RiceMotd
    • RiceNotice
    • PlayerRace
    • PlayerRewards
    • PlayerFatigue
    • LoginExpansion
    • PlayerSignIn
    • OauthLogin
    • Fair-DanTiao
    • McMmoView
    • ResidenceEnhance
discord (opens new window)
  • 中文 (opens new window)
  • English (opens new window)
  • Basic

    • Introduction
    • Commands & Permissions
    • Variable Support
    • Video Showcase
    • Image Gallery
    • FAQ
    • Purchase Notes
    • Update Log
  • Pro

    • Menu Example
    • Command Menu
    • Shop Menu
      • Head Menu
      • Permission Menu
      • CD Menu
      • Variable Menu
      • Purchase Limit Menu
      • Money Menu
      • Cross-Server Menu
      • Open Menu
      • Amount Menu
      • Refresh Menu
      • Priority Menu
      • Delay Menu
      • Input Menu
      • Left-Right Click Menu
    • PlayerMenu
    • Pro
    handy
    2023-09-01
    目录

    Shop Menu

    # How to Sell/Buy Vanilla Items in Menu

    • Main Nodes

    shopType node Shop type sell is selling buy is purchasing
    shopMaterial node Shop selling/buying item material
    shopMoney Money
    shopPoint Points
    shopCurrency Multi-currency price (1.4.2+)

    # shopMoney Example (1.2.0+)

    Requires money plugin Vault (opens new window)

    'sell':
      index: 38
      name: '   &8[&cSell Items for Money&8]'
      material: APPLE
      lore:
        - "&f- &7Click to sell items"
        - "&f- &7Sell 64 apples for 100 money"
      isEnchant: false
      custom-model-data: 0
      # Shop type sell is selling buy is purchasing
      shopType: 'sell'
      # Items to sell Format: material:quantity
      shopMaterial: "APPLE:64"
      # Shop money price
      shopMoney: 100
      commands:
        - '[message] Successfully sold 64 apples for 100 money'
    'buy':
      index: 39
      name: '   &8[&cBuy Items with Money&8]'
      material: APPLE
      lore:
        - "&f- &7Click to buy items"
        - "&f- &7100 money buys 64 apples"
      isEnchant: false
      custom-model-data: 0
      # Shop type sell is selling buy is purchasing
      shopType: 'buy'
      # Items to sell Format: material:quantity
      shopMaterial: "APPLE:64"
      # Shop money price
      shopMoney: 100
    

    # shopPoint Example (1.2.0+)

    Requires points plugin PlayerPoints (opens new window)3.0.0+

    'sell1':
      index: 40
      name: '   &8[&cSell Items for Points&8]'
      material: POTATO
      lore:
        - "&f- &7Click to sell items"
        - "&f- &7Sell 64 potatoes for 100 points"
      isEnchant: false
      custom-model-data: 0
      # Shop type sell is selling buy is purchasing
      shopType: 'sell'
      # Items to sell Format: material:quantity
      shopMaterial: "POTATO:64"
      # Shop points price
      shopPoint: 100
    'buy1':
      index: 41
      name: '   &8[&cBuy Items with Points&8]'
      material: POTATO
      lore:
        - "&f- &7Click to purchase items"
        - "&f- &7100 points buys 64 potatoes"
      isEnchant: false
      custom-model-data: 0
      # Shop type sell is selling buy is purchasing
      shopType: 'buy'
      # Items to sell Format: material:quantity
      shopMaterial: "POTATO:64"
      # Shop points price
      shopPoint: 100
    

    # shopCurrency Example (1.4.2+)

    Requires multi-currency plugin PlayerCurrency (opens new window)1.0.3+

    '42':
      index: 42
      name: '   &8[&cBuy Items with Custom Currency&8]'
      material: POTATO
      lore:
        - "&f- &7100 buys 1 potato"
      isEnchant: false
      custom-model-data: 0
      # Shop type sell is selling buy is purchasing
      shopType: 'buy'
      # Items to sell Format: material:quantity
      shopMaterial: "POTATO:1"
      # Multi-currency price Type: price
      shopCurrency: "money:100"
    '43':
      index: 43
      name: '   &8[&cBuy Items with Custom Currency&8]'
      material: POTATO
      lore:
        - "&f- &7Click to buy potatoes"
      isEnchant: false
      custom-model-data: 0
      # Shop type sell is selling buy is purchasing
      shopType: 'buy'
      input: '[number] Please enter purchase quantity'
      # Items to sell Format: material:quantity
      shopMaterial: "POTATO:${input}"
      # Multi-currency price Type: price
      shopCurrency: "money:${input * 100}"
    
    Command Menu
    Head Menu

    ← Command Menu Head Menu→

    Theme by Vdoing | Copyright © 2020-2025 Rice Plugins - All Rights Reserved
    • 跟随系统
    • 浅色模式
    • 深色模式
    • 阅读模式