PlayerInv
  • 💎Plugin Docs
  • ⚙️Installation
    • NOTES (Using v1.3)
  • 📔Configurations
    • Config.yml
    • Vault Menu
      • Main.yml
      • vault_page_2.yml
      • vault_page_3.yml
    • Check Vault Menu
      • Main.yml
      • check_vault_page_2.yml
      • check_vault_page_3.yml
    • Locale
      • zh-CN.yml
      • en-US.yml
  • 🏴󠁧󠁢󠁳󠁣󠁴󠁿Commands & Permissions
  • 🗃️NOTES for updating new versions
Powered by GitBook
On this page
  1. Configurations
  2. Vault Menu

Main.yml

   As the open first menu, the main menu file cannot be deleted 
   and the file name cannot be modified. 
   Reloading after deletion will result in an error!
######################################################
###
### As the Main menu of plugin, this menu cannot delete and alter the file name
### vault_items is the important vault display, vault_set is the important vault set with slots
### vault_items's information cannot delete, it will send error
### you can change material, amount, lore or display-name even custom-model-data
### items's column can customize any items but cannot add command currently
### menu_title and size are must exist!
### you can add some new menu file in vault_menu folder, if you need open that menu
### just add open-menu: (file-name) with a item to open new menu.
###
### menu has two language: Chinese-Simplified and English
### if you just reload, it cannot change menu language.
### if you need another language file, please change the plugin config
### and delete two menu folder(vault_menu and check_menu) to summon new menu file.
### custom-model-data only support upper version 1.14
### if you need item-id lower 1.13 version, add item-subid: [num] to items
###
### If the server is 1.12 and a custom head needs to be used
### Please set material to SKULL_ITEM
### And add [item-subid: 3] to ensure the use of Steve's head
### And add head-textures: Base64Code..
######################################################
menu_title: 'Vault main GUI'
size: 36
//set the vault display when locked and unlocked
vault_items:
  //Display when a large warehouse is not unlocked 
  //(header label large-sizelocked cannot be modified)
  large_locked:
    //When using a custom head, the material needs to be modified to PLAYER_HEAD
    //PLAYER-HEAD is only used for versions 1.13 and above
    //Below version 1.12, it needs to be changed to SKULL_ITEM
    material: PLAYER_HEAD
    //No need to add item subid for versions 1.13 and above
    //Below 1.12 requires the addition of the following item-subid when using custom skulls
    item-subid: 3
    head-textures: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6....
    amount: 1
    enchant-glow: false
    display-name: '&6Large Vault [ &a%vault_num% &6]'
    lore:
      - '&e- &fItems and weapons can be stored'
      - '&e- &fVault sizes: &a54'
      - ''
      - '&e- &cLocked'
    custom-model-data: '0'
  //Display when a large warehouse is not unlocked 
  //(header label large-sizelocked cannot be modified)
  large_unlocked:
    material: WHITE_SHULKER_BOX
    amount: 1
    enchant-glow: false
    display-name: '&6Large Vault [ &a%vault_num% &6]'
    lore:
      - '&e- &fItems and weapons can be stored'
      - '&e- &fVault sizes: &a54'
      - ''
      - '&e- &aUnlocked'
  //Display when a large warehouse is not unlocked 
  //(header label large-sizelocked cannot be modified)
  medium_locked:
    material: ENDER_CHEST
    amount: 1
    enchant-glow: false
    display-name: '&dMedium Vault [ &a%vault_num% &6]'
    lore:
      - '&e- &fItems and weapons can be stored'
      - '&e- &fVault sizes: &a27'
      - ''
      - '&e- &cLocked'
  //Display when a large warehouse is not unlocked 
  //(header label large-sizelocked cannot be modified)
  medium_unlocked:
    material: CHEST
    amount: 1
    enchant-glow: false
    display-name: '&dMedium Vault [ &a%vault_num% &d]'
    lore:
      - '&e- &fItems and weapons can be stored'
      - '&e- &fVault sizes: &a27'
      - ''
      - '&e- &aUnlocked'
  large_vault_set: #Slot : Vault_number ,must have ' ' to warp, if not, it will not enable
    - '3:1'
    - '4:2'
    - '5:3'
    - '6:4'
    - '7:5'
    - '12:6'
    - '13:7'
    - '14:8'
    - '15:9'
    - '16:10'
  medium_vault_set: #Slot : Vault_number must have ' ' to warp, if not, it will not enable
    - '21:1'
    - '22:2'
    - '23:3'
    - '24:4'
    - '25:5'
    - '30:6'
    - '31:7'
    - '32:8'
    - '33:9'
    - '34:10'
//Custom display items
items:
  glass_1:
    material: WHITE_STAINED_GLASS_PANE
    amount: 1
    enchant-glow: false
    slot: 1
    display-name: '&fPlayerinv'
    custom-model-data: '0'
    lore:
      - '&e- &cDecoration'
  glass_2:
    material: WHITE_STAINED_GLASS_PANE
    amount: 1
    enchant-glow: false
    slot: 10
    display-name: '&fPlayerinv'
    lore:
      - '&e- &cDecoration'
  glass_3:
    material: WHITE_STAINED_GLASS_PANE
    amount: 1
    enchant-glow: false
    slot: 19
    display-name: '&fPlayerinv'
    lore:
      - '&e- &cDecoration'
  glass_4:
    material: RED_STAINED_GLASS_PANE
    amount: 1
    enchant-glow: false
    slot: 28
    display-name: '&cClose menu'
    close-menu: true
  glass_5:
    material: WHITE_STAINED_GLASS_PANE
    amount: 1
    enchant-glow: false
    slot: 9
    display-name: '&fPlayerinv'
    custom-model-data: '0'
    lore:
      - '&e- &cDecoration'
  glass_6:
    material: WHITE_STAINED_GLASS_PANE
    amount: 1
    enchant-glow: false
    slot: 18
    display-name: '&fPlayerinv'
    lore:
      - '&e- &cDecoration'
  glass_7:
    material: WHITE_STAINED_GLASS_PANE
    amount: 1
    enchant-glow: false
    slot: 27
    display-name: '&fPlayerinv'
    lore:
      - '&e- &cDecoration'
  glass_8:
    material: LIME_STAINED_GLASS_PANE
    amount: 1
    enchant-glow: false
    slot: 36
    display-name: '&aNext page'
    //Use the file name
    open-menu: vault_page_2
PreviousVault MenuNextvault_page_2.yml

Last updated 1 year ago

📔