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
  • Types
  • Configs
  1. 🔌Menus

🔲General Menus

Previous➗Math Calculate FormatNext🔽Buy More Menus

Last updated 8 days ago

All menu files are saved in /menus/ folder.

Types

There are 3 types of menus.

  • Common Menus: Just like other menu plugins doing. You can use them open other shop menus.

  • Shop Menus: Shop menus will display products in specified shop in it. Each shop config has a menu option to set their corresponding shop menu. The shop menu has all features of a common menu. Multiple shops can share the same shop menu, so when you open these stores, the layout of the menu will be the same.

  • Buy More Menus: Can select amount of you will buy or sell. This type of menus have more settings, please view page to know more. Buy more menu can only open from shop menus with selecting a product, it can not be directly opened.

Configs

  • title: Menu title, for shop menu type, support {shop-name} to display shop displayname which set in it's config.

  • size: Menu size, only support one of the number: 9,18,27,36,45,54.

  • layout: Button layout, this is a list option, list row must equals size/9, each line lengh must equals 9. Each character here corresponds to one slot in Minecraft, and 54 characters correspond to 54 slots.

  • buttons: Button configs, button ID must be a single char, and use it in layout option to set where this button display in menu.

  • conditions: Only players who meet the conditions can open this menu, use here.

  • open-actions: Do action when open this menu, use here.

  • close-actions: Do action when close this menu, use here. Please carefully note that when you have already opened a menu, if you open other menus through actions or other means, it will also trigger close actions.

  • bedrock: Please view page to know about it.

  • custom-command: Custom Command settings for common menu, if you want to set custom command for shop menu, please add them at config. (PREMIUM)

Example:

title: 'Shop'

size: 54

bedrock:
  enabled: true
  content: '&fWelcome to shop.'
  
custom-command:
  name: 'mineral'
  description: 'Custom Words'

conditions: []
  
open-actions:
  1:
    type: sound
    sound: 'ui.button.click' 

close-actions:
  1:
    type: sound
    sound: 'ui.button.click' 

layout:
  - '000000000'
  - '000000000'
  - '0000A0000'
  - '000000000'
  - '000000000'
  - '000000000'

buttons:
  A:
    display-item:
      material: BREAD
      name: '&dFoods'
      lore:
        - '&7Click to open food shop!'
    actions:
      1:
        type: shop_menu
        menu: 'example'

For each button, we have those options:

display-item: The display item of this button, should use .

actions: The action will executed after we click this button. Use here.

fail-actions: The action will executed if we don't meet the condition of this button. Use here.

conditions: The condition of this button, if player don't meet this condition, then we will execute the fail-action. Use here.

Buy More Menus
Condition Format
Action Format
Action Format
Bedrock M
enu
Shops
Display Item Format
Action Forma
t
Action Forma
t
Condition Format